Class DhParameters

java.lang.Object
org.bouncycastle.crypto.internal.params.DhParameters
All Implemented Interfaces:
CipherParameters

public class DhParameters extends Object implements CipherParameters
  • Constructor Details

  • Method Details

    • getP

      public BigInteger getP()
    • getG

      public BigInteger getG()
    • getQ

      public BigInteger getQ()
    • getJ

      public BigInteger getJ()
      Return the subgroup factor J.
      Returns:
      subgroup factor
    • getM

      public int getM()
      Return the minimum length of the private value.
      Returns:
      the minimum length of the private value in bits.
    • getL

      public int getL()
      Return the private value length in bits - if set, zero otherwise
      Returns:
      the private value length in bits, zero otherwise.
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object