|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectjavax.crypto.spec.DHPublicKeySpec
public class DHPublicKeySpec
関連したパラメータを使って Diffie-Hellman 公開鍵を指定します。
DHPrivateKeySpec| コンストラクタの概要 | |
|---|---|
DHPublicKeySpec(BigInteger y,
BigInteger p,
BigInteger g)
公開鍵の値 y、プライムモジュラス p、およびベースジェネレータ g をとるコンストラクタです。 |
|
| メソッドの概要 | |
|---|---|
BigInteger |
getG()
ベースジェネレータ g を返します。 |
BigInteger |
getP()
プライムモジュラス p を返します。 |
BigInteger |
getY()
公開鍵の値 y を返します。 |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| コンストラクタの詳細 |
|---|
public DHPublicKeySpec(BigInteger y,
BigInteger p,
BigInteger g)
y、プライムモジュラス p、およびベースジェネレータ g をとるコンストラクタです。
y - 公開鍵の値 yp - プライムモジュラス pg - ベースジェネレータ g| メソッドの詳細 |
|---|
public BigInteger getY()
y を返します。
ypublic BigInteger getP()
p を返します。
ppublic BigInteger getG()
g を返します。
g
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Documentation Redistribution Policy も参照してください。