Name

Class java.security.spec.DSAPrivateKeySpec

Description

This class provides the ability to calculate a DSA private key based on the four parameters that constitute 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 Cryptography 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.