Interface AEADOperatorFactory<T extends Parameters>

Type Parameters:
T - the type for the parameters for the operator made by this factory.
All Known Implementing Classes:
AES.AEADOperatorFactory, ARIA.AEADOperatorFactory, Blowfish.AEADOperatorFactory, Camellia.AEADOperatorFactory, CAST5.AEADOperatorFactory, ChaCha20.AEADOperatorFactory, DES.AEADOperatorFactory, FipsAEADOperatorFactory, FipsAES.AEADOperatorFactory, GOST28147.AEADOperatorFactory, IDEA.AEADOperatorFactory, RC2.AEADOperatorFactory, SEED.AEADOperatorFactory, Serpent.AEADOperatorFactory, SHACAL2.AEADOperatorFactory, TripleDES.AEADOperatorFactory, Twofish.AEADOperatorFactory

public interface AEADOperatorFactory<T extends Parameters>
Interface for factories producing encryptor/decryptor objects supporting AEAD modes.
  • Method Details

    • createOutputAEADEncryptor

      OutputAEADEncryptor<T> createOutputAEADEncryptor(SymmetricKey key, T parameters)
      Create an object for encrypting output and handling AAD data.
      Parameters:
      key - the key to use to set up the encryptor.
      parameters - any additional parameters required to set up the encryptor.
      Returns:
      an AEAD encryptor which can be used wrap an output stream.
    • createOutputAEADDecryptor

      OutputAEADDecryptor<T> createOutputAEADDecryptor(SymmetricKey key, T parameters)
      Create an object for decrypting output and handling AAD data.
      Parameters:
      key - the key to use to set up the decryptor.
      parameters - any additional parameters required to set up the decryptor.
      Returns:
      an AEAD decryptor which can be used wrap an output stream.
    • createInputAEADDecryptor

      InputAEADDecryptor<T> createInputAEADDecryptor(SymmetricKey key, T parameters)
      Create an object for decrypting input and handling AAD data.
      Parameters:
      key - the key to use to set up the decryptor.
      parameters - any additional parameters required to set up the decryptor.
      Returns:
      an AEAD decryptor which can be used wrap an input stream.