1 unstable release
new 0.1.0 | Apr 1, 2025 |
---|
#17 in #jws
46 downloads per month
150KB
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
~8MB
~164K SLoC