public class VerifyNameControl extends AbstractControl implements RequestControl
verifyNameValue ::= SEQUENCE { Flags INTEGER ServerName OCTET STRING }
See http://msdn.microsoft.com/en-us/library/cc223328.aspx
Modifier and Type | Field and Description |
---|---|
private static int |
HASH_CODE_SEED
hash code seed.
|
static String |
OID
OID of this control.
|
private String |
serverName
Global catalog server to contact.
|
logger
Constructor and Description |
---|
VerifyNameControl()
Default constructor.
|
VerifyNameControl(String name)
Creates a new verify name control.
|
VerifyNameControl(String name,
boolean critical)
Creates a new verify name control.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
encode()
Provides the BER encoding of this control.
|
boolean |
equals(Object o) |
String |
getServerName()
Returns the server name.
|
int |
hashCode()
Returns the hash code for this object.
|
void |
setServerName(String name)
Sets the server name.
|
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 String serverName
public VerifyNameControl()
public VerifyNameControl(String name)
name
- server namepublic VerifyNameControl(String name, boolean critical)
name
- server namecritical
- whether this control is criticalpublic String getServerName()
public void setServerName(String name)
name
- server namepublic 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.