Package org.bouncycastle.crypto.fips
Class FipsSHS.KeyedXOFOperatorFactory<T extends FipsParameters>
java.lang.Object
org.bouncycastle.crypto.fips.FipsKeyedXOFOperatorFactory<T>
org.bouncycastle.crypto.fips.FipsSHS.KeyedXOFOperatorFactory<T>
- All Implemented Interfaces:
KeyedXOFOperatorFactory<T>
- Enclosing class:
FipsSHS
public static final class FipsSHS.KeyedXOFOperatorFactory<T extends FipsParameters>
extends FipsKeyedXOFOperatorFactory<T>
Factory for producing extendable output function (XOF) MAC calculators.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateOutputXOFCalculator(SymmetricKey key, T parameters) Create an extendable output function calculator which provides an OutputStream to write data to.
-
Constructor Details
-
KeyedXOFOperatorFactory
public KeyedXOFOperatorFactory()
-
-
Method Details
-
createOutputXOFCalculator
Description copied from interface:KeyedXOFOperatorFactoryCreate an extendable output function calculator which provides an OutputStream to write data to.- Specified by:
createOutputXOFCalculatorin interfaceKeyedXOFOperatorFactory<T extends FipsParameters>- Specified by:
createOutputXOFCalculatorin classFipsKeyedXOFOperatorFactory<T extends FipsParameters>- Parameters:
key- the secret keyto initialise the XOF with.parameters- configuration parameters for the function.- Returns:
- an XOF calculator.
-