---
title: HPKE.AEAD.exportOnly
framework: cryptokit
role: symbol
role_heading: Case
path: cryptokit/hpke/aead/exportonly
---

# HPKE.AEAD.exportOnly

An export-only mode.

## Declaration

```swift
case exportOnly
```

## Discussion

Discussion In export-only mode, HPKE negotiates key derivation, but you can’t use it to encrypt or decrypt data.
