java.security.spec
public class DSAPublicKeySpec extends Object implements KeySpec
Since: JDK 1.2
| Constructor Summary | |
|---|---|
| DSAPublicKeySpec(BigInteger y, BigInteger p, BigInteger q, BigInteger g)
Constructs a new DSAPublicKeySpec with the specified y, p, q, and g. | |
| Method Summary | |
|---|---|
| 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. |
Parameters: y the public key p the prime q the sub-prime g the base
Returns: Returns the requested BigInteger
Returns: Returns the requested BigInteger
Returns: Returns the requested BigInteger
Returns: Returns the requested BigInteger