- java.lang.Object
-
- java.security.spec.DSAPublicKeySpec
-
- すべての実装されたインタフェース:
KeySpec
public class DSAPublicKeySpec extends Object implements KeySpec
関連したパラメータを使ってDSA公開キーを指定します。- 導入されたバージョン:
- 1.2
- 関連項目:
Key
,KeyFactory
,KeySpec
,DSAPrivateKeySpec
,X509EncodedKeySpec
-
-
コンストラクタのサマリー
コンストラクタ コンストラクタ 説明 DSAPublicKeySpec(BigInteger y, BigInteger p, BigInteger q, BigInteger g)
指定されたパラメータ値を使って新しいDSAPublicKeySpecを作成します。
-
メソッドのサマリー
すべてのメソッド インスタンス・メソッド 具象メソッド 修飾子と型 メソッド 説明 BigInteger
getG()
底g
を返します。BigInteger
getP()
素数p
を返します。BigInteger
getQ()
サブ素数q
を返します。BigInteger
getY()
公開キーy
を返します。
-
-
-
コンストラクタの詳細
-
DSAPublicKeySpec
public DSAPublicKeySpec(BigInteger y, BigInteger p, BigInteger q, BigInteger g)
指定されたパラメータ値を使って新しいDSAPublicKeySpecを作成します。- パラメータ:
y
- 公開キー。p
- 素数。q
- サブ素数。g
- 底。
-
-
メソッドの詳細
-
getY
public BigInteger getY()
公開キーy
を返します。- 戻り値:
- 公開キー
y
。
-
getP
public BigInteger getP()
素数p
を返します。- 戻り値:
- 素数
p
。
-
getQ
public BigInteger getQ()
サブ素数q
を返します。- 戻り値:
- サブ素数
q
。
-
getG
public BigInteger getG()
底g
を返します。- 戻り値:
- 底
g
。
-
-