Top Description Methods
org.bouncycastle.crypto

public Interface MACOperatorFactory<T extends AuthenticationParameters<T extends Parameters>>

Known Direct Implementers
org.bouncycastle.crypto.fips.FipsMACOperatorFactory, org.bouncycastle.crypto.general.GuardedMACOperatorFactory
Type Parameters
<T>
the parameters type for the MAC calculator we produce.

Base interface for a creator of MAC calculators.

Method Summary

Modifier and TypeMethod and Description
public OutputMACCalculator<T>

Returns:

a MAC calculator.
createOutputMACCalculator
(SymmetricKey
the key to use to initialise the MAC.
key
,
T
any additional parameters.
parameters
)

Create a MAC calculator which provides an OutputStream to write data to.

Method Detail

createOutputMACCalculatorback to summary
public OutputMACCalculator<T> createOutputMACCalculator(SymmetricKey key, T parameters)

Create a MAC calculator which provides an OutputStream to write data to.

Parameters
key:SymmetricKey

the key to use to initialise the MAC.

parameters:T

any additional parameters.

Returns:OutputMACCalculator<T>

a MAC calculator.