-
DSAGenParameterSpec
public DSAGenParameterSpec​(int primePLen,
int subprimeQLen,
int seedLen)
Creates a domain parameter specification for DSA parameter generation using primePLen, subprimeQLen, and seedLen.
-
Parameters:
-
primePLen - the desired length of the prime P in bits.
-
subprimeQLen - the desired length of the sub-prime Q in bits.
-
seedLen - the desired length of the domain parameter seed in bits, shall be equal to or greater than subprimeQLen.
-
Throws:
-
IllegalArgumentException - if primePLenLen, subprimeQLen, or seedLen is illegal per the specification of FIPS 186-3.
|
|