Package Summary  Overview Summary

class:DSAPublicKeySpec [NONE]

All Implemented Interfaces:
KeySpec

public class DSAPublicKeySpecextends Object implements KeySpec
This class specifies a DSA public key with its associated parameters.
Since:
1.2
See Also:

constructor:DSAPublicKeySpec(java.math.BigInteger,java.math.BigInteger,java.math.BigInteger,java.math.BigInteger) [NONE]

  • DSAPublicKeySpec

    public DSAPublicKeySpec (BigInteger y, BigInteger p, BigInteger q, BigInteger g)
    Creates a new DSAPublicKeySpec with the specified parameter values.
    Parameters:
    y - the public key.
    p - the prime.
    q - the sub-prime.
    g - the base.

method:getY() [NONE]

  • getY

    public BigInteger getY()
    Returns the public key y.
    Returns:
    the public key y.
  • method:getP() [NONE]

    getP

    public BigInteger getP()
    Returns the prime p.
    Returns:
    the prime p.

    method:getQ() [NONE]

    getQ

    public BigInteger getQ()
    Returns the sub-prime q.
    Returns:
    the sub-prime q.

    method:getG() [NONE]

    getG

    public BigInteger getG()
    Returns the base g.
    Returns:
    the base g.

    © 2023 Oracle Corporation and/or its affiliates