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
Modifier and Type Method Description BigIntegergetG()Returns the baseg.BigIntegergetP()Returns the primep.BigIntegergetQ()Returns the sub-primeq.
-
Constructor Details
-
DSAParameterSpec
Creates a newDSAParameterSpecwith the specified primep, sub-primeqand the baseg.- Parameters:
p- the primep.q- the sub-primeq.g- the baseg;
-
-
Method Details