public class EncryptionKeyDecoder extends Object
Constructor and Description |
---|
EncryptionKeyDecoder() |
Modifier and Type | Method and Description |
---|---|
static EncryptionKey |
decode(byte[] encodedEncryptionKey)
Decodes a byte array into an
EncryptionKey . |
protected static EncryptionKey |
decode(org.apache.directory.shared.asn1.der.DERSequence sequence)
EncryptionKey ::= SEQUENCE {
keytype[0] INTEGER,
keyvalue[1] OCTET STRING
}
|
public static EncryptionKey decode(byte[] encodedEncryptionKey) throws IOException
EncryptionKey
.encodedEncryptionKey
- EncryptionKey
.IOException
protected static EncryptionKey decode(org.apache.directory.shared.asn1.der.DERSequence sequence)
Copyright © 2003-2012 Apache Software Foundation. All Rights Reserved.