Class DigestCalculatorProviderBCFips

java.lang.Object
com.itextpdf.bouncycastlefips.operator.DigestCalculatorProviderBCFips
All Implemented Interfaces:
IDigestCalculatorProvider

public class DigestCalculatorProviderBCFips extends Object implements IDigestCalculatorProvider
Wrapper class for DigestCalculatorProvider.
  • Constructor Summary

    Constructors
    Constructor
    Description
    DigestCalculatorProviderBCFips(org.bouncycastle.operator.DigestCalculatorProvider calculatorProvider)
    Creates new wrapper instance for DigestCalculatorProvider.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Indicates whether some other object is "equal to" this one.
    get(IAlgorithmIdentifier algorithmIdentifier)
    Calls actual get method for the wrapped DigestCalculatorProvider object.
    org.bouncycastle.operator.DigestCalculatorProvider
    Gets actual org.bouncycastle object being wrapped.
    int
    Returns a hash code value based on the wrapped object.
    Delegates toString method call to the wrapped object.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • DigestCalculatorProviderBCFips

      public DigestCalculatorProviderBCFips (org.bouncycastle.operator.DigestCalculatorProvider calculatorProvider)
      Creates new wrapper instance for DigestCalculatorProvider.
      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 OperatorCreationExceptionBCFips
      Calls actual get method for the wrapped DigestCalculatorProvider object.
      Specified by:
      get in interface IDigestCalculatorProvider
      Parameters:
      algorithmIdentifier - AlgorithmIdentifier wrapper
      Returns:
      IDigestCalculator the wrapper for received DigestCalculator object.
      Throws:
      OperatorCreationExceptionBCFips
    • equals

      public boolean equals (Object o)
      Indicates whether some other object is "equal to" this one. Compares wrapped objects.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Returns a hash code value based on the wrapped object.
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Delegates toString method call to the wrapped object.
      Overrides:
      toString in class Object