| Constructor and Description |
|---|
DSAPublicKeySpec(BigInteger y,
BigInteger p,
BigInteger q,
BigInteger g)
Creates a new
DSAPublicKeySpec with the specified public 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 |
getY()
Returns the public key value
y. |
public DSAPublicKeySpec(BigInteger y, BigInteger p, BigInteger q, BigInteger g)
DSAPublicKeySpec with the specified public key,
prime, sub-prime and base.y - the public key value y.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 getY()
y.y.