public class GOST3410PublicKeySpec
extends java.lang.Object
implements java.security.spec.KeySpec
Constructor and Description |
---|
GOST3410PublicKeySpec(java.math.BigInteger y,
java.math.BigInteger p,
java.math.BigInteger q,
java.math.BigInteger a)
Creates a new GOST3410PublicKeySpec with the specified parameter values.
|
Modifier and Type | Method and Description |
---|---|
java.math.BigInteger |
getA()
Returns the base
g . |
java.math.BigInteger |
getP()
Returns the prime
p . |
java.math.BigInteger |
getQ()
Returns the sub-prime
q . |
java.math.BigInteger |
getY()
Returns the public key
y . |
public GOST3410PublicKeySpec(java.math.BigInteger y, java.math.BigInteger p, java.math.BigInteger q, java.math.BigInteger a)
y
- the public key.p
- the prime.q
- the sub-prime.a
- the base.public java.math.BigInteger getY()
y
.y
.public java.math.BigInteger getP()
p
.p
.public java.math.BigInteger getQ()
q
.q
.public java.math.BigInteger getA()
g
.g
.