Most visited

Recently visited

Added in API level 1

DSAParameterSpec

public class DSAParameterSpec
extends Object implements AlgorithmParameterSpec, DSAParams

java.lang.Object
   ↳ java.security.spec.DSAParameterSpec


该类指定了与DSA算法一起使用的一组参数。

也可以看看:

Summary

Public constructors

DSAParameterSpec(BigInteger p, BigInteger q, BigInteger g)

用指定的参数值创建一个新的DSAParameterSpec。

Public methods

BigInteger getG()

返回基地 g

BigInteger getP()

返回素数 p

BigInteger getQ()

返回 q

Inherited methods

From class java.lang.Object
From interface java.security.interfaces.DSAParams

Public constructors

DSAParameterSpec

Added in API level 1
DSAParameterSpec (BigInteger p, 
                BigInteger q, 
                BigInteger g)

用指定的参数值创建一个新的DSAParameterSpec。

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

Public methods

getG

Added in API level 1
BigInteger getG ()

返回基地 g

Returns
BigInteger the base g.

getP

Added in API level 1
BigInteger getP ()

返回素数 p

Returns
BigInteger the prime p.

getQ

Added in API level 1
BigInteger getQ ()

返回 q

Returns
BigInteger the sub-prime q.

Hooray!