Constructor and Description |
---|
GOST3410PrivateKeySpec(BigInteger x,
BigInteger p,
BigInteger q,
BigInteger a)
Creates a new GOST3410PrivateKeySpec with the specified parameter values.
|
Modifier and Type | Method and Description |
---|---|
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 . |
public GOST3410PrivateKeySpec(BigInteger x, BigInteger p, BigInteger q, BigInteger a)
x
- the private key.p
- the prime.q
- the sub-prime.a
- the base.public BigInteger getX()
x
.x
.public BigInteger getP()
p
.p
.public BigInteger getQ()
q
.q
.public BigInteger getA()
a
.a
.Copyright © 2015. All rights reserved.