java.security.spec
Class DSAPublicKeySpec
java.lang.Object
|
+--java.security.spec.DSAPublicKeySpec
All Implemented Interfaces:
KeySpec
DSA Public Key class Specification. Used to maintain the DSA
Public Keys.
Since:Author:DSAPublicKeySpec
public DSAPublicKeySpec(java.math.BigInteger x, java.math.BigInteger p, java.math.BigInteger q, java.math.BigInteger g)
Constructs a new DSAPublicKeySpec with the specified y, p, q, and g.
Parameters:
getG
public BigInteger getG()
Returns g for the DSA algorithm.
Returns:
- Returns the requested BigInteger
getP
public BigInteger getP()
Returns p for the DSA algorithm.
Returns:
- Returns the requested BigInteger
getQ
public BigInteger getQ()
Returns p for the DSA algorithm.
Returns:
- Returns the requested BigInteger
getY
public BigInteger getY()
Returns public key y for the DSA algorithm.
Returns:
- Returns the requested BigInteger