Interface IJcaPEMKeyConverter
-
- All Known Implementing Classes:
JcaPEMKeyConverterBC
public interface IJcaPEMKeyConverterThis interface represents the wrapper for JcaPEMKeyConverter 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 java.security.PrivateKeygetPrivateKey(IPrivateKeyInfo privateKeyInfo)Calls actualgetPrivateKeymethod for the wrapped JcaPEMKeyConverter object.IJcaPEMKeyConvertersetProvider(java.security.Provider provider)Calls actualsetProvidermethod for the wrapped JcaPEMKeyConverter object.
-
-
-
Method Detail
-
setProvider
IJcaPEMKeyConverter setProvider(java.security.Provider provider)
Calls actualsetProvidermethod for the wrapped JcaPEMKeyConverter object.- Parameters:
provider-Providerto be set- Returns:
- this converter
-
getPrivateKey
java.security.PrivateKey getPrivateKey(IPrivateKeyInfo privateKeyInfo) throws AbstractPEMException
Calls actualgetPrivateKeymethod for the wrapped JcaPEMKeyConverter object.- Parameters:
privateKeyInfo-IPrivateKeyInfoinformation about private key- Returns:
PrivateKeyprivate key instance- Throws:
AbstractPEMException- if any issues occur during private key creation
-
-