public class ECParameterSpec extends Object implements AlgorithmParameterSpec
AlgorithmParameterSpec
| Constructor and Description |
|---|
ECParameterSpec(EllipticCurve curve, ECPoint g, BigInteger n, int h)
根据指定的值创建椭圆曲线域参数。
|
| Modifier and Type | Method and Description |
|---|---|
int |
getCofactor()
返回辅助因子。
|
EllipticCurve |
getCurve()
返回此参数定义的椭圆曲线。
|
ECPoint |
getGenerator()
返回也称为基点的生成器。
|
BigInteger |
getOrder()
返回发生器的顺序。
|
public ECParameterSpec(EllipticCurve curve, ECPoint g, BigInteger n, int h)
curve - 该参数定义的椭圆曲线。
g - 也称为
g的发电机。
n -
n的顺序
g 。
h - 辅因子。
NullPointerException如果-
curve ,
g ,或
n为null。
IllegalArgumentException - 如果
n或
h 。
public EllipticCurve getCurve()
public ECPoint getGenerator()
public BigInteger getOrder()
public int getCofactor()
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.