Skip to main content

Module jwe_token

Module jwe_token 

Source
Expand description

JWE token building and parsing.

Structs§

DecryptionOptions
Options for JWE decryption.
EncryptionOptions
Options for JWE encryption.
JWEToken
Utilities for working with JWE tokens.
JWETokenMetadata
JWE token metadata extracted from the header (before decryption).

Constants§

MAX_JWE_ENCRYPTED_KEY_LENGTH
Largest wrapped key a token may carry: an RSA-OAEP key for a 16384-bit modulus. AES-KW wrapped keys are 40 bytes, and ECDH-ES direct key agreement carries none.
MAX_JWE_HEADER_LENGTH