public abstract class AlgorithmParameterGeneratorSpi extends Object
AlgorithmParameterGeneratorSpi is the Service Provider Interface
(SPI) definition for AlgorithmParameterGenerator.AlgorithmParameterGenerator| Constructor and Description |
|---|
AlgorithmParameterGeneratorSpi()
Constructs a new instance of
AlgorithmParameterGeneratorSpi . |
| Modifier and Type | Method and Description |
|---|---|
protected abstract AlgorithmParameters |
engineGenerateParameters()
Computes and returns
AlgorithmParameters for this generator's
algorithm. |
protected abstract void |
engineInit(AlgorithmParameterSpec genParamSpec,
SecureRandom random)
Initializes this
AlgorithmParameterGeneratorSpi with the given
AlgorithmParameterSpec and the given SecureRandom. |
protected abstract void |
engineInit(int size,
SecureRandom random)
Initializes this
AlgorithmParameterGeneratorSpi with the given
size and the given SecureRandom. |
public AlgorithmParameterGeneratorSpi()
AlgorithmParameterGeneratorSpi .protected abstract void engineInit(int size,
SecureRandom random)
AlgorithmParameterGeneratorSpi with the given
size and the given SecureRandom. The default parameter set
will be used.size - the size (in number of bits).random - the source of randomness.protected abstract void engineInit(AlgorithmParameterSpec genParamSpec, SecureRandom random) throws InvalidAlgorithmParameterException
AlgorithmParameterGeneratorSpi with the given
AlgorithmParameterSpec and the given SecureRandom.genParamSpec - the parameters to use.random - the source of randomness.InvalidAlgorithmParameterException - if the specified parameters are not supported.protected abstract AlgorithmParameters engineGenerateParameters()
AlgorithmParameters for this generator's
algorithm.AlgorithmParameters for this generator's algorithm.