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

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

public class EncryptedDataEncoder
extends java.lang.Object


Constructor Summary
EncryptedDataEncoder()
           
 
Method Summary
static byte[] encode(EncryptedData encryptedData)
           
static DERSequence encodeSequence(EncryptedData encryptedData)
          EncryptedData ::= SEQUENCE { etype[0] INTEGER, -- EncryptionEngine kvno[1] INTEGER OPTIONAL, cipher[2] OCTET STRING -- ciphertext }
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EncryptedDataEncoder

public EncryptedDataEncoder()
Method Detail

encode

public static byte[] encode(EncryptedData encryptedData)
                     throws java.io.IOException
Throws:
java.io.IOException

encodeSequence

public static DERSequence encodeSequence(EncryptedData encryptedData)
EncryptedData ::= SEQUENCE { etype[0] INTEGER, -- EncryptionEngine kvno[1] INTEGER OPTIONAL, cipher[2] OCTET STRING -- ciphertext }