Top Description Fields Methods
java.security.interfaces

public Interface ECPublicKey

extends PublicKey, ECKey
Known Direct Implementers
sun.security.ec.ECPublicKeyImpl
Imports
java.security.PublicKey, java.security.spec.ECParameterSpec, .ECPoint

The interface to an elliptic curve (EC) public key.
Author
Valerie Peng
Since
1.5
See Also
PublicKey, ECKey, java.security.spec.ECPoint

Field Summary

Modifier and TypeField and Description
public static final long
serialVersionUID

Hides java.security.PublicKey.serialVersionUID.

Deprecated A serialVersionUID field in an interface is ineffectual. Do not use; no replacement.
The class fingerprint that is set to indicate serialization compatibility.

Method Summary

Modifier and TypeMethod and Description
public default ECParameterSpec

Returns:

the associated parameters, may be null
getParams
()

Overrides default java.security.AsymmetricKey.getParams.

Implements java.security.interfaces.ECKey.getParams.

Returns the parameters associated with this key.

public ECPoint

Returns:

the public point W.
getW
()

Returns the public point W.

Field Detail

serialVersionUIDback to summary
public static final long serialVersionUID

Hides java.security.PublicKey.serialVersionUID.

Deprecated

A serialVersionUID field in an interface is ineffectual. Do not use; no replacement.

The class fingerprint that is set to indicate serialization compatibility.

Annotations
@Deprecated
@SuppressWarnings:serial
@Serial

Method Detail

getParamsback to summary
public default ECParameterSpec getParams()

Overrides default java.security.AsymmetricKey.getParams.

Implements java.security.interfaces.ECKey.getParams.

Doc from java.security.AsymmetricKey.getParams.

Returns the parameters associated with this key. The parameters are optional and may be either explicitly specified or implicitly created during key pair generation.

Implementation Specification

The default implementation returns null.

Returns:ECParameterSpec

the associated parameters, may be null

Annotations
@Override
getWback to summary
public ECPoint getW()

Returns the public point W.

Returns:ECPoint

the public point W.