JavaTM 2 Platform
Standard Ed. 6

java.security.spec
类 DSAParameterSpec

java.lang.Object
  继承者 java.security.spec.DSAParameterSpec
所有已实现的接口:
DSAParams, AlgorithmParameterSpec

public class DSAParameterSpec
extends Object
implements AlgorithmParameterSpec, DSAParams

此类指定用于 DSA 算法的参数的集合。

从以下版本开始:
1.2
另请参见:
AlgorithmParameterSpec

构造方法摘要
DSAParameterSpec(BigInteger p, BigInteger q, BigInteger g)
          创建一个具有指定参数值的新的 DSAParameterSpec。
 
方法摘要
 BigInteger getG()
          返回基数 g。
 BigInteger getP()
          返回素数 p。
 BigInteger getQ()
          返回子素数 q。
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

DSAParameterSpec

public DSAParameterSpec(BigInteger p,
                        BigInteger q,
                        BigInteger g)
创建一个具有指定参数值的新的 DSAParameterSpec。

参数:
p - 素数。
q - 子素数。
g - 基数。
方法详细信息

getP

public BigInteger getP()
返回素数 p。

指定者:
接口 DSAParams 中的 getP
返回:
素数 p。

getQ

public BigInteger getQ()
返回子素数 q。

指定者:
接口 DSAParams 中的 getQ
返回:
子素数 q。

getG

public BigInteger getG()
返回基数 g。

指定者:
接口 DSAParams 中的 getG
返回:
基数 g。

JavaTM 2 Platform
Standard Ed. 6

提交错误或意见

版权所有 2008 Sun Microsystems, Inc. 保留所有权利。请遵守GNU General Public License, version 2 only。