Class GOST3410DomainParameters

java.lang.Object
org.bouncycastle.crypto.asymmetric.GOST3410DomainParameters

public class GOST3410DomainParameters extends Object
Domain parameters for GOST R 34.10-1994.
  • Constructor Details

    • GOST3410DomainParameters

      public GOST3410DomainParameters(int keySize, BigInteger p, BigInteger q, BigInteger a)
      Base constructor.
      Parameters:
      keySize - size of the p value (in bits).
      p - p value.
      q - q value.
      a - a value.
  • Method Details

    • getKeySize

      public int getKeySize()
      Return the keySize associated with these parameters.
      Returns:
      the size of the p value in bits.
    • getP

      public BigInteger getP()
      The p value.
      Returns:
      p.
    • getQ

      public BigInteger getQ()
      The q value.
      Returns:
      q.
    • getA

      public BigInteger getA()
      The a value.
      Returns:
      a.
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object