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 Summary
Modifier and TypeMethodDescriptioncreateInputAEADDecryptor(SymmetricKey key, T parameters) Create an object for decrypting input and handling AAD data.createOutputAEADDecryptor(SymmetricKey key, T parameters) Create an object for decrypting output and handling AAD data.createOutputAEADEncryptor(SymmetricKey key, T parameters) Create an object for encrypting output and handling AAD data.
-
Method Details
-
createOutputAEADEncryptor
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
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
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.
-