Name Description Size
aes.rs 3347
direct.rs Support for "Direct Encryption with a Shared Symmetric Key" See https://tools.ietf.org/html/rfc7518#section-4.5 for all the details. 8930
ec.rs Implements Elliptic-Curve Diffie-Hellman for JWE - specifically, the "Ephemeral-Static direct key agreement" mode described in https://tools.ietf.org/html/rfc7518#section-4.6 7890
encdec.rs 5600
error.rs 1732
lib.rs A library for using JSON Object Signing and Encryption (JOSE) data formats such as JWE and JWK, as described in https://tools.ietf.org/html/rfc7518 and related standards. The encryption is done by [rc_crypto] - this crate just does the JOSE wrappers around this crypto. As a result, most of the structs etc here support serialization and deserialization to and from JSON via serde in a way that's compatible with rfc7518 etc. 10444