Package org.bouncycastle.pkcs
Class PKCS8EncryptedPrivateKeyInfo
java.lang.Object
org.bouncycastle.pkcs.PKCS8EncryptedPrivateKeyInfo
Holding class for a PKCS#8 EncryptedPrivateKeyInfo structure.
-
Constructor Summary
ConstructorsConstructorDescriptionPKCS8EncryptedPrivateKeyInfo(byte[] encryptedPrivateKeyInfo) PKCS8EncryptedPrivateKeyInfo(EncryptedPrivateKeyInfo encryptedPrivateKeyInfo) -
Method Summary
Modifier and TypeMethodDescriptiondecryptPrivateKeyInfo(InputDecryptorProvider inputDecryptorProvider) byte[]byte[]
-
Constructor Details
-
PKCS8EncryptedPrivateKeyInfo
-
PKCS8EncryptedPrivateKeyInfo
- Throws:
IOException
-
-
Method Details
-
getEncryptionAlgorithm
-
getEncryptedData
public byte[] getEncryptedData() -
toASN1Structure
-
getEncoded
- Throws:
IOException
-
decryptPrivateKeyInfo
public PrivateKeyInfo decryptPrivateKeyInfo(InputDecryptorProvider inputDecryptorProvider) throws PKCSException - Throws:
PKCSException
-