# android.crypto.hpke

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

# android.crypto.hpke

*** ** * ** ***

[Kotlin](https://developer.android.com/reference/kotlin/android/crypto/hpke/package-summary "View this page in Kotlin")\|Java

## Interfaces

|--------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------|
| [HpkeSpi](https://developer.android.com/reference/android/crypto/hpke/HpkeSpi) | Service Provider Interface for HPKE client API classes to communicate with implementations of HPKE as described in RFC 9180. |

## Classes

|--------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------|
| [XdhKeySpec](https://developer.android.com/reference/android/crypto/hpke/XdhKeySpec) | External Diffie\\u2013Hellman (XDH) key spec holding either a public or private key. |

-

  ## Interfaces

  - [HpkeSpi](https://developer.android.com/reference/android/crypto/hpke/HpkeSpi)
-

  ## Classes

  - [XdhKeySpec](https://developer.android.com/reference/android/crypto/hpke/XdhKeySpec)