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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IPrivateKeyInfo
decryptPrivateKeyInfo(IInputDecryptorProvider decryptorProvider)
Calls actualdecryptPrivateKeyInfo
method for the wrapped PKCS8EncryptedPrivateKeyInfo object.
-
-
-
Method Detail
-
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
-
-