Class DigestCalculatorBC

java.lang.Object
com.itextpdf.bouncycastle.operator.DigestCalculatorBC
All Implemented Interfaces:
IDigestCalculator

public class DigestCalculatorBC extends Object implements IDigestCalculator
Wrapper class for DigestCalculator.
  • Constructor Summary

    Constructors
    Constructor
    Description
    DigestCalculatorBC(org.bouncycastle.operator.DigestCalculator digestCalculator)
    Creates new wrapper instance for DigestCalculator.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Indicates whether some other object is "equal to" this one.
    org.bouncycastle.operator.DigestCalculator
    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

    • DigestCalculatorBC

      public DigestCalculatorBC (org.bouncycastle.operator.DigestCalculator digestCalculator)
      Creates new wrapper instance for DigestCalculator.
      Parameters:
      digestCalculator - DigestCalculator to be wrapped
  • Method Details

    • getDigestCalculator

      public org.bouncycastle.operator.DigestCalculator getDigestCalculator()
      Gets actual org.bouncycastle object being wrapped.
      Returns:
      wrapped DigestCalculator.
    • 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