Warning
The current LibJWT code is under heavy reconstruction and is changing wildly from the API and ABI of v2 and prior. There's still a lot going on here, and there are no guarantees that this new API is set in stone. Users beware.
Standard | RFC | Description |
---|---|---|
JWS |
📄 RFC-7515 | JSON Web Signature |
JWE |
📄 RFC-7516 | JSON Web Encryption |
JWK |
📄 RFC-7517 | JSON Web Keys and Sets |
JWA |
📄 RFC-7518 | JSON Web Algorithms |
JWT |
📄 RFC-7519 | JSON Web Token |
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.
- OpenSSL (>= 3.0.0)
- GnuTLS (>= 3.6.0)
Note
OpenSSL is required and used for JWK(S) operations. GnuTLS is optional for use in signing and verifying if configured.
- Check Library (>= 0.9.10) for unit testing
- Doxygen (>= 1.13.0) for documentation
🔗 Stable
LibJWT is available in most Linux distributions as well as through Homebrew for Linux, macOS, and Windows.
$ mkdir build
$ cd build
$ cmake ..
$ make