Java プラットフォーム 1.2

java.security.spec
クラス DSAPrivateKeySpec

java.lang.Object
  |
  +--java.security.spec.DSAPrivateKeySpec

public class DSAPrivateKeySpec
extends Object
implements KeySpec

関連付けられたパラメータを使って DSA 非公開鍵を指定します。

導入されたバージョン:
JDK1.2
関連項目:
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 を返します。
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

DSAPrivateKeySpec

public DSAPrivateKeySpec(BigInteger x,
                         BigInteger p,
                         BigInteger q,
                         BigInteger g)
指定されたパラメータ値を使って新しい DSAPrivateKeySpec を作成します。
パラメータ:
x - 非公開鍵
p - プライム
q - サブプライム
g - ベース
メソッドの詳細

getX

public BigInteger getX()
非公開鍵 x を返します。
戻り値:
非公開鍵 x

getP

public BigInteger getP()
プライム p を返します。
戻り値:
プライム p

getQ

public BigInteger getQ()
サブプライム q を返します。
戻り値:
サブプライム q

getG

public BigInteger getG()
ベース g を返します。
戻り値:
ベース g

Java プラットフォーム 1.2

バグや機能要求の報告
新しい javadoc の表示についてのコメントやご提案
Java は、米国およびその他の国における米国 Sun Microsystems, Inc. の商標もしくは登録商標です。
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.