Top Description Methods
org.bouncycastle.crypto

public Interface KTSOperatorFactory<T extends Parameters>

Known Direct Implementers
org.bouncycastle.crypto.fips.FipsKTSOperatorFactory
Type Parameters
<T>
the parameters type for the encapsulators and extractors we produce.

Base interface for a creator of secret value encapsulators and extractors.

Method Summary

Modifier and TypeMethod and Description
public EncapsulatedSecretExtractor<T extends Parameters>

Returns:

an initialized extractor.
createExtractor
(Key
the key to initialize the generator with.
key
,
T
parameters specifying the characteristics of the extractor.
parameters
)

Return an extractor for processing encapsulated secrets, initialized with the passed in keys and parameters.

public EncapsulatingSecretGenerator<T extends Parameters>

Returns:

an initialized generator.
createGenerator
(Key
the key to initialize the generator with.
key
,
T
parameters specifying the characteristics of the generator.
parameters
)

Return a generator for making encapsulated secrets, initialized with the passed in keys and parameters.

Method Detail

createExtractorback to summary
public EncapsulatedSecretExtractor<T extends Parameters> createExtractor(Key key, T parameters)

Return an extractor for processing encapsulated secrets, initialized with the passed in keys and parameters.

Parameters
key:Key

the key to initialize the generator with.

parameters:T

parameters specifying the characteristics of the extractor.

Returns:EncapsulatedSecretExtractor<T extends Parameters>

an initialized extractor.

createGeneratorback to summary
public EncapsulatingSecretGenerator<T extends Parameters> createGenerator(Key key, T parameters)

Return a generator for making encapsulated secrets, initialized with the passed in keys and parameters.

Parameters
key:Key

the key to initialize the generator with.

parameters:T

parameters specifying the characteristics of the generator.

Returns:EncapsulatingSecretGenerator<T extends Parameters>

an initialized generator.