Class FipsOutputValidator<T extends Parameters>

java.lang.Object
org.bouncycastle.crypto.fips.FipsOutputValidator<T>
Type Parameters:
T - The parameters class for this verifier.
All Implemented Interfaces:
OutputValidator<T>

public abstract class FipsOutputValidator<T extends Parameters> extends Object implements OutputValidator<T>
Base class for a FIPS signature verifier.
  • Method Details

    • getParameters

      public abstract T getParameters()
      Description copied from interface: OutputValidator
      Return the parameters for this output verifier.
      Specified by:
      getParameters in interface OutputValidator<T extends Parameters>
      Returns:
      the verifier's parameters.
    • getValidatingStream

      public abstract UpdateOutputStream getValidatingStream()
      Description copied from interface: OutputValidator
      Returns a stream that will accept data for the purpose of verifying a previously calculated signature. Use org.bouncycastle.util.io.TeeOutputStream if you want to accumulate the data on the fly as well.
      Specified by:
      getValidatingStream in interface OutputValidator<T extends Parameters>
      Returns:
      an UpdateOutputStream
    • isValidated

      public abstract boolean isValidated()
      Description copied from interface: OutputValidator
      Return true if the data written to the validating stream validates against the underlying implementation.
      Specified by:
      isValidated in interface OutputValidator<T extends Parameters>
      Returns:
      true if the data validates, false otherwise.