Interface IPKCS8EncryptedPrivateKeyInfo
- All Known Implementing Classes:
PKCS8EncryptedPrivateKeyInfoBC
public interface IPKCS8EncryptedPrivateKeyInfo
This interface represents the wrapper for PKCS8EncryptedPrivateKeyInfo that provides the ability
to switch between bouncy-castle and bouncy-castle FIPS implementations.
-
Method Summary
Modifier and TypeMethodDescriptiondecryptPrivateKeyInfo
(IInputDecryptorProvider decryptorProvider) Calls actualdecryptPrivateKeyInfo
method for the wrapped PKCS8EncryptedPrivateKeyInfo object.
-
Method Details
-
decryptPrivateKeyInfo
IPrivateKeyInfo decryptPrivateKeyInfo(IInputDecryptorProvider decryptorProvider) throws AbstractPKCSException Calls actualdecryptPrivateKeyInfo
method for the wrapped PKCS8EncryptedPrivateKeyInfo object.- Parameters:
decryptorProvider
-IInputDecryptorProvider
wrapper to be used during decryption- Returns:
IPrivateKeyInfo
wrapper for private key info- Throws:
AbstractPKCSException
- if any issues occur during decryption
-