Class FipsKTSOperatorFactory<T extends FipsParameters>

  • 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 java.lang.Object
    implements KTSOperatorFactory<T>
    Base class for the approved mode KTSOperatorFactory implementations.
    • Method Detail

      • createGenerator

        public abstract FipsEncapsulatingSecretGenerator<T> createGenerator​(Key key,
                                                                            T parameters)
        Description copied from interface: KTSOperatorFactory
        Return a generator for making encapsulated secrets, initialized with the passed in keys and parameters.
        Specified by:
        createGenerator in interface KTSOperatorFactory<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

        public abstract FipsEncapsulatedSecretExtractor<T> createExtractor​(Key key,
                                                                           T parameters)
        Description copied from interface: KTSOperatorFactory
        Return an extractor for processing encapsulated secrets, initialized with the passed in keys and parameters.
        Specified by:
        createExtractor in interface KTSOperatorFactory<T extends FipsParameters>
        Parameters:
        key - the key to initialize the generator with.
        parameters - parameters specifying the characteristics of the extractor.
        Returns:
        an initialized extractor.