Interface IJceOpenSSLPKCS8DecryptorProviderBuilder
- All Known Implementing Classes:
-
JceOpenSSLPKCS8DecryptorProviderBuilderBC,JceOpenSSLPKCS8DecryptorProviderBuilderBCFips
public interface IJceOpenSSLPKCS8DecryptorProviderBuilder
This interface represents the wrapper for JceOpenSSLPKCS8DecryptorProviderBuilder that provides the ability to switch between bouncy-castle and bouncy-castle FIPS implementations.
-
Method Summary
Modifier and TypeMethodDescriptionbuild(char[] password) Calls actualbuildmethod for the wrapped JceOpenSSLPKCS8DecryptorProviderBuilder object.setProvider(Provider provider) Calls actualsetProvidermethod for the wrapped JceOpenSSLPKCS8DecryptorProviderBuilder object.
-
Method Details
-
setProvider
Calls actualsetProvidermethod for the wrapped JceOpenSSLPKCS8DecryptorProviderBuilder object.- Parameters:
-
provider-Providerto be set - Returns:
- this builder
-
build
Calls actualbuildmethod for the wrapped JceOpenSSLPKCS8DecryptorProviderBuilder object.- Parameters:
-
password-char[]which represents password for the private key - Returns:
-
IInputDecryptorProviderinput decryptor provider - Throws:
-
AbstractOperatorCreationException- if any issues occur during provider building
-