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

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

public class EncryptionKeyEncoder
extends java.lang.Object

Version:
$Rev: 540371 $, $Date: 2007-05-22 02:00:43 +0200 (Tue, 22 May 2007) $
Author:
Apache Directory Project

Constructor Summary
EncryptionKeyEncoder()
           
 
Method Summary
static byte[] encode(EncryptionKey key)
          Encodes an EncryptionKey into a byte array.
protected static org.apache.directory.shared.asn1.der.DERSequence encodeSequence(EncryptionKey key)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EncryptionKeyEncoder

public EncryptionKeyEncoder()
Method Detail

encode

public static byte[] encode(EncryptionKey key)
                     throws java.io.IOException
Encodes an EncryptionKey into a byte array.

Parameters:
key -
Returns:
The byte array.
Throws:
java.io.IOException

encodeSequence

protected static org.apache.directory.shared.asn1.der.DERSequence encodeSequence(EncryptionKey key)


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