AlgorithmParameterSpec
| Modifier and Type | Field and Description |
|---|---|
| private final int | |
| private final int | |
| private final int |
| Access | Constructor and Description |
|---|---|
| public | DSAGenParameterSpec(int
the desired length of the prime P in bits. primePLen, int the desired length of the sub-prime Q in bits. subprimeQLen)Creates a domain parameter specification for DSA parameter
generation using |
| public | DSAGenParameterSpec(int
the desired length of the prime P in bits. primePLen, int the desired length of the sub-prime Q in bits. subprimeQLen, int the desired length of the domain parameter seed in bits,
shall be equal to or greater than seedLen)subprimeQLen.Creates a domain parameter specification for DSA parameter
generation using |
| Modifier and Type | Method and Description |
|---|---|
| public int | Returns: the length of the prime P.Returns the desired length of the prime P of the to-be-generated DSA domain parameters in bits. |
| public int | Returns: the length of the domain parameter seed.Returns the desired length of the domain parameter seed in bits. |
| public int | Returns: the length of the sub-prime Q.Returns the desired length of the sub-prime Q of the to-be-generated DSA domain parameters in bits. |
| pLen | back to summary |
|---|---|
| private final int pLen | |
| qLen | back to summary |
|---|---|
| private final int qLen | |
| seedLen | back to summary |
|---|---|
| private final int seedLen | |
| DSAGenParameterSpec | back to summary |
|---|---|
| public DSAGenParameterSpec(int primePLen, int subprimeQLen) Creates a domain parameter specification for DSA parameter
generation using
| |
| DSAGenParameterSpec | back to summary |
|---|---|
| public DSAGenParameterSpec(int primePLen, int subprimeQLen, int seedLen) Creates a domain parameter specification for DSA parameter
generation using
| |
| getPrimePLength | back to summary |
|---|---|
| public int getPrimePLength() Returns the desired length of the prime P of the to-be-generated DSA domain parameters in bits.
| |
| getSeedLength | back to summary |
|---|---|
| public int getSeedLength() Returns the desired length of the domain parameter seed in bits.
| |
| getSubprimeQLength | back to summary |
|---|---|
| public int getSubprimeQLength() Returns the desired length of the sub-prime Q of the to-be-generated DSA domain parameters in bits.
| |