java.lang.Object | ||
↳ | java.security.AlgorithmParameterGeneratorSpi | |
↳ | sun.security.provider.DSAParameterGenerator |
This class generates parameters for the DSA algorithm. It uses a default prime modulus size of 1024 bits, which can be overwritten during initialization.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Generates the parameters.
| |||||||||||
Initializes this parameter generator for a certain strength
and source of randomness.
| |||||||||||
Initializes this parameter generator with a set of
algorithm-specific parameter generation values.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Generates the parameters.
Initializes this parameter generator for a certain strength and source of randomness.
strength | the strength (size of prime) in bits |
---|---|
random | the source of randomness |
Initializes this parameter generator with a set of algorithm-specific parameter generation values.
genParamSpec | the set of algorithm-specific parameter generation values. |
---|---|
random | the source of randomness |
InvalidAlgorithmParameterException | if the given parameter generation values are inappropriate for this parameter generator |
---|