EncryptedPrivateKeyInfo type,
which is defined in PKCS #8 as follows:
EncryptedPrivateKeyInfo ::= SEQUENCE {
encryptionAlgorithm AlgorithmIdentifier,
encryptedData OCTET STRING }
| Modifier and Type | Field and Description |
|---|---|
| private final AlgorithmId | |
| private byte[] | |
| private final byte[] |
| Access | Constructor and Description |
|---|---|
| pack-priv | EncryptedPrivateKeyInfo(byte[] encoded)
Constructs (i.e., parses) an |
| pack-priv | EncryptedPrivateKeyInfo(AlgorithmId algid, byte[] encryptedData)
Constructs an |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv AlgorithmId | |
| pack-priv byte[] | |
| pack-priv byte[] |
| algid | back to summary |
|---|---|
| private final AlgorithmId algid | |
| encoded | back to summary |
|---|---|
| private byte[] encoded | |
| encryptedData | back to summary |
|---|---|
| private final byte[] encryptedData | |
| EncryptedPrivateKeyInfo | back to summary |
|---|---|
| pack-priv EncryptedPrivateKeyInfo(byte[] encoded) throws IOException Constructs (i.e., parses) an | |
| EncryptedPrivateKeyInfo | back to summary |
|---|---|
| pack-priv EncryptedPrivateKeyInfo(AlgorithmId algid, byte[] encryptedData) Constructs an | |
| getAlgorithm | back to summary |
|---|---|
| pack-priv AlgorithmId getAlgorithm() Returns the encryption algorithm. | |
| getEncoded | back to summary |
|---|---|
| pack-priv byte[] getEncoded() Returns the ASN.1 encoding of this class. | |
| getEncryptedData | back to summary |
|---|---|
| pack-priv byte[] getEncryptedData() Returns the encrypted data. | |