Structs§
- XQR
- Represents the extended quick response (XQR) code, encapsulating the JWT token.
- XQRClaims
- Defines the custom claims to be used in the JWT token, including
kidandvalue.
Functions§
- decode
- Decodes a JWT token contained in an XQR structure using a public key in PEM format.
- encode
- Encodes a value into a JWT token using a private key in PEM format.
- fetch_
public_ key - Fetches the public key based on the key ID.
- generate_
key - Generates a new ECDSA (ES256) private key for use with JWT tokens.