T
- the parameters type for the operators the factory creates.public interface SymmetricOperatorFactory<T extends Parameters>
Modifier and Type | Method and Description |
---|---|
InputDecryptor<T> |
createInputDecryptor(SymmetricKey key,
T parameter)
Return a decryptor that operates on an input stream.
|
OutputDecryptor<T> |
createOutputDecryptor(SymmetricKey key,
T parameter)
Return a decryptor that operates on an output stream.
|
OutputEncryptor<T> |
createOutputEncryptor(SymmetricKey key,
T parameter)
Return an encryptor that operates on an output stream.
|
OutputEncryptor<T> createOutputEncryptor(SymmetricKey key, T parameter)
key
- the key to initialize the encryptor with.parameter
- the parameters to use to initialize the encryptor.OutputDecryptor<T> createOutputDecryptor(SymmetricKey key, T parameter)
key
- the key to initialize the encryptor with.parameter
- the parameters to use to initialize the encryptor.InputDecryptor<T> createInputDecryptor(SymmetricKey key, T parameter)
key
- the key to initialize the encryptor with.parameter
- the parameters to use to initialize the encryptor.