All Known Subinterfaces:
GordianKeySetAADCipher, GordianStreamAEADCipher, GordianSymAEADCipher

public interface GordianAEADCipher
GordianKnot base for AEAD Cipher.
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    updateAAD(byte[] pBytes)
    Process the passed AEAD data.
    void
    updateAAD(byte[] pBytes, int pOffset, int pLength)
    Process the passed AEAD data.
  • Method Details

    • updateAAD

      default void updateAAD(byte[] pBytes) throws GordianException
      Process the passed AEAD data.
      Parameters:
      pBytes - AEAD Bytes to update cipher with
      Throws:
      GordianException - on error
    • updateAAD

      void updateAAD(byte[] pBytes, int pOffset, int pLength) throws GordianException
      Process the passed AEAD data.
      Parameters:
      pBytes - AEAD Bytes to update cipher with
      pOffset - offset within pBytes to read bytes from
      pLength - length of data to update with
      Throws:
      GordianException - on error