| java.lang.Object | |
| ↳ | java.security.AlgorithmParameterGeneratorSpi |
AlgorithmParameterGeneratorSpi is the Service Provider Interface
(SPI) definition for AlgorithmParameterGenerator.
See also:
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Constructs a new instance of
AlgorithmParameterGeneratorSpi .
| |||||||||||
| Protected Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Computes and returns
AlgorithmParameters for this generator's
algorithm.
| |||||||||||
Initializes this
AlgorithmParameterGeneratorSpi with the given
size and the given SecureRandom.
| |||||||||||
Initializes this
AlgorithmParameterGeneratorSpi with the given
AlgorithmParameterSpec and the given SecureRandom.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Constructs a new instance of AlgorithmParameterGeneratorSpi .
Computes and returns AlgorithmParameters for this generator's
algorithm.
| Returns | |
|---|---|
AlgorithmParameters |
AlgorithmParameters for this generator's algorithm.
|
Initializes this AlgorithmParameterGeneratorSpi with the given
size and the given SecureRandom. The default parameter set
will be used.
| Parameters | |
|---|---|
size |
int:
the size (in number of bits). |
random |
SecureRandom:
the source of randomness.
|
Initializes this AlgorithmParameterGeneratorSpi with the given
AlgorithmParameterSpec and the given SecureRandom.
| Parameters | |
|---|---|
genParamSpec |
AlgorithmParameterSpec:
the parameters to use. |
random |
SecureRandom:
the source of randomness. |
| Throws | |
|---|---|
InvalidAlgorithmParameterException |
if the specified parameters are not supported. |