|
JavaTM 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 Platform Standard Ed. 6 |
|||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。另请参阅文档重新分发政策。