Class FipsOutputDigestCalculator<T>

java.lang.Object
org.bouncycastle.crypto.fips.FipsOutputDigestCalculator<T>
Type Parameters:
T - the parameters type associated with the final implementation of this calculator.
All Implemented Interfaces:
Cloneable, OutputDigestCalculator<T>

public abstract class FipsOutputDigestCalculator<T> extends Object implements OutputDigestCalculator<T>
Base class for the approved mode OutputDigestCalculator implementations.
  • Method Summary

    Modifier and Type
    Method
    Description
    Return a clone of this calculator.
    final byte[]
    Return the digest calculated on what has been written to the calculator's output stream.
    abstract int
    getDigest(byte[] output, int offSet)
    Output the current digest value for what has been written to the calculator's output stream.
    abstract int
    Return the size, in bytes, of the internal block used by the digest in this calculator.
    abstract int
    Return the size of the digest produced by this calculator in bytes.
    Returns a stream that will accept data for the purpose of calculating a digest.
    abstract T
    Return the parameters for this digest calculator.
    abstract void
    Reset the calculator back to its initial state.

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait