Package org.bouncycastle.crypto
Interface KTSOperatorFactory<T extends Parameters>
- Type Parameters:
T
- the parameters type for the encapsulators and extractors we produce.
- All Known Implementing Classes:
FipsKTSOperatorFactory
,FipsRSA.KTSOperatorFactory
public interface KTSOperatorFactory<T extends Parameters>
Base interface for a creator of secret value encapsulators and extractors.
-
Method Summary
Modifier and TypeMethodDescriptioncreateExtractor
(Key key, T parameters) Return an extractor for processing encapsulated secrets, initialized with the passed in keys and parameters.createGenerator
(Key key, T parameters) Return a generator for making encapsulated secrets, initialized with the passed in keys and parameters.
-
Method Details
-
createGenerator
Return a generator for making encapsulated secrets, initialized with the passed in keys and parameters.- Parameters:
key
- the key to initialize the generator with.parameters
- parameters specifying the characteristics of the generator.- Returns:
- an initialized generator.
-
createExtractor
Return an extractor for processing encapsulated secrets, initialized with the passed in keys and parameters.- Parameters:
key
- the key to initialize the generator with.parameters
- parameters specifying the characteristics of the extractor.- Returns:
- an initialized extractor.
-