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 Details

    • 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.