Package org.bouncycastle.crypto.fips
Class FipsKeyedXOFOperatorFactory<T extends FipsParameters>
java.lang.Object
org.bouncycastle.crypto.fips.FipsKeyedXOFOperatorFactory<T>
- Type Parameters:
T
- the parameters type associated with the final implementation of this factory.
- All Implemented Interfaces:
KeyedXOFOperatorFactory<T>
- Direct Known Subclasses:
FipsSHS.KeyedXOFOperatorFactory
public abstract class FipsKeyedXOFOperatorFactory<T extends FipsParameters>
extends Object
implements KeyedXOFOperatorFactory<T>
Base class for the approved mode KeyedXOFOperatorFactory implementations.
-
Method Summary
Modifier and TypeMethodDescriptionabstract FipsOutputXOFCalculator<T>
createOutputXOFCalculator
(SymmetricKey key, T parameter) Create an extendable output function calculator which provides an OutputStream to write data to.
-
Method Details
-
createOutputXOFCalculator
Description copied from interface:KeyedXOFOperatorFactory
Create an extendable output function calculator which provides an OutputStream to write data to.- Specified by:
createOutputXOFCalculator
in interfaceKeyedXOFOperatorFactory<T extends FipsParameters>
- Parameters:
key
- the secret keyto initialise the XOF with.parameter
- configuration parameters for the function.- Returns:
- an XOF calculator.
-