public class DSAParameterSpec extends Objectimplements AlgorithmParameterSpec , DSAParams
AlgorithmParameterSpec
| Constructor and Description |
|---|
DSAParameterSpec(BigInteger
Creates a new DSAParameterSpec with the specified parameter values.
|
| 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(BigIntegerp, BigInteger q, BigInteger g)
p - the prime.
q - the sub-prime.
g - the base.
public BigIntegergetP()
p.
public BigIntegergetQ()
q.
public BigIntegergetG()
g.