Interface IJcaContentSignerBuilder
- All Known Implementing Classes:
-
JcaContentSignerBuilderBC,JcaContentSignerBuilderBCFips
public interface IJcaContentSignerBuilder
This interface represents the wrapper for JcaContentSignerBuilder that provides the ability to switch between bouncy-castle and bouncy-castle FIPS implementations.
-
Method Summary
Modifier and TypeMethodDescriptionbuild(PrivateKey pk) Calls actualbuildmethod for the wrapped JcaContentSignerBuilder object.setProvider(String providerName) Calls actualsetProvidermethod for the wrapped JcaContentSignerBuilder object.
-
Method Details
-
build
Calls actualbuildmethod for the wrapped JcaContentSignerBuilder object.- Parameters:
-
pk- private key - Returns:
-
IContentSignerthe wrapper for built ContentSigner object. - Throws:
-
AbstractOperatorCreationException- wrapped OperatorCreationException.
-
setProvider
Calls actualsetProvidermethod for the wrapped JcaContentSignerBuilder object.- Parameters:
-
providerName- provider name - Returns:
-
IJcaContentSignerBuilderthis wrapper object.
-