Class DHGroup

java.lang.Object
org.bouncycastle.tls.crypto.DHGroup

public class DHGroup extends Object
Carrier class for Diffie-Hellman group parameters.
  • Constructor Details

    • DHGroup

      public DHGroup(BigInteger p, BigInteger q, BigInteger g, int l)
      Base constructor with the prime factor of (p - 1).
      Parameters:
      p - the prime modulus.
      q - specifies the prime factor of (p - 1).
      g - the base generator.
  • Method Details