Skip to content

HpkeSealRequest

Namespace CryptoService.Sdk.

The body of POST /v2/hpke/seal (RFC 9180).

Remarks

The server reads HpkeSealRequest.Plaintext, HpkeSealRequest.Info and HpkeSealRequest.Aad as hex when they are an even-length hex string and as UTF-8 text otherwise; the client sends them as given.

Properties

Aad

Additional authenticated data, or null.

Aead

chacha20-poly1305 or aes-128-gcm, or null.

Info

The application info, or null.

Kem

The KEM of the recipient's key, or null.

Plaintext

The plaintext.

Psk

A pre-shared key, or null.

PskId

The pre-shared key's ID, or null.

RecipientPublicKey

The recipient's public key, hex.

All types