This class is a transparent representation
of the values needed to generate a set of Diffie-Hellman parameters
(see DHParameterSpec). An instance of this class
can be passed to the init( ) method of a
java.security.AlgorithmParameterGenerator that
computes Diffie-Hellman parameters.

public class DHGenParameterSpec implements java.security.spec.AlgorithmParameterSpec {
// Public Constructors
public DHGenParameterSpec(int primeSize, int exponentSize);
// Public Instance Methods
public int getExponentSize( );
public int getPrimeSize( );
}