java.security.spec
Class DSAPrivateKeySpec
java.lang.Object
|
+--java.security.spec.DSAPrivateKeySpec
All Implemented Interfaces:
KeySpec
DSA Private Key class Specification. Used to maintain the DSA
Private Keys.
Since:Author:DSAPrivateKeySpec
public DSAPrivateKeySpec(java.math.BigInteger x, java.math.BigInteger p, java.math.BigInteger q, java.math.BigInteger g)
Constructs a new DSAPrivateKeySpec with the specified x, 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
getX
public BigInteger getX()
Returns private key x for the DSA algorithm.
Returns:
- Returns the requested BigInteger