T
- the type for the parameters for the operator made by this factory.public interface AEADOperatorFactory<T extends Parameters>
Modifier and Type | Method and Description |
---|---|
InputAEADDecryptor<T> |
createInputAEADDecryptor(SymmetricKey key,
T parameters)
Create an object for decrypting input and handling AAD data.
|
OutputAEADDecryptor<T> |
createOutputAEADDecryptor(SymmetricKey key,
T parameters)
Create an object for decrypting output and handling AAD data.
|
OutputAEADEncryptor<T> |
createOutputAEADEncryptor(SymmetricKey key,
T parameters)
Create an object for encrypting output and handling AAD data.
|
OutputAEADEncryptor<T> createOutputAEADEncryptor(SymmetricKey key, T parameters)
key
- the key to use to set up the encryptor.parameters
- any additional parameters required to set up the encryptor.OutputAEADDecryptor<T> createOutputAEADDecryptor(SymmetricKey key, T parameters)
key
- the key to use to set up the decryptor.parameters
- any additional parameters required to set up the decryptor.InputAEADDecryptor<T> createInputAEADDecryptor(SymmetricKey key, T parameters)
key
- the key to use to set up the decryptor.parameters
- any additional parameters required to set up the decryptor.