Class DigestCalculatorProviderBC
java.lang.Object
com.itextpdf.bouncycastle.operator.DigestCalculatorProviderBC
- All Implemented Interfaces:
IDigestCalculatorProvider
Wrapper class for
DigestCalculatorProvider.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final org.bouncycastle.operator.DigestCalculatorProvider -
Constructor Summary
ConstructorsConstructorDescriptionDigestCalculatorProviderBC(org.bouncycastle.operator.DigestCalculatorProvider calculatorProvider) Creates new wrapper instance forDigestCalculatorProvider. -
Method Summary
Modifier and TypeMethodDescriptionbooleanIndicates whether some other object is "equal to" this one.get(IAlgorithmIdentifier algorithmIdentifier) Calls actualgetmethod for the wrapped DigestCalculatorProvider object.org.bouncycastle.operator.DigestCalculatorProviderGets actual org.bouncycastle object being wrapped.inthashCode()Returns a hash code value based on the wrapped object.toString()DelegatestoStringmethod call to the wrapped object.
-
Field Details
-
calculatorProvider
private final org.bouncycastle.operator.DigestCalculatorProvider calculatorProvider
-
-
Constructor Details
-
DigestCalculatorProviderBC
public DigestCalculatorProviderBC(org.bouncycastle.operator.DigestCalculatorProvider calculatorProvider) Creates new wrapper instance forDigestCalculatorProvider.- Parameters:
calculatorProvider-DigestCalculatorProviderto 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 actualgetmethod for the wrapped DigestCalculatorProvider object.- Specified by:
getin interfaceIDigestCalculatorProvider- Parameters:
algorithmIdentifier- AlgorithmIdentifier wrapper- Returns:
IDigestCalculatorthe wrapper for received DigestCalculator object.- Throws:
OperatorCreationExceptionBC
-
equals
-
hashCode
-
toString
-