public class AuthorizationIdentityResponseControl extends AbstractControl implements ResponseControl
Modifier and Type | Field and Description |
---|---|
private String |
authorizationId
Authorization identity.
|
private static int |
HASH_CODE_SEED
hash code seed.
|
static String |
OID
OID of this control.
|
logger
Constructor and Description |
---|
AuthorizationIdentityResponseControl()
Default constructor.
|
AuthorizationIdentityResponseControl(boolean critical)
Creates a new authorization identity response control.
|
AuthorizationIdentityResponseControl(String id)
Creates a new authorization identity response control.
|
AuthorizationIdentityResponseControl(String id,
boolean critical)
Creates a new authorization identity response control.
|
Modifier and Type | Method and Description |
---|---|
void |
decode(byte[] berValue)
Initializes this response control with the supplied BER encoded data.
|
boolean |
equals(Object o) |
String |
getAuthorizationId()
Returns the authorization id.
|
int |
hashCode()
Returns the hash code for this object.
|
void |
setAuthorizationId(String id)
Sets the authorization identity.
|
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 authorizationId
public AuthorizationIdentityResponseControl()
public AuthorizationIdentityResponseControl(boolean critical)
critical
- whether this control is criticalpublic AuthorizationIdentityResponseControl(String id)
id
- authorization idpublic AuthorizationIdentityResponseControl(String id, boolean critical)
id
- authorization idcritical
- whether this control is criticalpublic String getAuthorizationId()
public void setAuthorizationId(String id)
id
- authorization idpublic boolean equals(Object o)
equals
in class AbstractControl
public int hashCode()
AbstractControl
hashCode
in class AbstractControl
public void decode(byte[] berValue)
ResponseControl
decode
in interface ResponseControl
berValue
- BER encoded response controlCopyright © 2003-2019 Virginia Tech. All Rights Reserved.