java.lang.Object | |
↳ | org.bouncycastle.crypto.generators.DSAParametersGenerator |
generate suitable parameters for DSA, in line with FIPS 186-2.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
which generates the p and g values from the given parameters,
returning the DSAParameters object.
| |||||||||||
initialise the key generator.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
which generates the p and g values from the given parameters, returning the DSAParameters object.
Note: can take a while...
initialise the key generator.
size | size of the key (range 2^512 -> 2^1024 - 64 bit increments) |
---|---|
certainty | measure of robustness of prime (for FIPS 186-2 compliance this should be at least 80). |
random | random byte source. |