Module biscuit::jws

source ·
Expand description

JSON Web Signatures, including JWT signing and headers

Defined in RFC 7515. For most common use, you will want to look at the Compact enum.

Structs

  • JWS Header, consisting of the registered fields and other custom fields
  • Registered JWS header fields. The alg defaults to HS256 and typ is automatically set to JWT. All the other fields are optional. The fields are defined by RFC7519#5 and additionally in RFC7515#4.1.
  • Data that can be turned into a JWS
  • Signed data (with a single signature)

Enums

  • Compact representation of a JWS
  • The secrets used to sign and/or encrypt tokens