Interface IJcaSignerInfoGeneratorBuilder

  • All Known Implementing Classes:
    JcaSignerInfoGeneratorBuilderBC

    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 Detail

      • build

        ISignerInfoGenerator build​(IContentSigner signer,
                                   java.security.cert.X509Certificate cert)
                            throws AbstractOperatorCreationException,
                                   java.security.cert.CertificateEncodingException
        Calls actual build method for the wrapped JcaSignerInfoGeneratorBuilder object.
        Parameters:
        signer - ContentSigner wrapper
        cert - X509Certificate
        Returns:
        ISignerInfoGenerator the wrapper for built SignerInfoGenerator object.
        Throws:
        AbstractOperatorCreationException - wrapped OperatorCreationException.
        java.security.cert.CertificateEncodingException - if an error occurs while attempting to encode a certificate.