Java javax.crypto.spec DHParameterSpec fields, constructors, methods, implement or subclass

Example usage for Java javax.crypto.spec DHParameterSpec fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for javax.crypto.spec DHParameterSpec.

The text is from its open source code.

Constructor

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).

Method

BigIntegergetG()
Returns the base generator g.
intgetL()
Returns the size in bits, l, of the random exponent (private value).
BigIntegergetP()
Returns the prime modulus p.