Module biscuit::jwe [] [src]

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

CekAlgorithmHeader

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

Header

JWE Header, consisting of the registered fields and other custom fields

RegisteredHeader

Registered JWE header fields. The fields are defined by RFC 7516#4.1

Enums

Compact

Compact representation of a JWE, or an encrypted JWT

CompressionAlgorithm

Compression algorithm applied to plaintext before encryption.