3 stable releases

1.1.0 Mar 27, 2023
1.0.2 Mar 25, 2023
1.0.1 Mar 24, 2023

#2448 in Cryptography


Used in 2 crates

MIT license

97KB
2K SLoC

yacme-protocol

Implementation of the YACME protocol, specifically the JOSE, JWT/JWK parts, including authenticated get-as-post and post requests.

Unsafe code

This crate uses unsafe in yacme_protocol::fmt to provide a custom format to serde_json. It uses the same unsafe code that serde_json uses here

License

MIT


lib.rs:

ACME JWT implementation and ACME request types.

Most ACME requests are authenticated as a JWT, signed by the account key. This module provides the implementation of that protocol, and the deserialization of the corresponding responses, as well as providing a Client type which can be used to track the correct Nonce through a series of requests.

Dependencies

~9–21MB
~306K SLoC