public class EncryptedDataDecoder extends Object
| Constructor and Description |
|---|
EncryptedDataDecoder() |
| Modifier and Type | Method and Description |
|---|---|
static EncryptedData |
decode(byte[] encodedEncryptedData)
Decodes a byte array into an
EncryptedData. |
static EncryptedData |
decode(org.apache.directory.shared.asn1.der.DERSequence sequence)
Decodes a
DERSequence into an EncryptedData. |
public static EncryptedData decode(byte[] encodedEncryptedData) throws IOException
EncryptedData.encodedEncryptedData - EncryptedData.IOExceptionpublic static EncryptedData decode(org.apache.directory.shared.asn1.der.DERSequence sequence)
DERSequence into an EncryptedData.
EncryptedData ::= SEQUENCE {
etype[0] INTEGER, -- EncryptionEngine
kvno[1] INTEGER OPTIONAL,
cipher[2] OCTET STRING -- ciphertext
}sequence - EncryptedData.Copyright © 2003-2012 Apache Software Foundation. All Rights Reserved.