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

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

public class EncryptionTypeInfo2Decoder
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
EncryptionTypeInfo2Decoder()
           
 
Method Summary
 EncryptionTypeInfo2Entry[] decode(byte[] encodedEntries)
          Decodes a byte array into an array of EncryptionTypeInfo2Entry.
protected static EncryptionTypeInfo2Entry decode(org.apache.directory.shared.asn1.der.DERSequence sequence)
          ETYPE-INFO2-ENTRY ::= SEQUENCE { etype [0] Int32, salt [1] KerberosString OPTIONAL, s2kparams [2] OCTET STRING OPTIONAL }
protected static EncryptionTypeInfo2Entry[] decodeSequence(org.apache.directory.shared.asn1.der.DERSequence sequence)
          ETYPE-INFO2 ::= SEQUENCE SIZE (1..MAX) OF ETYPE-INFO2-ENTRY
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EncryptionTypeInfo2Decoder

public EncryptionTypeInfo2Decoder()
Method Detail

decode

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

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

decodeSequence

protected static EncryptionTypeInfo2Entry[] decodeSequence(org.apache.directory.shared.asn1.der.DERSequence sequence)
ETYPE-INFO2 ::= SEQUENCE SIZE (1..MAX) OF ETYPE-INFO2-ENTRY


decode

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



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