public class AuthorizationData extends org.apache.directory.shared.asn1.AbstractAsn1Object implements Encodable
| Constructor and Description |
|---|
AuthorizationData()
Creates a new instance of AuthorizationData.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(AuthorizationData data)
Adds all
AuthorizationData entries to this AuthorizationData. |
void |
add(AuthorizationDataEntry entry)
Adds an
AuthorizationDataEntry to this AuthorizationData. |
int |
computeLength()
Compute the AuthorizationData length
AuthorizationData :
0x30 L1 AuthorizationData
|
+--> 0x30 L2 AuthorizationDataEntry
|
+--> 0x30 L2 AuthorizationDataEntry
|
...
|
ByteBuffer |
encode(ByteBuffer buffer)
Encode the AuthorizationData message to a PDU.
|
List<AuthorizationDataEntry> |
getEntries() |
String |
toString() |
String |
toString(String tabs) |
public AuthorizationData()
public void add(AuthorizationData data)
AuthorizationData entries to this AuthorizationData.data - public void add(AuthorizationDataEntry entry)
AuthorizationDataEntry to this AuthorizationData.entry - public List<AuthorizationDataEntry> getEntries()
public int computeLength()
computeLength in interface org.apache.directory.shared.asn1.Asn1ObjectcomputeLength in class org.apache.directory.shared.asn1.AbstractAsn1Objectpublic ByteBuffer encode(ByteBuffer buffer) throws org.apache.directory.shared.asn1.codec.EncoderException
encode in interface org.apache.directory.shared.asn1.Asn1Objectencode in class org.apache.directory.shared.asn1.AbstractAsn1Objectbuffer - The buffer where to put the PDU. It should have been allocated
before, with the right size.org.apache.directory.shared.asn1.codec.EncoderExceptionpublic String toString()
toString in class ObjectObject.toString()public String toString(String tabs)
Object.toString()Copyright © 2003-2012 Apache Software Foundation. All Rights Reserved.