public class PKCS8EncryptedPrivateKeyInfo extends 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 IOException
IOExceptionpublic AlgorithmIdentifier getEncryptionAlgorithm()
public byte[] getEncryptedData()
public EncryptedPrivateKeyInfo toASN1Structure()
public byte[] getEncoded()
throws IOException
IOExceptionpublic PrivateKeyInfo decryptPrivateKeyInfo(InputDecryptorProvider inputDecryptorProvider) throws PKCSException
PKCSExceptionCopyright © 2015–2019 The veraPDF Consortium. All rights reserved.