|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.crypto.spec.DHGenParameterSpec
public class DHGenParameterSpec
This class represents the parameters needed for generating Diffie-Hellman parameters.
DHParameterSpec| Constructor Summary | |
|---|---|
DHGenParameterSpec(int primeSize,
int exponentSize)
Create a new Diffie-Hellman parameter generator spec. |
|
| Method Summary | |
|---|---|
int |
getExponentSize()
Get the size of the exponent, in bits. |
int |
getPrimeSize()
Get the size of the prime, in bits. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DHGenParameterSpec(int primeSize,
int exponentSize)
primeSize - The size of the prime, in bits.exponentSize - The size of the exponent, in bits.| Method Detail |
|---|
public int getExponentSize()
public int getPrimeSize()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||