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
IOException
public AlgorithmIdentifier getEncryptionAlgorithm()
public byte[] getEncryptedData()
public EncryptedPrivateKeyInfo toASN1Structure()
public byte[] getEncoded() throws IOException
IOException
public PrivateKeyInfo decryptPrivateKeyInfo(InputDecryptorProvider inputDecryptorProvider) throws PKCSException
PKCSException
Copyright © 2020 BouncyCastle.org. All rights reserved.