java.security.spec

Class DSAParameterSpec

public class DSAParameterSpec extends Object implements AlgorithmParameterSpec, DSAParams

DSA Parameter class Specification. Used to maintain the DSA Parameters.

Since: 1.2

Constructor Summary
DSAParameterSpec(BigInteger p, BigInteger q, BigInteger g)
Constructs a new DSAParameterSpec with the specified p, q, and g.
Method Summary
BigIntegergetG()
Returns g for the DSA algorithm.
BigIntegergetP()
Returns p for the DSA algorithm.
BigIntegergetQ()
Returns p for the DSA algorithm.

Constructor Detail

DSAParameterSpec

public DSAParameterSpec(BigInteger p, BigInteger q, BigInteger g)
Constructs a new DSAParameterSpec with the specified p, q, and g.

Parameters: p the prime q the sub-prime g the base

Method Detail

getG

public BigInteger getG()
Returns g for the DSA algorithm.

Returns: Returns the requested BigInteger

getP

public BigInteger getP()
Returns p for the DSA algorithm.

Returns: Returns the requested BigInteger

getQ

public BigInteger getQ()
Returns p for the DSA algorithm.

Returns: Returns the requested BigInteger