Name

DSAPrivateKeySpec

Synopsis

This class is a transparent representation of a DSA private key.

java.security.spec.DSAPrivateKeySpec

Figure 14-85. java.security.spec.DSAPrivateKeySpec

public class DSAPrivateKeySpec implements KeySpec {
// Public Constructors
     public DSAPrivateKeySpec(java.math.BigInteger x, java.math.BigInteger p, 
        java.math.BigInteger q, java.math.BigInteger g);  
// Public Instance Methods
     public java.math.BigInteger getG( );  
     public java.math.BigInteger getP( );  
     public java.math.BigInteger getQ( );  
     public java.math.BigInteger getX( );  
}

Get Java in a Nutshell, 5th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.