Class GOST3410DomainParameters


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

      Constructors 
      Constructor Description
      GOST3410DomainParameters​(int keySize, java.math.BigInteger p, java.math.BigInteger q, java.math.BigInteger a)
      Base constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      java.math.BigInteger getA()
      The a value.
      int getKeySize()
      Return the keySize associated with these parameters.
      java.math.BigInteger getP()
      The p value.
      java.math.BigInteger getQ()
      The q value.
      int hashCode()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • GOST3410DomainParameters

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

      • getKeySize

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

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

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

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

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object