org.bouncycastle.jce.spec

Class GOST3410PublicKeyParameterSetSpec

public class GOST3410PublicKeyParameterSetSpec extends Object

ParameterSpec for a GOST 3410-94 key parameters.
Constructor Summary
GOST3410PublicKeyParameterSetSpec(BigInteger p, BigInteger q, BigInteger a)
Creates a new GOST3410ParameterSpec with the specified parameter values.
Method Summary
booleanequals(Object o)
BigIntegergetA()
Returns the base a.
BigIntegergetP()
Returns the prime p.
BigIntegergetQ()
Returns the sub-prime q.
inthashCode()

Constructor Detail

GOST3410PublicKeyParameterSetSpec

public GOST3410PublicKeyParameterSetSpec(BigInteger p, BigInteger q, BigInteger a)
Creates a new GOST3410ParameterSpec with the specified parameter values.

Parameters: p the prime. q the sub-prime. a the base.

Method Detail

equals

public boolean equals(Object o)

getA

public BigInteger getA()
Returns the base a.

Returns: the base a.

getP

public BigInteger getP()
Returns the prime p.

Returns: the prime p.

getQ

public BigInteger getQ()
Returns the sub-prime q.

Returns: the sub-prime q.

hashCode

public int hashCode()