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

java.lang.Object
  extended by org.apache.directory.server.kerberos.shared.io.encoder.EncryptionTypeInfoEncoder

public class EncryptionTypeInfoEncoder
extends java.lang.Object


Constructor Summary
EncryptionTypeInfoEncoder()
           
 
Method Summary
protected static DERSequence encode(EncryptionTypeInfoEntry entry)
          ETYPE-INFO-ENTRY ::= SEQUENCE { etype [0] Int32, salt [1] OCTET STRING OPTIONAL }
static byte[] encode(EncryptionTypeInfoEntry[] entries)
           
protected static DERSequence encodeSequence(EncryptionTypeInfoEntry[] entries)
          ETYPE-INFO ::= SEQUENCE OF ETYPE-INFO-ENTRY
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EncryptionTypeInfoEncoder

public EncryptionTypeInfoEncoder()
Method Detail

encode

public static byte[] encode(EncryptionTypeInfoEntry[] entries)
                     throws java.io.IOException
Throws:
java.io.IOException

encodeSequence

protected static DERSequence encodeSequence(EncryptionTypeInfoEntry[] entries)
ETYPE-INFO ::= SEQUENCE OF ETYPE-INFO-ENTRY


encode

protected static DERSequence encode(EncryptionTypeInfoEntry entry)
ETYPE-INFO-ENTRY ::= SEQUENCE { etype [0] Int32, salt [1] OCTET STRING OPTIONAL }