Class DigestCalculatorProviderBC

java.lang.Object
com.itextpdf.bouncycastle.operator.DigestCalculatorProviderBC
All Implemented Interfaces:
IDigestCalculatorProvider

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

    Constructors
    Constructor
    Description
    DigestCalculatorProviderBC(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

    • DigestCalculatorProviderBC

      public DigestCalculatorProviderBC (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 OperatorCreationExceptionBC
      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:
      OperatorCreationExceptionBC
    • 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