# EdECPublicKey

Added in[API level 33](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  
Summary:[Inherited Constants](https://developer.android.com/reference/java/security/interfaces/EdECPublicKey#inhconstants)\|[Methods](https://developer.android.com/reference/java/security/interfaces/EdECPublicKey#pubmethods)\|[Inherited Methods](https://developer.android.com/reference/java/security/interfaces/EdECPublicKey#inhmethods)  

# EdECPublicKey

`
public


interface
EdECPublicKey
`  
`


implements

`[EdECKey](https://developer.android.com/reference/java/security/interfaces/EdECKey)`,

`[PublicKey](https://developer.android.com/reference/java/security/PublicKey)`


`

|----------------------------------------|
| java.security.interfaces.EdECPublicKey |

<br />

*** ** * ** ***

An interface for an elliptic curve public key as defined by[RFC 8032: Edwards-Curve Digital Signature Algorithm (EdDSA)](https://tools.ietf.org/html/rfc8032). 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.

## Summary

|                                                                                                                                                                                                                                                                                                ### Inherited constants                                                                                                                                                                                                                                                                                                 |
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| From interface[java.security.PublicKey](https://developer.android.com/reference/java/security/PublicKey) |--------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | `long` | [serialVersionUID](https://developer.android.com/reference/java/security/PublicKey#serialVersionUID) *This constant was deprecated in API level 34. A`serialVersionUID`field in an interface is ineffectual. Do not use; no replacement.* | |
| From interface[java.security.Key](https://developer.android.com/reference/java/security/Key) |--------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | `long` | [serialVersionUID](https://developer.android.com/reference/java/security/Key#serialVersionUID) *This constant was deprecated in API level 34. A`serialVersionUID`field in an interface is ineffectual. Do not use; no replacement.* |                         |

|                                                                                                                   ### Public methods                                                                                                                    ||
|-----------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------|
| ` abstract `[EdECPoint](https://developer.android.com/reference/java/security/spec/EdECPoint) | ` `[getPoint](https://developer.android.com/reference/java/security/interfaces/EdECPublicKey#getPoint())`() ` Get the point representing the public key. |

| ### Inherited methods |
|-----------------------|---|
| From interface` `[java.security.interfaces.EdECKey](https://developer.android.com/reference/java/security/interfaces/EdECKey)` ` |-----------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ` abstract `[NamedParameterSpec](https://developer.android.com/reference/java/security/spec/NamedParameterSpec) | ` `[getParams](https://developer.android.com/reference/java/security/interfaces/EdECKey#getParams())`() ` Returns the algorithm parameters associated with the key. | ||
| From interface` `[java.security.Key](https://developer.android.com/reference/java/security/Key)` ` |--------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ` abstract `[String](https://developer.android.com/reference/java/lang/String) | ` `[getAlgorithm](https://developer.android.com/reference/java/security/Key#getAlgorithm())`() ` Returns the standard algorithm name for this key.                                                     | | ` abstract byte[]`                                                             | ` `[getEncoded](https://developer.android.com/reference/java/security/Key#getEncoded())`() ` Returns the key in its primary encoding format, or null if this key does not support encoding.            | | ` abstract `[String](https://developer.android.com/reference/java/lang/String) | ` `[getFormat](https://developer.android.com/reference/java/security/Key#getFormat())`() ` Returns the name of the primary encoding format of this key, or null if this key does not support encoding. | ||

## Public methods

### getPoint

Added in[API level 33](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public abstract EdECPoint getPoint ()
```

Get the point representing the public key.

<br />

|                                                               Returns                                                                ||
|-----------------------------------------------------------------------------------|---------------------------------------------------|
| [EdECPoint](https://developer.android.com/reference/java/security/spec/EdECPoint) | the`EdECPoint`representing the public key. <br /> |