Crate jose_jwa

source ·
Expand description

RustCrypto: JOSE JWA

Crate Docs Build Status Apache2/MIT licensed Rust Version Project Chat

Pure Rust implementation of the JSON Web Algorithm (JWA) component of the Javascript Object Signing and Encryption (JOSE) specification as described in RFC7518.

JWAs specify encryption and signing algorithms that can be used for values in JOSE "alg" keys. This crate provides an enum representation of the allowed algorithms.

Documentation

Minimum Supported Rust Version

This crate requires Rust 1.65 at a minimum.

We may change the MSRV in the future, but it will be accompanied by a minor version bump.

License

Licensed under either of:

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Enums

  • Possible types of algorithms that can exist in an “alg” descriptor.
  • Algorithms used for signing, as defined in RFC7518 section 3.1.