Interface IPKCS8EncryptedPrivateKeyInfo
-
- All Known Implementing Classes:
PKCS8EncryptedPrivateKeyInfoBC
public interface IPKCS8EncryptedPrivateKeyInfoThis interface represents the wrapper for PKCS8EncryptedPrivateKeyInfo that provides the ability to switch between bouncy-castle and bouncy-castle FIPS implementations.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IPrivateKeyInfodecryptPrivateKeyInfo(IInputDecryptorProvider decryptorProvider)Calls actualdecryptPrivateKeyInfomethod for the wrapped PKCS8EncryptedPrivateKeyInfo object.
-
-
-
Method Detail
-
decryptPrivateKeyInfo
IPrivateKeyInfo decryptPrivateKeyInfo(IInputDecryptorProvider decryptorProvider) throws AbstractPKCSException
Calls actualdecryptPrivateKeyInfomethod for the wrapped PKCS8EncryptedPrivateKeyInfo object.- Parameters:
decryptorProvider-IInputDecryptorProviderwrapper to be used during decryption- Returns:
IPrivateKeyInfowrapper for private key info- Throws:
AbstractPKCSException- if any issues occur during decryption
-
-