org.apache.directory.server.kerberos.shared.io.decoder
Class AuthorizationDataDecoder

java.lang.Object
  extended by org.apache.directory.server.kerberos.shared.io.decoder.AuthorizationDataDecoder
All Implemented Interfaces:
Decoder, DecoderFactory

public class AuthorizationDataDecoder
extends java.lang.Object
implements Decoder, DecoderFactory


Constructor Summary
AuthorizationDataDecoder()
           
 
Method Summary
 Encodable decode(byte[] encodedAuthData)
           
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()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthorizationDataDecoder

public AuthorizationDataDecoder()
Method Detail

getDecoder

public Decoder getDecoder()
Specified by:
getDecoder in interface DecoderFactory

decode

public Encodable decode(byte[] encodedAuthData)
                 throws java.io.IOException
Specified by:
decode in interface Decoder
Throws:
java.io.IOException

decodeSequence

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 }


decodeAuthorizationEntry

protected static AuthorizationDataEntry decodeAuthorizationEntry(org.apache.directory.shared.asn1.der.DERSequence sequence)


Copyright © 2003-2010 Apache Software Foundation. All Rights Reserved.