|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.directory.server.kerberos.shared.io.encoder.EncryptedDataEncoder
public class EncryptedDataEncoder
Constructor Summary | |
---|---|
EncryptedDataEncoder()
|
Method Summary | |
---|---|
static byte[] |
encode(EncryptedData encryptedData)
Encodes an EncryptedData into a byte array. |
static org.apache.directory.shared.asn1.der.DERSequence |
encodeSequence(EncryptedData encryptedData)
Encodes an EncryptedData into a DERSequence . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EncryptedDataEncoder()
Method Detail |
---|
public static byte[] encode(EncryptedData encryptedData) throws java.io.IOException
EncryptedData
into a byte array.
encryptedData
-
java.io.IOException
public static org.apache.directory.shared.asn1.der.DERSequence encodeSequence(EncryptedData encryptedData)
EncryptedData
into a DERSequence
.
EncryptedData ::= SEQUENCE {
etype[0] INTEGER, -- EncryptionEngine
kvno[1] INTEGER OPTIONAL,
cipher[2] OCTET STRING -- ciphertext
}
encryptedData
-
DERSequence
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |