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 actualbuild
method for the wrapped JcaSignerInfoGeneratorBuilder object.boolean
Indicates whether some other object is "equal to" this one.org.bouncycastle.cms.jcajce.JcaSignerInfoGeneratorBuilder
Gets actual org.bouncycastle object being wrapped.int
hashCode()
Returns a hash code value based on the wrapped object.toString()
DelegatestoString
method 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
-JcaSignerInfoGeneratorBuilder
to 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 actualbuild
method for the wrapped JcaSignerInfoGeneratorBuilder object.- Specified by:
build
in interfaceIJcaSignerInfoGeneratorBuilder
- Parameters:
signer
- ContentSigner wrappercert
- X509Certificate- Returns:
ISignerInfoGenerator
the 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
DelegatestoString
method call to the wrapped object.
-