Package java.security.spec
Class DSAParameterSpec
- java.lang.Object
-
- java.security.spec.DSAParameterSpec
-
- All Implemented Interfaces:
DSAParams,AlgorithmParameterSpec
public class DSAParameterSpec extends Object implements AlgorithmParameterSpec, DSAParams
The parameter specification used with the Digital Signature Algorithm (DSA).
-
-
Constructor Summary
Constructors Constructor Description DSAParameterSpec(BigInteger p, BigInteger q, BigInteger g)Creates a newDSAParameterSpecwith the specified primep, sub-primeqand the baseg.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BigIntegergetG()Returns the baseg.BigIntegergetP()Returns the primep.BigIntegergetQ()Returns the sub-primeq.
-
-
-
Constructor Detail
-
DSAParameterSpec
public DSAParameterSpec(BigInteger p, BigInteger q, BigInteger g)
Creates a newDSAParameterSpecwith the specified primep, sub-primeqand the baseg.- Parameters:
p- the primep.q- the sub-primeq.g- the baseg;
-
-
Method Detail
-
getG
public BigInteger getG()
Returns the baseg.
-
getP
public BigInteger getP()
Returns the primep.
-
getQ
public BigInteger getQ()
Returns the sub-primeq.
-
-