Class DigestCalculatorProviderBCFips
java.lang.Object
com.itextpdf.bouncycastlefips.operator.DigestCalculatorProviderBCFips
- All Implemented Interfaces:
-
IDigestCalculatorProvider
Wrapper class for
DigestCalculatorProvider.
-
Constructor Summary
ConstructorsConstructorDescriptionDigestCalculatorProviderBCFips(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.
-
Constructor Details
-
DigestCalculatorProviderBCFips
public DigestCalculatorProviderBCFips(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 OperatorCreationExceptionBCFips Calls actualgetmethod for the wrapped DigestCalculatorProvider object.- Specified by:
-
getin interfaceIDigestCalculatorProvider - Parameters:
-
algorithmIdentifier- AlgorithmIdentifier wrapper - Returns:
-
IDigestCalculatorthe wrapper for received DigestCalculator object. - Throws:
-
OperatorCreationExceptionBCFips
-
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
DelegatestoStringmethod call to the wrapped object.
-