Expand description
JWT (JSON Web Token) encode, decode, and verify.
Provides compact JWT serialization used by JWT-VC and SD-JWT.
Structs§
- JwtHeader
- JWT header (JOSE header).
Functions§
- alg_
to_ str - Map a
SignatureAlgorithmto its JWA string. - decode_
jwt - Decode a JWT with signature verification.
- decode_
jwt_ unverified - Decode a JWT without verifying the signature.
- encode_
jwt - Encode and sign a JWT, returning the compact serialization (
header.payload.signature). - str_
to_ alg - Map a JWA string to a
SignatureAlgorithm.