Name

Class java.security.spec.DSAPrivateKeySpec

Synopsis

This class provides the ability to calculate a DSA private key based upon the four parameters that comprise the key.

Class Definition

public class java.security.spec.DSAPrivateKeySpec
	extends java.lang.Object
	implements java.security.spec.KeySpec {

	// Constructors
	public DSAPrivateKeySpec(BigInteger, BigInteger,
				      BigInteger, BigInteger);

	// Instance Methods
	public BigInteger getG(  );
	public BigInteger getP(  );
	public BigInteger getQ(  );
	public BigInteger getX(  );
}

See also

DSAPublicKeySpec, KeyFactory

Get Java Security, 2nd 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.