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

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

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


Constructor Summary
AuthenticatorDecoder()
           
 
Method Summary
 Encodable decode(byte[] encodedAuthenticator)
           
protected static Authenticator decode(org.apache.directory.shared.asn1.der.DERSequence sequence)
          -- Unencrypted authenticator Authenticator ::= [APPLICATION 2] SEQUENCE { authenticator-vno[0] INTEGER, crealm[1] Realm, cname[2] PrincipalName, cksum[3] Checksum OPTIONAL, cusec[4] INTEGER, ctime[5] KerberosTime, subkey[6] EncryptionKey OPTIONAL, seq-number[7] INTEGER OPTIONAL, authorization-data[8] AuthorizationData OPTIONAL }
 Decoder getDecoder()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthenticatorDecoder

public AuthenticatorDecoder()
Method Detail

getDecoder

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

decode

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

decode

protected static Authenticator decode(org.apache.directory.shared.asn1.der.DERSequence sequence)
-- Unencrypted authenticator Authenticator ::= [APPLICATION 2] SEQUENCE { authenticator-vno[0] INTEGER, crealm[1] Realm, cname[2] PrincipalName, cksum[3] Checksum OPTIONAL, cusec[4] INTEGER, ctime[5] KerberosTime, subkey[6] EncryptionKey OPTIONAL, seq-number[7] INTEGER OPTIONAL, authorization-data[8] AuthorizationData OPTIONAL }



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