# EdECKey

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

# EdECKey

`
public


interface
EdECKey
`  
`


`

|----------------------------------|
| java.security.interfaces.EdECKey |

|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| Known indirect subclasses [EdECPrivateKey](https://developer.android.com/reference/java/security/interfaces/EdECPrivateKey),[EdECPublicKey](https://developer.android.com/reference/java/security/interfaces/EdECPublicKey) |---------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------| | [EdECPrivateKey](https://developer.android.com/reference/java/security/interfaces/EdECPrivateKey) | An interface for an elliptic curve private key as defined by[RFC 8032: Edwards-Curve Digital Signature Algorithm (EdDSA)](https://tools.ietf.org/html/rfc8032). | | [EdECPublicKey](https://developer.android.com/reference/java/security/interfaces/EdECPublicKey)   | 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).  | |

<br />

*** ** * ** ***

An interface for an elliptic curve public/private 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`ECKey`, and they are intended for use with algorithms based on RFC 8032 such as the EdDSA`Signature`algorithm. This interface allows access to the algorithm parameters associated with the key.

## Summary

|                                                                                                                                  ### Public methods                                                                                                                                  ||
|-----------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| ` 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. |

## Public methods

### getParams

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

```
public abstract NamedParameterSpec getParams ()
```

Returns the algorithm parameters associated with the key.

<br />

|                                                                     Returns                                                                      ||
|-----------------------------------------------------------------------------------------------------|---------------------------------------------|
| [NamedParameterSpec](https://developer.android.com/reference/java/security/spec/NamedParameterSpec) | the associated algorithm parameters. <br /> |