java.security
public abstract class AlgorithmParameterGeneratorSpi extends Object
Since: JDK 1.2
Constructor Summary | |
---|---|
AlgorithmParameterGeneratorSpi()
Constructs a new AlgorithmParameterGeneratorSpi |
Method Summary | |
---|---|
protected abstract AlgorithmParameters | engineGenerateParameters()
Generate a new set of AlgorithmParameters. |
protected abstract void | engineInit(int size, SecureRandom random)
Initializes the parameter generator with the specified size
and SecureRandom |
protected abstract void | engineInit(AlgorithmParameterSpec genParamSpec, SecureRandom random)
Initializes the parameter generator with the specified
AlgorithmParameterSpec and SecureRandom classes.
|
UNKNOWN: a new set of algorithm parameters
Parameters: size the size( in number of bits) random the SecureRandom class to use for randomness
Parameters: genParamSpec the AlgorithmParameterSpec class to use random the SecureRandom class to use for randomness
Throws: InvalidAlgorithmParameterException genParamSpec is invalid