Rust library for JWT signing (JWS) and verification, with first class JWK and JWK Set (JWKS) support.
MIT License
JWT signing (JWS) and verification, with first class JWK and JWK Set (JWKS) support.
Supports almost all JWS algorithms:
Supports exp
and nbf
validations. (Other validations will not be supported,
because they are mostly application specific and can be easily implemented by
applications.)
Supports converting public/private keys to/from PEM/JWK. Supports working with
generic keys (where the algorithm is determined at runtime), i.e.
SomePrivateKey
/SomePublicKey
.
Uses good old openssl for crypto.
See the examples
folder for some examples.