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
的发电机也被称为基点。
n
-发电机
g
秩序。
h
-辅因子。
NullPointerException
-如果
curve
,
g
,或
n
是空的。
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.