Skip to content

Most visited

Recently visited

navigation
Added in API level 1

ECPublicKeySpec

public class ECPublicKeySpec
extends Object implements KeySpec

java.lang.Object
   ↳ java.security.spec.ECPublicKeySpec


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.

Inherited methods

From class java.lang.Object

Public constructors

ECPublicKeySpec

Added in API level 1
ECPublicKeySpec (ECPoint w, 
                ECParameterSpec params)

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

getParams

Added in API level 1
ECParameterSpec getParams ()

Returns the domain parameter specification.

Returns
ECParameterSpec the domain parameter specification.

getW

Added in API level 1
ECPoint getW ()

Returns the public elliptic curve point W.

Returns
ECPoint the public elliptic curve point W.
This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.