All Known Subinterfaces:
GordianDigest, GordianMac, GordianSignature, GordianXof

public interface GordianConsumer
GordianKnot interface for Consumers such as Message Digests, Macs and Signatures.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Reset the Consumer.
    void
    update(byte pByte)
    Update the consumer with a single byte.
    default void
    update(byte[] pBytes)
    Update the consumer with a byte array.
    void
    update(byte[] pBytes, int pOffset, int pLength)
    Update the consumer with a portion of a byte array.
  • Method Details

    • update

      void update(byte[] pBytes, int pOffset, int pLength)
      Update the consumer with a portion of a byte array.
      Parameters:
      pBytes - the bytes to update with.
      pOffset - the offset of the data within the byte array
      pLength - the length of the data to use
    • update

      void update(byte pByte)
      Update the consumer with a single byte.
      Parameters:
      pByte - the byte to update with.
    • update

      default void update(byte[] pBytes)
      Update the consumer with a byte array.
      Parameters:
      pBytes - the bytes to update with.
    • reset

      void reset()
      Reset the Consumer.