Class JcaSignerInfoGeneratorBuilderBC
java.lang.Object
com.itextpdf.bouncycastle.cms.jcajce.JcaSignerInfoGeneratorBuilderBC
- All Implemented Interfaces:
IJcaSignerInfoGeneratorBuilder
public class JcaSignerInfoGeneratorBuilderBC
extends Object
implements IJcaSignerInfoGeneratorBuilder
Wrapper class for
JcaSignerInfoGeneratorBuilder.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final org.bouncycastle.cms.jcajce.JcaSignerInfoGeneratorBuilder -
Constructor Summary
ConstructorsConstructorDescriptionJcaSignerInfoGeneratorBuilderBC(IDigestCalculatorProvider calculatorProvider) Creates new wrapper instance forJcaSignerInfoGeneratorBuilder.JcaSignerInfoGeneratorBuilderBC(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.
-
Field Details
-
jcaSignerInfoGeneratorBuilder
private final org.bouncycastle.cms.jcajce.JcaSignerInfoGeneratorBuilder jcaSignerInfoGeneratorBuilder
-
-
Constructor Details
-
JcaSignerInfoGeneratorBuilderBC
public JcaSignerInfoGeneratorBuilderBC(org.bouncycastle.cms.jcajce.JcaSignerInfoGeneratorBuilder jcaSignerInfoGeneratorBuilder) Creates new wrapper instance forJcaSignerInfoGeneratorBuilder.- Parameters:
jcaSignerInfoGeneratorBuilder-JcaSignerInfoGeneratorBuilderto be wrapped
-
JcaSignerInfoGeneratorBuilderBC
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 OperatorCreationExceptionBC, CertificateEncodingException Calls actualbuildmethod for the wrapped JcaSignerInfoGeneratorBuilder object.- Specified by:
buildin interfaceIJcaSignerInfoGeneratorBuilder- Parameters:
signer- ContentSigner wrappercert- X509Certificate- Returns:
ISignerInfoGeneratorthe wrapper for built SignerInfoGenerator object.- Throws:
CertificateEncodingException- if an error occurs while attempting to encode a certificate.OperatorCreationExceptionBC
-
equals
-
hashCode
-
toString
-