Crate xqr

source ·

Structs

  • Represents the extended quick response (XQR) code, encapsulating the JWT token.
  • Defines the custom claims to be used in the JWT token, including kid and value.

Functions

  • Decodes a JWT token contained in an XQR structure using a public key in PEM format.
  • Encodes a value into a JWT token using a private key in PEM format.
  • Fetches the public key based on the key ID.
  • Generates a new ECDSA (ES256) private key for use with JWT tokens.