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

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

public class EncryptionTypeInfoDecoder
extends java.lang.Object

Version:
$Rev: 540371 $, $Date: 2007-05-21 17:00:43 -0700 (Mon, 21 May 2007) $
Author:
Apache Directory Project

Constructor Summary
EncryptionTypeInfoDecoder()
           
 
Method Summary
 EncryptionTypeInfoEntry[] decode(byte[] encodedEntries)
          Decodes a byte array into an array of EncryptionTypeInfoEntry.
protected static EncryptionTypeInfoEntry decode(org.apache.directory.shared.asn1.der.DERSequence sequence)
          ETYPE-INFO-ENTRY ::= SEQUENCE { etype [0] Int32, salt [1] OCTET STRING OPTIONAL }
protected static EncryptionTypeInfoEntry[] decodeSequence(org.apache.directory.shared.asn1.der.DERSequence sequence)
          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

EncryptionTypeInfoDecoder

public EncryptionTypeInfoDecoder()
Method Detail

decode

public EncryptionTypeInfoEntry[] decode(byte[] encodedEntries)
                                 throws java.io.IOException
Decodes a byte array into an array of EncryptionTypeInfoEntry.

Parameters:
encodedEntries -
Returns:
The array of EncryptionTypeInfoEntry.
Throws:
java.io.IOException

decodeSequence

protected static EncryptionTypeInfoEntry[] decodeSequence(org.apache.directory.shared.asn1.der.DERSequence sequence)
ETYPE-INFO ::= SEQUENCE OF ETYPE-INFO-ENTRY


decode

protected static EncryptionTypeInfoEntry decode(org.apache.directory.shared.asn1.der.DERSequence sequence)
ETYPE-INFO-ENTRY ::= SEQUENCE { etype [0] Int32, salt [1] OCTET STRING OPTIONAL }



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