Skip to content
This repository has been archived by the owner on Nov 11, 2024. It is now read-only.

Latest commit

 

History

History
22 lines (17 loc) · 577 Bytes

README.md

File metadata and controls

22 lines (17 loc) · 577 Bytes

Rhonabwy examples use

These sample code show basic use of a JWT:

  • Serialize a signed JWT
  • Parse a serialized JWT signed and verify its signature
  • Serialize an encrypted JWT
  • Parse a serialized JWT encrypted and decrypt its content

Basic use of JWK and JWKS:

  • Parse keys in different formats
  • Insert these JWK in a JWKS structure
  • Get a JWK from the JWKS by its index
  • Get a JWK from the JWKS by its KID
  • Get only the RSA keys of a JWKS with a simple search

Build an example

$ make # to build all files
$ make jwt-verify-es256 # to build one example