public class DSAParameterSpec extends Object implements AlgorithmParameterSpec, DSAParams
Constructor and Description |
---|
DSAParameterSpec(BigInteger p,
BigInteger q,
BigInteger g)
Creates a new
DSAParameterSpec with the specified prime p ,
sub-prime q and the base g . |
Modifier and Type | Method and Description |
---|---|
BigInteger |
getG()
Returns the base
g . |
BigInteger |
getP()
Returns the prime
p . |
BigInteger |
getQ()
Returns the sub-prime
q . |
public DSAParameterSpec(BigInteger p, BigInteger q, BigInteger g)
DSAParameterSpec
with the specified prime p
,
sub-prime q
and the base g
.p
- the prime p
.q
- the sub-prime q
.g
- the base g
;public BigInteger getG()
g
.public BigInteger getP()
p
.public BigInteger getQ()
q
.