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

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

public class EncryptionTypeInfoEncoder
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
EncryptionTypeInfoEncoder()
           
 
Method Summary
protected static org.apache.directory.shared.asn1.der.DERSequence encode(EncryptionTypeInfoEntry entry)
          ETYPE-INFO-ENTRY ::= SEQUENCE { etype [0] Int32, salt [1] OCTET STRING OPTIONAL }
static byte[] encode(EncryptionTypeInfoEntry[] entries)
          Encodes an array of EncryptionTypeInfoEntrys into a byte array.
protected static org.apache.directory.shared.asn1.der.DERSequence encodeSequence(EncryptionTypeInfoEntry[] entries)
          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

EncryptionTypeInfoEncoder

public EncryptionTypeInfoEncoder()
Method Detail

encode

public static byte[] encode(EncryptionTypeInfoEntry[] entries)
                     throws java.io.IOException
Encodes an array of EncryptionTypeInfoEntrys into a byte array.

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

encodeSequence

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


encode

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



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