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

java.lang.Object
  extended by org.apache.directory.server.kerberos.shared.io.decoder.PreAuthenticationDataDecoder

public class PreAuthenticationDataDecoder
extends java.lang.Object


Constructor Summary
PreAuthenticationDataDecoder()
           
 
Method Summary
 PreAuthenticationData decode(byte[] encodedPreAuthData)
           
protected static PreAuthenticationData decode(org.apache.directory.shared.asn1.der.DERSequence sequence)
          PA-DATA ::= SEQUENCE { padata-type[1] INTEGER, padata-value[2] OCTET STRING, -- might be encoded AP-REQ }
protected static PreAuthenticationData[] decodeSequence(org.apache.directory.shared.asn1.der.DERSequence sequence)
          KDC-REQ ::= SEQUENCE { pvno[1] INTEGER, msg-type[2] INTEGER, padata[3] SEQUENCE OF PA-DATA OPTIONAL, req-body[4] KDC-REQ-BODY }
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PreAuthenticationDataDecoder

public PreAuthenticationDataDecoder()
Method Detail

decode

public PreAuthenticationData decode(byte[] encodedPreAuthData)
                             throws java.io.IOException
Throws:
java.io.IOException

decodeSequence

protected static PreAuthenticationData[] decodeSequence(org.apache.directory.shared.asn1.der.DERSequence sequence)
KDC-REQ ::= SEQUENCE { pvno[1] INTEGER, msg-type[2] INTEGER, padata[3] SEQUENCE OF PA-DATA OPTIONAL, req-body[4] KDC-REQ-BODY }


decode

protected static PreAuthenticationData decode(org.apache.directory.shared.asn1.der.DERSequence sequence)
PA-DATA ::= SEQUENCE { padata-type[1] INTEGER, padata-value[2] OCTET STRING, -- might be encoded AP-REQ }



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