Standard | RFC | Description |
---|---|---|
JWT |
📄 RFC-7519 | JSON Web Token |
JWA |
📄 RFC-7518 | JSON Web Algorithms |
JWS and JWE |
📄 RFC-7518 | Specific types of JWA |
JWK and JWKS |
📄 RFC-7517 | JSON Web Key & Sets |
Note
Throughout this documentation you will see links such as the ones above to RFC documents. These are relevant to that particular part of the library and are helpful to understand some of the specific standards that shaped the development of LibJWT.
- JANSSON (>= 2.0)
- CMake (>= 3.7)
- OpenSSL (>= 1.1.0)
- GnuTLS (>= 3.6.0)
Note
OpenSSL >= 3.0 is required for JWK and JWKS support
- Check Library for unit testing
- Doxygen
🔗 Release
LibJWT is available in most Linux distributions as well as through Homebrew for Linux, macOS, and Windows.
$ mkdir build
$ cd build
$ cmake ..
$ make
If you have libcheck installed you can compile the test suite which you can
run using the check
target.
CMake will auto detect OpenSSL and GnuTLS and use one or both. There are CMake options to force either one on or off.