org.bouncycastle.jce.spec
public class GOST3410PrivateKeySpec extends Object implements KeySpec
| Constructor Summary | |
|---|---|
| GOST3410PrivateKeySpec(BigInteger x, BigInteger p, BigInteger q, BigInteger a)
Creates a new GOST3410PrivateKeySpec with the specified parameter values.
| |
| Method Summary | |
|---|---|
| BigInteger | getA()
Returns the base a. |
| BigInteger | getP()
Returns the prime p. |
| BigInteger | getQ()
Returns the sub-prime q. |
| BigInteger | getX()
Returns the private key x. |
Parameters: x the private key. p the prime. q the sub-prime. a the base.
a.Returns: the base a.
p.Returns: the prime p.
q.Returns: the sub-prime q.
x.Returns: the private key x.