Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
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 the public elliptic curve point W .
params 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
  • the domain parameter specification.

public ECPoint getW ()

Added in API level 1

Returns the public elliptic curve point W .

Returns
  • the public elliptic curve point W .