Creates a new DHPrivateKeySpec with the specified private value x. prime modulus p and base generator g.paramx the private value.paramp the prime modulus.paramg the base generator. this.x = x; this.p = p; this.g = g;
DHPrivateKeySpec
x
p
g
this.x = x; this.p = p; this.g = g;
Returns the base generator g.returnthe base generator g. return g;
return g;
Returns the prime modulus p.returnthe prime modulus p. return p;
return p;
Returns the private value x.returnthe private value x. return x;
return x;