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!