Module biscuit::jwe

source ·
Expand description

JSON Web Encryption

This module contains code to implement JWE, the JOSE standard to encrypt arbitrary payloads. Most commonly, JWE is used to encrypt a JWS payload, which is a signed JWT. For most common use, you will want to look at the Compact enum.

Structs

  • Headers specific to the Key management algorithm used. Users should typically not construct these fields as they will be filled in automatically when encrypting and stripped when decrypting
  • JWE Header, consisting of the registered fields and other custom fields
  • Registered JWE header fields. The fields are defined by RFC 7516#4.1

Enums

  • Compact representation of a JWE, or an encrypted JWT
  • Compression algorithm applied to plaintext before encryption.