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()
DecoderFactory
Decoder
.getDecoder
in interface DecoderFactory
Decoder
.public Encodable decode(byte[] encodedAuthData) throws IOException
Decoder
Encodable
object.decode
in interface Decoder
Encodable
object.IOException
protected 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–2013 The Apache Software Foundation. All rights reserved.