Crates.io | jwtk |
lib.rs | jwtk |
version | 0.3.0 |
source | src |
created_at | 2021-08-10 15:01:24.368008 |
updated_at | 2023-08-21 03:32:38.604066 |
description | JWT signing (JWS) and verification, with first class JWK and JWK Set (JWKS) support. |
homepage | |
repository | https://github.com/sopium/jwtk |
max_upload_size | |
id | 434304 |
size | 130,317 |
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.