public class DSAPublicKeySpec extends Object implements KeySpec
| Constructor and Description |
|---|
DSAPublicKeySpec(BigInteger y,
BigInteger p,
BigInteger q,
BigInteger g)
Constructs a new DSAPublicKeySpec with the specified y, p, q, and g.
|
| Modifier and Type | Method and Description |
|---|---|
BigInteger |
getG()
Returns g for the DSA algorithm.
|
BigInteger |
getP()
Returns p for the DSA algorithm.
|
BigInteger |
getQ()
Returns p for the DSA algorithm.
|
BigInteger |
getY()
Returns public key y for the DSA algorithm.
|
public DSAPublicKeySpec(BigInteger y, BigInteger p, BigInteger q, BigInteger g)
y - the public keyp - the primeq - the sub-primeg - the basepublic BigInteger getY()
public BigInteger getP()
public BigInteger getQ()
public BigInteger getG()