public class GOST3410PrivateKeySpec
extends java.lang.Object
implements java.security.spec.KeySpec
Constructor and Description |
---|
GOST3410PrivateKeySpec(java.math.BigInteger x,
java.math.BigInteger p,
java.math.BigInteger q,
java.math.BigInteger a)
Creates a new GOST3410PrivateKeySpec with the specified parameter values.
|
public GOST3410PrivateKeySpec(java.math.BigInteger x, java.math.BigInteger p, java.math.BigInteger q, java.math.BigInteger a)
x
- the private key.p
- the prime.q
- the sub-prime.a
- the base.public java.math.BigInteger getX()
x
.x
.public java.math.BigInteger getP()
p
.p
.public java.math.BigInteger getQ()
q
.q
.public java.math.BigInteger getA()
a
.a
.