Top Description Fields Constructors Methods
java.security.spec

public Class DSAParameterSpec

extends Object
implements AlgorithmParameterSpec, DSAParams
Class Inheritance
All Implemented Interfaces
java.security.interfaces.DSAParams, java.security.spec.AlgorithmParameterSpec
Imports
java.math.BigInteger

This class specifies the set of parameters used with the DSA algorithm.
Author
Jan Luehe
Since
1.2
See Also
AlgorithmParameterSpec

Field Summary

Modifier and TypeField and Description
pack-priv BigInteger
g

pack-priv BigInteger
p

pack-priv BigInteger
q

Constructor Summary

AccessConstructor and Description
public
DSAParameterSpec(BigInteger
the prime.
p
,
BigInteger
the sub-prime.
q
,
BigInteger
the base.
g
)

Creates a new DSAParameterSpec with the specified parameter values.

Method Summary

Modifier and TypeMethod and Description
public BigInteger

Returns:

the base g.
getG
()

Implements java.security.interfaces.DSAParams.getG.

Returns the base g.

public BigInteger

Returns:

the prime p.
getP
()

Implements java.security.interfaces.DSAParams.getP.

Returns the prime p.

public BigInteger

Returns:

the sub-prime q.
getQ
()

Implements java.security.interfaces.DSAParams.getQ.

Returns the sub-prime q.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

gback to summary
pack-priv BigInteger g
pback to summary
pack-priv BigInteger p
qback to summary
pack-priv BigInteger q

Constructor Detail

DSAParameterSpecback to summary
public DSAParameterSpec(BigInteger p, BigInteger q, BigInteger g)

Creates a new DSAParameterSpec with the specified parameter values.

Parameters
p:BigInteger

the prime.

q:BigInteger

the sub-prime.

g:BigInteger

the base.

Method Detail

getGback to summary
public BigInteger getG()

Implements java.security.interfaces.DSAParams.getG.

Returns the base g.

Returns:BigInteger

the base g.

getPback to summary
public BigInteger getP()

Implements java.security.interfaces.DSAParams.getP.

Returns the prime p.

Returns:BigInteger

the prime p.

getQback to summary
public BigInteger getQ()

Implements java.security.interfaces.DSAParams.getQ.

Returns the sub-prime q.

Returns:BigInteger

the sub-prime q.