Android APIs
public class

ECPublicKeySpec

extends Object
implements KeySpec
java.lang.Object
   ↳ java.security.spec.ECPublicKeySpec

Class Overview

The parameters specifying an Elliptic Curve (EC) public key.

Summary

Public Constructors
ECPublicKeySpec(ECPoint w, ECParameterSpec params)
Creates a new ECPublicKey with the specified public elliptic curve point and parameter specification.
Public Methods
ECParameterSpec getParams()
Returns the domain parameter specification.
ECPoint getW()
Returns the public elliptic curve point W.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public ECPublicKeySpec (ECPoint w, ECParameterSpec params)

Added in API level 1

Creates a new ECPublicKey with the specified public elliptic curve point and parameter specification.

Parameters
w ECPoint: the public elliptic curve point W.
params ECParameterSpec: the domain parameter specification.
Throws
IllegalArgumentException if the specified point W is at infinity.

Public Methods

public ECParameterSpec getParams ()

Added in API level 1

Returns the domain parameter specification.

Returns
ECParameterSpec the domain parameter specification.

public ECPoint getW ()

Added in API level 1

Returns the public elliptic curve point W.

Returns
ECPoint the public elliptic curve point W.