Class JcaSignerInfoGeneratorBuilderBCFips
java.lang.Object
com.itextpdf.bouncycastlefips.cms.jcajce.JcaSignerInfoGeneratorBuilderBCFips
- All Implemented Interfaces:
-
IJcaSignerInfoGeneratorBuilder
public class JcaSignerInfoGeneratorBuilderBCFips extends Object implements IJcaSignerInfoGeneratorBuilder
Wrapper class for
JcaSignerInfoGeneratorBuilder.
-
Constructor Summary
ConstructorsConstructorDescriptionJcaSignerInfoGeneratorBuilderBCFips(IDigestCalculatorProvider calculatorProvider) Creates new wrapper instance forJcaSignerInfoGeneratorBuilder.JcaSignerInfoGeneratorBuilderBCFips(org.bouncycastle.cms.jcajce.JcaSignerInfoGeneratorBuilder jcaSignerInfoGeneratorBuilder) Creates new wrapper instance forJcaSignerInfoGeneratorBuilder. -
Method Summary
Modifier and TypeMethodDescriptionbuild(IContentSigner signer, X509Certificate cert) Calls actualbuildmethod for the wrapped JcaSignerInfoGeneratorBuilder object.booleanIndicates whether some other object is "equal to" this one.org.bouncycastle.cms.jcajce.JcaSignerInfoGeneratorBuilderGets actual org.bouncycastle object being wrapped.inthashCode()Returns a hash code value based on the wrapped object.toString()DelegatestoStringmethod call to the wrapped object.
-
Constructor Details
-
JcaSignerInfoGeneratorBuilderBCFips
public JcaSignerInfoGeneratorBuilderBCFips(org.bouncycastle.cms.jcajce.JcaSignerInfoGeneratorBuilder jcaSignerInfoGeneratorBuilder) Creates new wrapper instance forJcaSignerInfoGeneratorBuilder.- Parameters:
-
jcaSignerInfoGeneratorBuilder-JcaSignerInfoGeneratorBuilderto be wrapped
-
JcaSignerInfoGeneratorBuilderBCFips
Creates new wrapper instance forJcaSignerInfoGeneratorBuilder.- Parameters:
-
calculatorProvider- DigestCalculatorProvider wrapper to createJcaSignerInfoGeneratorBuilder
-
-
Method Details
-
getJcaSignerInfoGeneratorBuilder
public org.bouncycastle.cms.jcajce.JcaSignerInfoGeneratorBuilder getJcaSignerInfoGeneratorBuilder()Gets actual org.bouncycastle object being wrapped.- Returns:
-
wrapped
JcaSignerInfoGeneratorBuilder.
-
build
public ISignerInfoGenerator build(IContentSigner signer, X509Certificate cert) throws OperatorCreationExceptionBCFips, CertificateEncodingException Calls actualbuildmethod for the wrapped JcaSignerInfoGeneratorBuilder object.- Specified by:
-
buildin interfaceIJcaSignerInfoGeneratorBuilder - Parameters:
-
signer- ContentSigner wrapper -
cert- X509Certificate - Returns:
-
ISignerInfoGeneratorthe wrapper for built SignerInfoGenerator object. - Throws:
-
CertificateEncodingException- if an error occurs while attempting to encode a certificate. -
OperatorCreationExceptionBCFips
-
equals
Indicates whether some other object is "equal to" this one. Compares wrapped objects. -
hashCode
public int hashCode()Returns a hash code value based on the wrapped object. -
toString
DelegatestoStringmethod call to the wrapped object.
-