Top Description Fields Methods
java.security.interfaces

public Interface EdECPublicKey

extends EdECKey, PublicKey
Known Direct Implementers
sun.security.ec.ed.EdDSAPublicKeyImpl
Imports
java.security.PublicKey, java.security.spec.EdECPoint, .NamedParameterSpec

An interface for an elliptic curve public key as defined by RFC 8032: Edwards-Curve Digital Signature Algorithm (EdDSA). These keys are distinct from the keys represented by ECPublicKey, and they are intended for use with algorithms based on RFC 8032 such as the EdDSA Signature algorithm.

An Edwards-Curve public key is a point on the curve, which is represented using an EdECPoint.

Since
15

Field Summary

Inherited from java.security.PublicKey:
serialVersionUID

Method Summary

Modifier and TypeMethod and Description
public default NamedParameterSpec

Returns:

the associated parameters, may be null
getParams
()

Overrides default java.security.AsymmetricKey.getParams.

Implements java.security.interfaces.EdECKey.getParams.

Returns the parameters associated with this key.

public EdECPoint

Returns:

the EdECPoint representing the public key.
getPoint
()

Get the point representing the public key.

Method Detail

getParamsback to summary
public default NamedParameterSpec getParams()

Overrides default java.security.AsymmetricKey.getParams.

Implements java.security.interfaces.EdECKey.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:NamedParameterSpec

the associated parameters, may be null

Annotations
@Override
getPointback to summary
public EdECPoint getPoint()

Get the point representing the public key.

Returns:EdECPoint

the EdECPoint representing the public key.