public class EncryptionTypeInfo2Encoder extends Object
Constructor and Description |
---|
EncryptionTypeInfo2Encoder() |
Modifier and Type | Method and Description |
---|---|
protected static org.apache.directory.shared.asn1.der.DERSequence |
encode(EncryptionTypeInfo2Entry entry)
ETYPE-INFO2-ENTRY ::= SEQUENCE {
etype [0] Int32,
salt [1] KerberosString OPTIONAL,
s2kparams [2] OCTET STRING OPTIONAL
}
|
static byte[] |
encode(EncryptionTypeInfo2Entry[] entries)
Encodes an array of
EncryptionTypeInfo2Entry s into a byte array. |
protected static org.apache.directory.shared.asn1.der.DERSequence |
encodeSequence(EncryptionTypeInfo2Entry[] entries)
ETYPE-INFO2 ::= SEQUENCE SIZE (1..MAX) OF ETYPE-INFO2-ENTRY
|
public static byte[] encode(EncryptionTypeInfo2Entry[] entries) throws IOException
EncryptionTypeInfo2Entry
s into a byte array.entries
- IOException
protected static org.apache.directory.shared.asn1.der.DERSequence encodeSequence(EncryptionTypeInfo2Entry[] entries)
protected static org.apache.directory.shared.asn1.der.DERSequence encode(EncryptionTypeInfo2Entry entry)
Copyright © 2003–2014 The Apache Software Foundation. All rights reserved.