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

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

public class EncryptionKeyDecoder
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
EncryptionKeyDecoder()
           
 
Method Summary
static EncryptionKey decode(byte[] encodedEncryptionKey)
          Decodes a byte array into an EncryptionKey.
protected static EncryptionKey decode(org.apache.directory.shared.asn1.der.DERSequence sequence)
          EncryptionKey ::= SEQUENCE { keytype[0] INTEGER, keyvalue[1] OCTET STRING }
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EncryptionKeyDecoder

public EncryptionKeyDecoder()
Method Detail

decode

public static EncryptionKey decode(byte[] encodedEncryptionKey)
                            throws java.io.IOException
Decodes a byte array into an EncryptionKey.

Parameters:
encodedEncryptionKey -
Returns:
The EncryptionKey.
Throws:
java.io.IOException

decode

protected static EncryptionKey decode(org.apache.directory.shared.asn1.der.DERSequence sequence)
EncryptionKey ::= SEQUENCE { keytype[0] INTEGER, keyvalue[1] OCTET STRING }



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