public class DSAPrivateKeySpec extends Object implements KeySpec
Key, KeyFactory, KeySpec, DSAPublicKeySpec, PKCS8EncodedKeySpec| コンストラクタ | 説明 |
|---|---|
DSAPrivateKeySpec(BigInteger x, BigInteger p, BigInteger q, BigInteger g) |
指定されたパラメータ値を使って新しいDSAPrivateKeySpecを作成します。
|
| 修飾子と型 | メソッド | 説明 |
|---|---|---|
BigInteger |
getG() |
底
gを返します。 |
BigInteger |
getP() |
素数
pを返します。 |
BigInteger |
getQ() |
サブ素数
qを返します。 |
BigInteger |
getX() |
非公開キー
xを返します。 |
public DSAPrivateKeySpec(BigInteger x, BigInteger p, BigInteger q, BigInteger g)
x - 非公開キー。p - 素数。q - サブ素数。g - 底。public BigInteger getX()
xを返します。x。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も参照してください。