Most visited

Recently visited

Added in API level 1

ECPublicKeySpec

public class ECPublicKeySpec
extends Object implements KeySpec

java.lang.Object
    java.security.spec.ECPublicKeySpec


这个不可变的类用相关的参数指定一个椭圆曲线公钥。

也可以看看:

摘要(Summary)

Public constructors

ECPublicKeySpec(ECPoint w, ECParameterSpec params)

用指定的参数值创建一个新的ECPublicKeySpec。

公共方法(Public methods)

ECParameterSpec getParams()

返回关联的椭圆曲线域参数。

ECPoint getW()

返回公共点W.

继承方法(Inherited methods)

From class java.lang.Object

Public constructors

ECPublicKeySpec

Added in API level 1
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

公共方法(Public methods)

getParams

Added in API level 1
ECParameterSpec getParams ()

返回关联的椭圆曲线域参数。

返回(Returns)
ECParameterSpec the EC domain parameters.

getW

Added in API level 1
ECPoint getW ()

返回公共点W.

返回(Returns)
ECPoint the public point W.

Hooray!