public DHParameterSpec (BigInteger p, BigInteger g)

Constructs a parameter set for Diffie-Hellman, using a prime modulus p and a base generator g.

Parameters:
p    the prime modulus
g    the base generator