Save This Page
Home » openjdk-7 » java » security » spec » [javadoc | source]
public class: DSAPrivateKeySpec [javadoc | source]

All Implemented Interfaces:

This class specifies a DSA private key with its associated parameters.
 public DSAPrivateKeySpec(BigInteger x,
    BigInteger p,
    BigInteger q,
    BigInteger g) 
    Creates a new DSAPrivateKeySpec with the specified parameter values.
    x - the private key.
    p - the prime.
    q - the sub-prime.
    g - the base.
Method from Summary:
getG,   getP,   getQ,   getX
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from Detail:
 public BigInteger getG() 
    Returns the base g.
 public BigInteger getP() 
    Returns the prime p.
 public BigInteger getQ() 
    Returns the sub-prime q.
 public BigInteger getX() 
    Returns the private key x.