Skip to main content

Module client

Module client 

Source
Expand description

The ACME protocol boundary.

AcmeClient/AcmeOrder are the only surface the order state machine (order.rs) and the scheduler (manager.rs) see, so both are unit-tested against [mock::MockAcmeClient] with no network. InstantAcmeClient implements them over instant-acme (JWS, directory, account/EAB, orders, ARI). AcmeClientFactory exists because the CA may be unreachable at startup: the manager connects lazily and retries.

Structsยง

InstantAcmeClient
InstantAcmeFactory
InstantAcmeOrder ๐Ÿ”’
PendingChallenge

Traitsยง

AcmeClient
AcmeClientFactory
AcmeOrder

Functionsยง

decode_hmac_key
EAB HMAC keys are handed out base64url; some CAs paste standard base64.
dns_name ๐Ÿ”’
proto ๐Ÿ”’