Name

Class java.security.spec.DSAPublicKeySpec

Description

This class provides the ability to calculate a DSA public key based on the four parameters that constitute the key.

Class Definition

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

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

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

See Also

DSAPrivateKeySpec, 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.