Class DigestCalculatorProviderBC
java.lang.Object
com.itextpdf.bouncycastle.operator.DigestCalculatorProviderBC
- All Implemented Interfaces:
-
IDigestCalculatorProvider
Wrapper class for
DigestCalculatorProvider
.
-
Constructor Summary
ConstructorDescriptionDigestCalculatorProviderBC
(org.bouncycastle.operator.DigestCalculatorProvider calculatorProvider) Creates new wrapper instance forDigestCalculatorProvider
. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Indicates whether some other object is "equal to" this one.get
(IAlgorithmIdentifier algorithmIdentifier) Calls actualget
method for the wrapped DigestCalculatorProvider object.org.bouncycastle.operator.DigestCalculatorProvider
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
-
DigestCalculatorProviderBC
public DigestCalculatorProviderBC(org.bouncycastle.operator.DigestCalculatorProvider calculatorProvider) Creates new wrapper instance forDigestCalculatorProvider
.- Parameters:
-
calculatorProvider
-DigestCalculatorProvider
to be wrapped
-
-
Method Details
-
getCalculatorProvider
public org.bouncycastle.operator.DigestCalculatorProvider getCalculatorProvider()Gets actual org.bouncycastle object being wrapped.- Returns:
-
wrapped
DigestCalculatorProvider
.
-
get
public IDigestCalculator get(IAlgorithmIdentifier algorithmIdentifier) throws OperatorCreationExceptionBC Calls actualget
method for the wrapped DigestCalculatorProvider object.- Specified by:
-
get
in interfaceIDigestCalculatorProvider
- Parameters:
-
algorithmIdentifier
- AlgorithmIdentifier wrapper - Returns:
-
IDigestCalculator
the wrapper for received DigestCalculator object. - Throws:
-
OperatorCreationExceptionBC
-
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.
-