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.
BigInteger | getA() - Returns the base
a .
|
BigInteger | getP() - Returns the prime
p .
|
BigInteger | getQ() - Returns the sub-prime
q .
|
GOST3410PublicKeyParameterSetSpec
public GOST3410PublicKeyParameterSetSpec(BigInteger p,
BigInteger q,
BigInteger a)
Creates a new GOST3410ParameterSpec with the specified parameter values.
p
- the prime.q
- the sub-prime.a
- the base.
getA
public BigInteger getA()
Returns the base a
.
- the base
a
.
getP
public BigInteger getP()
Returns the prime p
.
- the prime
p
.
getQ
public BigInteger getQ()
Returns the sub-prime q
.
- the sub-prime
q
.