java.security.spec
public class DSAParameterSpec extends Object implements AlgorithmParameterSpec, DSAParams
Constructor and Description |
---|
DSAParameterSpec(BigInteger p,
BigInteger q,
BigInteger g)
Constructs a new DSAParameterSpec with the specified p, q, and g.
|
Modifier and Type | Method and Description |
---|---|
BigInteger |
getG()
Returns g for the DSA algorithm.
|
BigInteger |
getP()
Returns p for the DSA algorithm.
|
BigInteger |
getQ()
Returns p for the DSA algorithm.
|
public DSAParameterSpec(BigInteger p, BigInteger q, BigInteger g)
p
- the primeq
- the sub-primeg
- the basepublic BigInteger getP()
public BigInteger getQ()
public BigInteger getG()