public class DSAPublicKeySpec extends Object implements KeySpec
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 を返します。 |
public DSAPublicKeySpec(BigInteger y, BigInteger p, BigInteger q, BigInteger g)
y
- 公開キー。p
- 素数。q
- サブ素数。g
- 底。public BigInteger getY()
y
を返します。y
。public BigInteger getP()
p
を返します。p
。public BigInteger getQ()
q
を返します。q
。public BigInteger getG()
g
を返します。g
。 バグまたは機能を送信
詳細なAPIリファレンスおよび開発者ドキュメントについては、Java SEのドキュメントを参照してください。 そのドキュメントには、概念的な概要、用語の定義、回避方法、有効なコード例などの、開発者を対象にしたより詳細な説明が含まれています。
Copyright © 1993, 2025, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Documentation Redistribution Policyも参照してください。