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
DSAParameterSpec(BigInteger, BigInteger, BigInteger)
- Creates a new DSAParameterSpec with the specified parameter values.
getG()
- Returns the base
g
.
getP()
- Returns the prime
p
.
getQ()
- Returns the sub-prime
q
.
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.
getP
public BigInteger getP()
- Returns the prime
p
.
- Returns:
- the prime
p
.
getQ
public BigInteger getQ()
- Returns the sub-prime
q
.
- Returns:
- the sub-prime
q
.
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