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.JcaContentSignerBuilder
jcaContentSignerBuilder
-
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 IContentSigner
build(java.security.PrivateKey pk)
Calls actualbuild
method for the wrapped JcaContentSignerBuilder object.boolean
equals(java.lang.Object o)
Indicates whether some other object is "equal to" this one.org.bouncycastle.operator.jcajce.JcaContentSignerBuilder
getJcaContentSignerBuilder()
Gets actual org.bouncycastle object being wrapped.int
hashCode()
Returns a hash code value based on the wrapped object.IJcaContentSignerBuilder
setProvider(java.lang.String providerName)
Calls actualsetProvider
method for the wrapped JcaContentSignerBuilder object.java.lang.String
toString()
DelegatestoString
method 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 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
public IJcaContentSignerBuilder setProvider(java.lang.String providerName)
Calls actualsetProvider
method for the wrapped JcaContentSignerBuilder object.- Specified by:
setProvider
in interfaceIJcaContentSignerBuilder
- Parameters:
providerName
- provider name- Returns:
IJcaContentSignerBuilder
this wrapper object.
-
equals
public boolean equals(java.lang.Object o)
Indicates whether some other object is "equal to" this one. Compares wrapped objects.- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
Returns a hash code value based on the wrapped object.- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
DelegatestoString
method call to the wrapped object.- Overrides:
toString
in classjava.lang.Object
-
-