java.security
Class AlgorithmParameterGeneratorSpi
java.lang.Object
|
+--java.security.AlgorithmParameterGeneratorSpi
public abstract class
AlgorithmParameterGeneratorSpiextends
ObjectAlgorithmParameterGeneratorSpi is the Service Provider
Interface for the AlgorithmParameterGenerator class.
This class is used to generate the algorithm parameters
for a specific algorithm.
Since:Author:AlgorithmParameterGeneratorSpi
public AlgorithmParameterGeneratorSpi()
Constructs a new AlgorithmParameterGeneratorSpi
engineGenerateParameters
protected AlgorithmParameters engineGenerateParameters()
Generate a new set of AlgorithmParameters.
engineInit
protected void engineInit(int size, java.security.SecureRandom random)
Initializes the parameter generator with the specified size
and SecureRandom
Parameters:
engineInit
protected void engineInit(java.security.spec.AlgorithmParameterSpec genParamSpec, java.security.SecureRandom random)
Initializes the parameter generator with the specified
AlgorithmParameterSpec and SecureRandom classes.
If genParamSpec is an invalid AlgorithmParameterSpec for this
AlgorithmParameterGeneratorSpi then it throws
InvalidAlgorithmParameterException
Parameters:
Throws: