Example usage for Java javax.crypto.spec DHParameterSpec fields, constructors, methods, implement or subclass
The text is from its open source code.
DHParameterSpec(BigInteger p, BigInteger g) Constructs a parameter set for Diffie-Hellman, using a prime modulus p and a base generator g . | |
DHParameterSpec(BigInteger p, BigInteger g, int l) Constructs a parameter set for Diffie-Hellman, using a prime modulus p , a base generator g , and the size in bits, l , of the random exponent (private value). |
BigInteger | getG() Returns the base generator g . |
int | getL() Returns the size in bits, l , of the random exponent (private value). |
BigInteger | getP() Returns the prime modulus p . |