T
- the type for the parameters for the operator made by this factory.public interface AsymmetricOperatorFactory<T extends Parameters>
Modifier and Type | Method and Description |
---|---|
SingleBlockDecryptor<T> |
createBlockDecryptor(AsymmetricKey key,
T parameter)
Create a block decryptor for the passed in key and parameter set.
|
SingleBlockEncryptor<T> |
createBlockEncryptor(AsymmetricKey key,
T parameter)
Create a block encryptor for the passed in key and parameter set.
|
SingleBlockEncryptor<T> createBlockEncryptor(AsymmetricKey key, T parameter)
key
- the key to be used in the encryptor.parameter
- the parameter set for the encryptor.SingleBlockDecryptor<T> createBlockDecryptor(AsymmetricKey key, T parameter)
key
- the key to be used in the decryptor.parameter
- the parameter set for the decryptor.