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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EncapsulatedSecretExtractorcreateExtractor(Key key, T parameters)Return an extractor for processing encapsulated secrets, initialized with the passed in keys and parameters.EncapsulatingSecretGeneratorcreateGenerator(Key key, T parameters)Return a generator for making encapsulated secrets, initialized with the passed in keys and parameters.
-
-
-
Method Detail
-
createGenerator
EncapsulatingSecretGenerator createGenerator(Key key, T parameters)
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
EncapsulatedSecretExtractor createExtractor(Key key, T parameters)
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.
-
-