Constructor and Description |
---|
ECPublicKeySpec(ECPoint w, ECParameterSpec params)
用指定的参数值创建一个新的ECPublicKeySpec。
|
public ECPublicKeySpec(ECPoint w, ECParameterSpec params)
w
- 公众点。
params
- 相关的椭圆曲线域参数。
NullPointerException
- 如果
w
或
params
为空。
IllegalArgumentException
- 如果
w
指向无限远,即ECPoint.POINT_INFINITY
public ECPoint getW()
public ECParameterSpec getParams()
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.