public class AuthorizationDataDecoder extends Object implements Decoder, DecoderFactory
| Constructor and Description |
|---|
AuthorizationDataDecoder() |
| Modifier and Type | Method and Description |
|---|---|
Encodable |
decode(byte[] encodedAuthData)
Decodes the byte array into an
Encodable object. |
protected static AuthorizationDataEntry |
decodeAuthorizationEntry(org.apache.directory.shared.asn1.der.DERSequence sequence) |
protected static AuthorizationData |
decodeSequence(org.apache.directory.shared.asn1.der.DERSequence sequence)
AuthorizationData ::= SEQUENCE OF SEQUENCE {
ad-type[0] INTEGER,
ad-data[1] OCTET STRING
}
|
Decoder |
getDecoder()
Returns the
Decoder. |
public Decoder getDecoder()
DecoderFactoryDecoder.getDecoder in interface DecoderFactoryDecoder.public Encodable decode(byte[] encodedAuthData) throws IOException
DecoderEncodable object.decode in interface DecoderEncodable object.IOExceptionprotected static AuthorizationData decodeSequence(org.apache.directory.shared.asn1.der.DERSequence sequence)
protected static AuthorizationDataEntry decodeAuthorizationEntry(org.apache.directory.shared.asn1.der.DERSequence sequence)
Copyright © 2003-2012 Apache Software Foundation. All Rights Reserved.