java.security.spec
public class DSAPrivateKeySpec extends Object implements KeySpec
Since: JDK 1.2
Constructor Summary | |
---|---|
DSAPrivateKeySpec(BigInteger x, BigInteger p, BigInteger q, BigInteger g)
Constructs a new DSAPrivateKeySpec with the specified x, 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 | getX()
Returns private key x for the DSA algorithm. |
Parameters: x the private 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