ECPublicKeySpec
Stay organized with collections
Save and categorize content based on your preferences.
open class ECPublicKeySpec : KeySpec
This immutable class specifies an elliptic curve public key with its associated parameters.
Summary
| Public constructors | |
|---|---|
ECPublicKeySpec(w: ECPoint!, params: ECParameterSpec!)Creates a new ECPublicKeySpec with the specified parameter values. |
|
| Public methods | |
|---|---|
| open ECParameterSpec! |
Returns the associated elliptic curve domain parameters. |
| open ECPoint! |
getW()Returns the public point W. |
Public constructors
ECPublicKeySpec
ECPublicKeySpec(
w: ECPoint!,
params: ECParameterSpec!)
Creates a new ECPublicKeySpec with the specified parameter values.
| Parameters | |
|---|---|
w |
ECPoint!: the public point. |
params |
ECParameterSpec!: the associated elliptic curve domain parameters. |
| Exceptions | |
|---|---|
java.lang.NullPointerException |
if w or params is null. |
java.lang.IllegalArgumentException |
if w is point at infinity, i.e. ECPoint.POINT_INFINITY |
Public methods
getParams
open fun getParams(): ECParameterSpec!
Returns the associated elliptic curve domain parameters.
| Return | |
|---|---|
ECParameterSpec! |
the EC domain parameters. |
getW
open fun getW(): ECPoint!
Returns the public point W.
| Return | |
|---|---|
ECPoint! |
the public point W. |