Added in API level 1
EncryptedPrivateKeyInfo
public
class
EncryptedPrivateKeyInfo
extends Object
| java.lang.Object | |
| ↳ | javax.crypto.EncryptedPrivateKeyInfo |
This class implements the EncryptedPrivateKeyInfo type
as defined in PKCS #8.
Its ASN.1 definition is as follows:
EncryptedPrivateKeyInfo ::= SEQUENCE {
encryptionAlgorithm AlgorithmIdentifier,
encryptedData OCTET STRING }
AlgorithmIdentifier ::= SEQUENCE {
algorithm OBJECT IDENTIFIER,
parameters ANY DEFINED BY algorithm OPTIONAL }
See also:
Summary
Public constructors | |
|---|---|
EncryptedPrivateKeyInfo(byte[] encoded)
Constructs (i.e., parses) an |
|
EncryptedPrivateKeyInfo(String algName, byte[] encryptedData)
Constructs an |
|
| |