Class JcaContentSignerBuilderBC
java.lang.Object
com.itextpdf.bouncycastle.operator.jcajce.JcaContentSignerBuilderBC
- All Implemented Interfaces:
IJcaContentSignerBuilder
Wrapper class for
JcaContentSignerBuilder
.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final org.bouncycastle.operator.jcajce.JcaContentSignerBuilder
-
Constructor Summary
ConstructorsConstructorDescriptionJcaContentSignerBuilderBC
(org.bouncycastle.operator.jcajce.JcaContentSignerBuilder jcaContentSignerBuilder) Creates new wrapper instance forJcaContentSignerBuilder
. -
Method Summary
Modifier and TypeMethodDescriptionbuild
(PrivateKey pk) Calls actualbuild
method for the wrapped JcaContentSignerBuilder object.boolean
Indicates whether some other object is "equal to" this one.org.bouncycastle.operator.jcajce.JcaContentSignerBuilder
Gets actual org.bouncycastle object being wrapped.int
hashCode()
Returns a hash code value based on the wrapped object.setProvider
(String providerName) Calls actualsetProvider
method for the wrapped JcaContentSignerBuilder object.toString()
DelegatestoString
method call to the wrapped object.
-
Field Details
-
jcaContentSignerBuilder
private final org.bouncycastle.operator.jcajce.JcaContentSignerBuilder jcaContentSignerBuilder
-
-
Constructor Details
-
JcaContentSignerBuilderBC
public JcaContentSignerBuilderBC(org.bouncycastle.operator.jcajce.JcaContentSignerBuilder jcaContentSignerBuilder) Creates new wrapper instance forJcaContentSignerBuilder
.- Parameters:
jcaContentSignerBuilder
-JcaContentSignerBuilder
to be wrapped
-
-
Method Details
-
getJcaContentSignerBuilder
public org.bouncycastle.operator.jcajce.JcaContentSignerBuilder getJcaContentSignerBuilder()Gets actual org.bouncycastle object being wrapped.- Returns:
- wrapped
JcaContentSignerBuilder
.
-
build
Calls actualbuild
method for the wrapped JcaContentSignerBuilder object.- Specified by:
build
in interfaceIJcaContentSignerBuilder
- Parameters:
pk
- private key- Returns:
IContentSigner
the wrapper for built ContentSigner object.- Throws:
OperatorCreationExceptionBC
-
setProvider
Calls actualsetProvider
method for the wrapped JcaContentSignerBuilder object.- Specified by:
setProvider
in interfaceIJcaContentSignerBuilder
- Parameters:
providerName
- provider name- Returns:
IJcaContentSignerBuilder
this wrapper object.
-
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.
-