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.
-
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.
-
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 wrapper -
cert- X509Certificate - Returns:
-
ISignerInfoGeneratorthe wrapper for built SignerInfoGenerator object. - Throws:
-
CertificateEncodingException- if an error occurs while attempting to encode a certificate. -
OperatorCreationExceptionBC
-
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.
-