Crate xqr

Crate xqr 

Source

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 kid and value.

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.