public class ECPublicKeySpec
extends Object implements KeySpec
| java.lang.Object | |
| ↳ | java.security.spec.ECPublicKeySpec |
这个不可变的类用相关的参数指定一个椭圆曲线公钥。
也可以看看:
Public constructors |
|
|---|---|
ECPublicKeySpec(ECPoint w, ECParameterSpec params) 用指定的参数值创建一个新的ECPublicKeySpec。 |
|
Public methods |
|
|---|---|
ECParameterSpec |
getParams() 返回关联的椭圆曲线域参数。 |
ECPoint |
getW() 返回公共点W. |
Inherited methods |
|
|---|---|
java.lang.Object
|
|
ECPublicKeySpec (ECPoint w, ECParameterSpec params)
用指定的参数值创建一个新的ECPublicKeySpec。
| Parameters | |
|---|---|
w |
ECPoint: the public point. |
params |
ECParameterSpec: the associated elliptic curve domain parameters. |
| Throws | |
|---|---|
NullPointerException |
if w or params is null. |
IllegalArgumentException |
if w is point at infinity, i.e. ECPoint.POINT_INFINITY |
ECParameterSpec getParams ()
返回关联的椭圆曲线域参数。
| Returns | |
|---|---|
ECParameterSpec |
the EC domain parameters. |