Package org.bouncycastle.crypto.fips
Class FipsKTSOperatorFactory<T extends FipsParameters>
java.lang.Object
org.bouncycastle.crypto.fips.FipsKTSOperatorFactory<T>
- Type Parameters:
T
- the parameters type associated with the final implementation of this factory.
- All Implemented Interfaces:
KTSOperatorFactory<T>
- Direct Known Subclasses:
FipsRSA.KTSOperatorFactory
public abstract class FipsKTSOperatorFactory<T extends FipsParameters>
extends Object
implements KTSOperatorFactory<T>
Base class for the approved mode KTSOperatorFactory implementations.
-
Method Summary
Modifier and TypeMethodDescriptionabstract FipsEncapsulatedSecretExtractor<T>
createExtractor
(Key key, T parameters) Return an extractor for processing encapsulated secrets, initialized with the passed in keys and parameters.abstract FipsEncapsulatingSecretGenerator<T>
createGenerator
(Key key, T parameters) Return a generator for making encapsulated secrets, initialized with the passed in keys and parameters.
-
Method Details
-
createGenerator
Description copied from interface:KTSOperatorFactory
Return a generator for making encapsulated secrets, initialized with the passed in keys and parameters.- Specified by:
createGenerator
in interfaceKTSOperatorFactory<T extends FipsParameters>
- Parameters:
key
- the key to initialize the generator with.parameters
- parameters specifying the characteristics of the generator.- Returns:
- an initialized generator.
-
createExtractor
Description copied from interface:KTSOperatorFactory
Return an extractor for processing encapsulated secrets, initialized with the passed in keys and parameters.- Specified by:
createExtractor
in interfaceKTSOperatorFactory<T extends FipsParameters>
- Parameters:
key
- the key to initialize the generator with.parameters
- parameters specifying the characteristics of the extractor.- Returns:
- an initialized extractor.
-