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

All Implemented Interfaces:
    KeySpec

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