|
JavaTM 2 Platform Standard Ed. 6 |
|||||||||
| 上一個類別 下一個類別 | 框架 無框架 | |||||||||
| 摘要: 巢狀 | 欄位 | 建構子 | 方法 | 詳細資訊: 欄位 | 建構子 | 方法 | |||||||||
java.lang.Objectjava.security.spec.ECParameterSpec
public class ECParameterSpec
此不可變類別指定用於橢圓曲線加密方法 (ECC) 的域參數集。
AlgorithmParameterSpec| 建構子摘要 | |
|---|---|
ECParameterSpec(EllipticCurve curve,
ECPoint g,
BigInteger n,
int h)
創建基於指定值的橢圓曲線域參數。 |
|
| 方法摘要 | |
|---|---|
int |
getCofactor()
返回余因子。 |
EllipticCurve |
getCurve()
返回此參數定義的橢圓曲線。 |
ECPoint |
getGenerator()
返回也稱為基點的產生器。 |
BigInteger |
getOrder()
返回產生器的順序。 |
| 從類別 java.lang.Object 繼承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 建構子詳細資訊 |
|---|
public ECParameterSpec(EllipticCurve curve,
ECPoint g,
BigInteger n,
int h)
curve - 此參數定義的橢圓曲線。g - 產生器,也稱為基點。n - 產生器 g 的順序。h - 余因子。
NullPointerException - 如果 curve、g 或 n 為 null。
IllegalArgumentException - 如果 n 或 h 不是正數。| 方法詳細資訊 |
|---|
public EllipticCurve getCurve()
public ECPoint getGenerator()
public BigInteger getOrder()
public int getCofactor()
|
JavaTM 2 Platform Standard Ed. 6 |
|||||||||
| 上一個類別 下一個類別 | 框架 無框架 | |||||||||
| 摘要: 巢狀 | 欄位 | 建構子 | 方法 | 詳細資訊: 欄位 | 建構子 | 方法 | |||||||||
版權所有 2008 Sun Microsystems, Inc. 保留所有權利。請遵守GNU General Public License, version 2 only。