All Packages  Class Hierarchy  This Package  Previous  Next  Index  

Class java.security.spec.DSAParameterSpec

java.lang.Object
    |
    +----java.security.spec.DSAParameterSpec

public class DSAParameterSpec
extends Object
implements AlgorithmParameterSpec, DSAParams
This class specifies the set of parameters used with the DSA algorithm.

Since:
JDK1.2
See Also:
AlgorithmParameterSpec

Constructor Index

 o DSAParameterSpec(BigInteger, BigInteger, BigInteger)
Creates a new DSAParameterSpec with the specified parameter values.

Method Index

 o getG()
Returns the base g.
 o getP()
Returns the prime p.
 o getQ()
Returns the sub-prime q.

Constructors

 o DSAParameterSpec
public DSAParameterSpec(BigInteger p,
                        BigInteger q,
                        BigInteger g)
Creates a new DSAParameterSpec with the specified parameter values.

Parameters:
p - the prime.
q - the sub-prime.
g - the base.

Methods

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

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

Returns:
the sub-prime q.
 o getG
public BigInteger getG()
Returns the base g.

Returns:
the base g.

All Packages  Class Hierarchy  This Package  Previous  Next  Index  

Submit a bug or feature