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/XECKey#pubmethods)

# XECKey


`
public


interface
XECKey
`


`


`

|---|
| java.security.interfaces.XECKey |

|---|
| Known indirect subclasses [XECPrivateKey](https://developer.android.com/reference/java/security/interfaces/XECPrivateKey), [XECPublicKey](https://developer.android.com/reference/java/security/interfaces/XECPublicKey) |---|---| | [XECPrivateKey](https://developer.android.com/reference/java/security/interfaces/XECPrivateKey) | An interface for an elliptic curve private key as defined by RFC 7748. | | [XECPublicKey](https://developer.android.com/reference/java/security/interfaces/XECPublicKey) | An interface for an elliptic curve public key as defined by RFC 7748. | |

<br />

*** ** * ** ***

An interface for an elliptic curve public/private key as defined by
RFC 7748. These keys are distinct from the keys represented by
`ECKey`, and they are intended for use with algorithms based on RFC
7748 such as the XDH `KeyAgreement` algorithm. This interface allows
access to the algorithm parameters associated with the key.

## Summary

| ### Public methods ||
|---|---|
| ` abstract https://developer.android.com/reference/java/security/spec/AlgorithmParameterSpec` | ` https://developer.android.com/reference/java/security/interfaces/XECKey#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 AlgorithmParameterSpec getParams ()
```

Returns the algorithm parameters associated
with the key.

<br />

| Returns ||
|---|---|
| `https://developer.android.com/reference/java/security/spec/AlgorithmParameterSpec` | the associated algorithm parameters <br /> |