Package org.bouncycastle.jce.spec
Class GOST3410PublicKeyParameterSetSpec
- java.lang.Object
-
- org.bouncycastle.jce.spec.GOST3410PublicKeyParameterSetSpec
-
public class GOST3410PublicKeyParameterSetSpec extends java.lang.Object
ParameterSpec for a GOST 3410-94 key parameters.
-
-
Constructor Summary
Constructors Constructor Description GOST3410PublicKeyParameterSetSpec(java.math.BigInteger p, java.math.BigInteger q, java.math.BigInteger a)
Creates a new GOST3410ParameterSpec with the specified parameter values.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.math.BigInteger
getA()
Returns the basea
.java.math.BigInteger
getP()
Returns the primep
.java.math.BigInteger
getQ()
Returns the sub-primeq
.int
hashCode()
-
-
-
Method Detail
-
getP
public java.math.BigInteger getP()
Returns the primep
.- Returns:
- the prime
p
.
-
getQ
public java.math.BigInteger getQ()
Returns the sub-primeq
.- Returns:
- the sub-prime
q
.
-
getA
public java.math.BigInteger getA()
Returns the basea
.- Returns:
- the base
a
.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-