Class JcaContentSignerBuilderBC
- java.lang.Object
-
- com.itextpdf.bouncycastle.operator.jcajce.JcaContentSignerBuilderBC
-
- All Implemented Interfaces:
IJcaContentSignerBuilder
public class JcaContentSignerBuilderBC extends java.lang.Object implements IJcaContentSignerBuilder
Wrapper class forJcaContentSignerBuilder.
-
-
Field Summary
Fields Modifier and Type Field Description private org.bouncycastle.operator.jcajce.JcaContentSignerBuilderjcaContentSignerBuilder
-
Constructor Summary
Constructors Constructor Description JcaContentSignerBuilderBC(org.bouncycastle.operator.jcajce.JcaContentSignerBuilder jcaContentSignerBuilder)Creates new wrapper instance forJcaContentSignerBuilder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IContentSignerbuild(java.security.PrivateKey pk)Calls actualbuildmethod for the wrapped JcaContentSignerBuilder object.booleanequals(java.lang.Object o)Indicates whether some other object is "equal to" this one.org.bouncycastle.operator.jcajce.JcaContentSignerBuildergetJcaContentSignerBuilder()Gets actual org.bouncycastle object being wrapped.inthashCode()Returns a hash code value based on the wrapped object.IJcaContentSignerBuildersetProvider(java.lang.String providerName)Calls actualsetProvidermethod for the wrapped JcaContentSignerBuilder object.java.lang.StringtoString()DelegatestoStringmethod call to the wrapped object.
-
-
-
Method Detail
-
getJcaContentSignerBuilder
public org.bouncycastle.operator.jcajce.JcaContentSignerBuilder getJcaContentSignerBuilder()
Gets actual org.bouncycastle object being wrapped.- Returns:
- wrapped
JcaContentSignerBuilder.
-
build
public IContentSigner build(java.security.PrivateKey pk) throws OperatorCreationExceptionBC
Calls actualbuildmethod for the wrapped JcaContentSignerBuilder object.- Specified by:
buildin interfaceIJcaContentSignerBuilder- Parameters:
pk- private key- Returns:
IContentSignerthe wrapper for built ContentSigner object.- Throws:
OperatorCreationExceptionBC
-
setProvider
public IJcaContentSignerBuilder setProvider(java.lang.String providerName)
Calls actualsetProvidermethod for the wrapped JcaContentSignerBuilder object.- Specified by:
setProviderin interfaceIJcaContentSignerBuilder- Parameters:
providerName- provider name- Returns:
IJcaContentSignerBuilderthis wrapper object.
-
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
-
-