Class JcaSignerInfoGeneratorBuilderBC
- java.lang.Object
-
- com.itextpdf.bouncycastle.cms.jcajce.JcaSignerInfoGeneratorBuilderBC
-
- All Implemented Interfaces:
IJcaSignerInfoGeneratorBuilder
public class JcaSignerInfoGeneratorBuilderBC extends java.lang.Object implements IJcaSignerInfoGeneratorBuilder
Wrapper class forJcaSignerInfoGeneratorBuilder.
-
-
Field Summary
Fields Modifier and Type Field Description private org.bouncycastle.cms.jcajce.JcaSignerInfoGeneratorBuilderjcaSignerInfoGeneratorBuilder
-
Constructor Summary
Constructors Constructor Description JcaSignerInfoGeneratorBuilderBC(IDigestCalculatorProvider calculatorProvider)Creates new wrapper instance forJcaSignerInfoGeneratorBuilder.JcaSignerInfoGeneratorBuilderBC(org.bouncycastle.cms.jcajce.JcaSignerInfoGeneratorBuilder jcaSignerInfoGeneratorBuilder)Creates new wrapper instance forJcaSignerInfoGeneratorBuilder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ISignerInfoGeneratorbuild(IContentSigner signer, java.security.cert.X509Certificate cert)Calls actualbuildmethod for the wrapped JcaSignerInfoGeneratorBuilder object.booleanequals(java.lang.Object o)Indicates whether some other object is "equal to" this one.org.bouncycastle.cms.jcajce.JcaSignerInfoGeneratorBuildergetJcaSignerInfoGeneratorBuilder()Gets actual org.bouncycastle object being wrapped.inthashCode()Returns a hash code value based on the wrapped object.java.lang.StringtoString()DelegatestoStringmethod call to the wrapped object.
-
-
-
Constructor Detail
-
JcaSignerInfoGeneratorBuilderBC
public JcaSignerInfoGeneratorBuilderBC(org.bouncycastle.cms.jcajce.JcaSignerInfoGeneratorBuilder jcaSignerInfoGeneratorBuilder)
Creates new wrapper instance forJcaSignerInfoGeneratorBuilder.- Parameters:
jcaSignerInfoGeneratorBuilder-JcaSignerInfoGeneratorBuilderto be wrapped
-
JcaSignerInfoGeneratorBuilderBC
public JcaSignerInfoGeneratorBuilderBC(IDigestCalculatorProvider calculatorProvider)
Creates new wrapper instance forJcaSignerInfoGeneratorBuilder.- Parameters:
calculatorProvider- DigestCalculatorProvider wrapper to createJcaSignerInfoGeneratorBuilder
-
-
Method Detail
-
getJcaSignerInfoGeneratorBuilder
public org.bouncycastle.cms.jcajce.JcaSignerInfoGeneratorBuilder getJcaSignerInfoGeneratorBuilder()
Gets actual org.bouncycastle object being wrapped.- Returns:
- wrapped
JcaSignerInfoGeneratorBuilder.
-
build
public ISignerInfoGenerator build(IContentSigner signer, java.security.cert.X509Certificate cert) throws OperatorCreationExceptionBC, java.security.cert.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:
java.security.cert.CertificateEncodingException- if an error occurs while attempting to encode a certificate.OperatorCreationExceptionBC
-
equals
public boolean equals(java.lang.Object o)
Indicates whether some other object is "equal to" this one. Compares wrapped objects.- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
Returns a hash code value based on the wrapped object.- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
DelegatestoStringmethod call to the wrapped object.- Overrides:
toStringin classjava.lang.Object
-
-