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.
|
| Modifier and Type | Method and Description |
|---|---|
java.math.BigInteger |
getA()
Returns the base a.
|
java.math.BigInteger |
getP()
Returns the prime p.
|
java.math.BigInteger |
getQ()
Returns the sub-prime q.
|
java.math.BigInteger |
getX()
Returns the private key x.
|
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()
public java.math.BigInteger getP()
public java.math.BigInteger getQ()
public java.math.BigInteger getA()