org.apache.directory.server.kerberos.shared.io.encoder
Class PreAuthenticationDataEncoder

java.lang.Object
  extended byorg.apache.directory.server.kerberos.shared.io.encoder.PreAuthenticationDataEncoder

public class PreAuthenticationDataEncoder
extends java.lang.Object


Constructor Summary
PreAuthenticationDataEncoder()
           
 
Method Summary
protected static DERSequence encode(PreAuthenticationData preAuth)
          PA-DATA ::= SEQUENCE { padata-type[1] INTEGER, padata-value[2] OCTET STRING }
static byte[] encode(PreAuthenticationData[] preAuth)
           
protected static DERSequence encodeSequence(PreAuthenticationData[] preAuth)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PreAuthenticationDataEncoder

public PreAuthenticationDataEncoder()
Method Detail

encode

public static byte[] encode(PreAuthenticationData[] preAuth)
                     throws java.io.IOException
Throws:
java.io.IOException

encodeSequence

protected static DERSequence encodeSequence(PreAuthenticationData[] preAuth)

encode

protected static DERSequence encode(PreAuthenticationData preAuth)
PA-DATA ::= SEQUENCE { padata-type[1] INTEGER, padata-value[2] OCTET STRING }