public class ExtendedDnControl extends AbstractControl implements RequestControl
extendedDnValue ::= SEQUENCE { flag INTEGER }
See http://msdn.microsoft.com/en-us/library/cc223349.aspx
Modifier and Type | Class and Description |
---|---|
static class |
ExtendedDnControl.Flag
Types of flags.
|
Modifier and Type | Field and Description |
---|---|
private ExtendedDnControl.Flag |
flag
flag.
|
private static int |
HASH_CODE_SEED
hash code seed.
|
static String |
OID
OID of this control.
|
logger
Constructor and Description |
---|
ExtendedDnControl()
Default constructor.
|
ExtendedDnControl(ExtendedDnControl.Flag f)
Creates a new extended dn control.
|
ExtendedDnControl(ExtendedDnControl.Flag f,
boolean critical)
Creates a new extended dn control.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
encode()
Provides the BER encoding of this control.
|
boolean |
equals(Object o) |
ExtendedDnControl.Flag |
getFlag()
Returns the flag.
|
int |
hashCode()
Returns the hash code for this object.
|
void |
setFlag(ExtendedDnControl.Flag f)
Sets the flag.
|
String |
toString() |
getCriticality, getOID
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getCriticality, getOID
public static final String OID
private static final int HASH_CODE_SEED
private ExtendedDnControl.Flag flag
public ExtendedDnControl()
public ExtendedDnControl(ExtendedDnControl.Flag f)
f
- flagpublic ExtendedDnControl(ExtendedDnControl.Flag f, boolean critical)
f
- flagcritical
- whether this control is criticalpublic ExtendedDnControl.Flag getFlag()
public void setFlag(ExtendedDnControl.Flag f)
f
- flagpublic boolean equals(Object o)
equals
in class AbstractControl
public int hashCode()
AbstractControl
hashCode
in class AbstractControl
public byte[] encode()
RequestControl
encode
in interface RequestControl
Copyright © 2003-2019 Virginia Tech. All Rights Reserved.