Package org.bouncycastle.jce.spec
Class GOST3410PublicKeyParameterSetSpec
- java.lang.Object
-
- org.bouncycastle.jce.spec.GOST3410PublicKeyParameterSetSpec
-
public class GOST3410PublicKeyParameterSetSpec extends java.lang.ObjectParameterSpec 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 booleanequals(java.lang.Object o)java.math.BigIntegergetA()Returns the basea.java.math.BigIntegergetP()Returns the primep.java.math.BigIntegergetQ()Returns the sub-primeq.inthashCode()
-
-
-
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:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-