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
ConstructorDescriptionJcaSignerInfoGeneratorBuilderBCFips
(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 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.
-
Constructor Details
-
JcaSignerInfoGeneratorBuilderBCFips
public JcaSignerInfoGeneratorBuilderBCFips(org.bouncycastle.cms.jcajce.JcaSignerInfoGeneratorBuilder jcaSignerInfoGeneratorBuilder) Creates new wrapper instance forJcaSignerInfoGeneratorBuilder
.- Parameters:
-
jcaSignerInfoGeneratorBuilder
-JcaSignerInfoGeneratorBuilder
to 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 actualbuild
method for the wrapped JcaSignerInfoGeneratorBuilder object.- Specified by:
-
build
in interfaceIJcaSignerInfoGeneratorBuilder
- Parameters:
-
signer
- ContentSigner wrapper -
cert
- X509Certificate - Returns:
-
ISignerInfoGenerator
the 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
DelegatestoString
method call to the wrapped object.
-