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 actualbuild
method for the wrapped JcaContentSignerBuilder object.setProvider
(String providerName) Calls actualsetProvider
method for the wrapped JcaContentSignerBuilder object.
-
Method Details
-
build
Calls actualbuild
method for the wrapped JcaContentSignerBuilder object.- Parameters:
-
pk
- private key - Returns:
-
IContentSigner
the wrapper for built ContentSigner object. - Throws:
-
AbstractOperatorCreationException
- wrapped OperatorCreationException.
-
setProvider
Calls actualsetProvider
method for the wrapped JcaContentSignerBuilder object.- Parameters:
-
providerName
- provider name - Returns:
-
IJcaContentSignerBuilder
this wrapper object.
-