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。