public class PKCS8EncryptedPrivateKeyInfo
extends java.lang.Object
Constructor and Description |
---|
PKCS8EncryptedPrivateKeyInfo(byte[] encryptedPrivateKeyInfo) |
PKCS8EncryptedPrivateKeyInfo(org.bouncycastle.asn1.pkcs.EncryptedPrivateKeyInfo encryptedPrivateKeyInfo) |
Modifier and Type | Method and Description |
---|---|
org.bouncycastle.asn1.pkcs.PrivateKeyInfo |
decryptPrivateKeyInfo(InputDecryptorProvider inputDecryptorProvider) |
byte[] |
getEncoded() |
byte[] |
getEncryptedData() |
org.bouncycastle.asn1.x509.AlgorithmIdentifier |
getEncryptionAlgorithm() |
org.bouncycastle.asn1.pkcs.EncryptedPrivateKeyInfo |
toASN1Structure() |
public PKCS8EncryptedPrivateKeyInfo(org.bouncycastle.asn1.pkcs.EncryptedPrivateKeyInfo encryptedPrivateKeyInfo)
public PKCS8EncryptedPrivateKeyInfo(byte[] encryptedPrivateKeyInfo) throws java.io.IOException
java.io.IOException
public org.bouncycastle.asn1.x509.AlgorithmIdentifier getEncryptionAlgorithm()
public byte[] getEncryptedData()
public org.bouncycastle.asn1.pkcs.EncryptedPrivateKeyInfo toASN1Structure()
public byte[] getEncoded() throws java.io.IOException
java.io.IOException
public org.bouncycastle.asn1.pkcs.PrivateKeyInfo decryptPrivateKeyInfo(InputDecryptorProvider inputDecryptorProvider) throws PKCSException
PKCSException