Interface AADProcessor

All Known Subinterfaces:
InputAEADDecryptor, OutputAEADEncryptor

public interface AADProcessor
Base interface for extra methods required for handling associated data in AEAD ciphers.
  • Method Summary

    Modifier and Type
    Method
    Description
    Return a stream to write associated data to in order to have it incorporated into the AEAD cipher's MAC.
    byte[]
    Return the final value of AEAD cipher's MAC.
  • Method Details

    • getAADStream

      OutputStream getAADStream()
      Return a stream to write associated data to in order to have it incorporated into the AEAD cipher's MAC.
      Returns:
      a stream for collecting associated data.
    • getMAC

      byte[] getMAC()
      Return the final value of AEAD cipher's MAC.
      Returns:
      MAC value for the AEAD cipher.