#jwt #jws #tbtl #json

bh-jws-utils

TBTL's library for handling JSON Web Signatures (JWS)

3 releases (breaking)

new 0.3.0 Apr 22, 2025
0.2.0 Apr 9, 2025
0.1.0 Apr 1, 2025

#1205 in Cryptography

Download history 86/week @ 2025-03-27 218/week @ 2025-04-03 255/week @ 2025-04-10 211/week @ 2025-04-17

770 downloads per month
Used in bhmdoc

Custom license

155KB
2.5K SLoC

bh-jws-utils

This library provides functionality for working with JSON Web Signatures (JWS) for use in other The Blockhouse Technology Limited (TBTL) projects.

Details

The primary way to use this library is via the JwtSigner and JwtVerifier traits, which provide functionality for signing JWTs and verifying signed JWTs. A default openssl backed implementation of these traits is available by using the openssl_impl::Es256Signer and openssl:impl:Es256Verifier structs which implement JwtSigner and JwtVerifier respectively. This implementation is available under the default feature openssl which can be disabled and replaced by a custom implementation.

For additional documentation & examples, take a look at the crate documentation.

Changelog

The changelog can be found here.

License

Licensed under GNU Affero General Public License, Version 3.

Dependencies

~7.5MB
~156K SLoC