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