T
- the parameters type for the MAC calculator we produce.public interface MACOperatorFactory<T extends AuthenticationParameters>
Modifier and Type | Method and Description |
---|---|
OutputMACCalculator<T> |
createOutputMACCalculator(SymmetricKey key,
T parameters)
Create a MAC calculator which provides an OutputStream to write data to.
|
OutputMACCalculator<T> createOutputMACCalculator(SymmetricKey key, T parameters)
key
- the key to use to initialise the MAC.parameters
- any additional parameters.