| Constructor and Description |
|---|
DSAPrivateKeySpec(BigInteger x,
BigInteger p,
BigInteger q,
BigInteger g)
Creates a new
DSAPrivateKeySpec with the specified private key,
prime, sub-prime and base. |
| Modifier and Type | Method and Description |
|---|---|
BigInteger |
getG()
Returns the base
g. |
BigInteger |
getP()
Returns the prime
p. |
BigInteger |
getQ()
Returns the sub-prime
q. |
BigInteger |
getX()
Returns the private key
x. |
public DSAPrivateKeySpec(BigInteger x, BigInteger p, BigInteger q, BigInteger g)
DSAPrivateKeySpec with the specified private key,
prime, sub-prime and base.x - the private key x.p - the prime p.q - the sub-prime q.g - the base g.public BigInteger getG()
g.g.public BigInteger getP()
p.p.public BigInteger getQ()
q.q.public BigInteger getX()
x.x.