|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectjava.security.spec.EllipticCurve
public class EllipticCurve
この不変なクラスは、楕円曲線の表現に必要となる値を保持します。
ECField,
ECFieldFp,
ECFieldF2m| コンストラクタの概要 | |
|---|---|
EllipticCurve(ECField field,
BigInteger a,
BigInteger b)
指定された楕円体 field と係数 a、b を使って楕円曲線を作成します。 |
|
EllipticCurve(ECField field,
BigInteger a,
BigInteger b,
byte[] seed)
指定された楕円体 field、係数 a、b、および曲線生成用 seed を使って楕円曲線を作成します。 |
|
| メソッドの概要 | |
|---|---|
boolean |
equals(Object obj)
この楕円曲線と指定されたオブジェクトとを比較し、両者が等しいかどうかを判定します。 |
BigInteger |
getA()
楕円曲線の第 1 係数 a を返します。 |
BigInteger |
getB()
楕円曲線の第 2 係数 b を返します。 |
ECField |
getField()
この楕円曲線の作成先の有限体 field を返します。 |
byte[] |
getSeed()
曲線生成時に使用されるシード用バイト seed を返します。 |
int |
hashCode()
この楕円曲線のハッシュコード値を返します。 |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| コンストラクタの詳細 |
|---|
public EllipticCurve(ECField field,
BigInteger a,
BigInteger b)
field と係数 a、b を使って楕円曲線を作成します。
field - この楕円曲線の作成先の有限体a - この楕円曲線の第 1 係数b - この楕円曲線の第 2 係数
NullPointerException - field、a、または b が null の場合
IllegalArgumentException - a または b が null 以外でかつ field に含まれない場合
public EllipticCurve(ECField field,
BigInteger a,
BigInteger b,
byte[] seed)
field、係数 a、b、および曲線生成用 seed を使って楕円曲線を作成します。
field - この楕円曲線の作成先の有限体a - この楕円曲線の第 1 係数b - この楕円曲線の第 2 係数seed - 後続の検証用として曲線生成時に使用されるバイト。この配列の内容は、後続の変更に影響されないようにコピーされる
NullPointerException - field、a、または b が null の場合
IllegalArgumentException - a または b が null 以外でかつ field に含まれない場合| メソッドの詳細 |
|---|
public ECField getField()
field を返します。
fieldpublic BigInteger getA()
a を返します。
apublic BigInteger getB()
b を返します。
bpublic byte[] getSeed()
seed を返します。指定されなかった場合は null になります。
seed。このメソッドが呼び出されるたびに新しい配列が返されます。public boolean equals(Object obj)
Object 内の equalsobj - 比較対象のオブジェクト
obj が EllipticCurve のインスタンスであり、かつ両者の体、A、B、およびシード用バイトが一致する場合は true、そうでない場合は falseObject.hashCode(),
Hashtablepublic int hashCode()
Object 内の hashCodeObject.equals(java.lang.Object),
Hashtable
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Documentation Redistribution Policy も参照してください。