1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
//! Types for ACME.
//!
//! Reference: <https://datatracker.ietf.org/doc/html/rfc8555>
//! Reference: <https://datatracker.ietf.org/doc/html/rfc8737>

mod auto_cert;
mod builder;
mod client;
mod endpoint;
mod jose;
mod keypair;
mod listener;
mod protocol;
mod resolver;
mod serde;

pub use auto_cert::AutoCert;
pub use builder::AutoCertBuilder;
pub use listener::{AutoCertAcceptor, AutoCertListener};
pub use protocol::ChallengeType;

/// Let's Encrypt production directory url
pub const LETS_ENCRYPT_PRODUCTION: &str = "https://acme-v02.api.letsencrypt.org/directory";

/// Let's Encrypt staging directory url
pub const LETS_ENCRYPT_STAGING: &str = "https://acme-staging-v02.api.letsencrypt.org/directory";