Interface IJcaSignerInfoGeneratorBuilder
- All Known Implementing Classes:
-
JcaSignerInfoGeneratorBuilderBC
,JcaSignerInfoGeneratorBuilderBCFips
public interface IJcaSignerInfoGeneratorBuilder
This interface represents the wrapper for JcaSignerInfoGeneratorBuilder that provides the ability to switch between bouncy-castle and bouncy-castle FIPS implementations.
-
Method Summary
Modifier and TypeMethodDescriptionbuild
(IContentSigner signer, X509Certificate cert) Calls actualbuild
method for the wrapped JcaSignerInfoGeneratorBuilder object.
-
Method Details
-
build
ISignerInfoGenerator build(IContentSigner signer, X509Certificate cert) throws AbstractOperatorCreationException, CertificateEncodingException Calls actualbuild
method for the wrapped JcaSignerInfoGeneratorBuilder object.- Parameters:
-
signer
- ContentSigner wrapper -
cert
- X509Certificate - Returns:
-
ISignerInfoGenerator
the wrapper for built SignerInfoGenerator object. - Throws:
-
AbstractOperatorCreationException
- wrapped OperatorCreationException. -
CertificateEncodingException
- if an error occurs while attempting to encode a certificate.
-