Models¶
lacme.models ¶
RFC 8555 protocol data models.
Frozen dataclasses representing ACME directory, account, order,
authorization, and challenge objects. Each model has a from_dict
classmethod that parses the JSON body returned by an ACME server.
Account
dataclass
¶
ACME account object (RFC 8555 §7.1.2).
Authorization
dataclass
¶
ACME authorization object (RFC 8555 §7.1.4).
find_challenge ¶
Return the first challenge matching challenge_type, or None.
Challenge
dataclass
¶
ACME challenge object (RFC 8555 §8).
Directory
dataclass
¶
ACME directory resource (RFC 8555 §7.1.1).
DirectoryMeta
dataclass
¶
Optional metadata from the ACME directory (RFC 8555 §7.1.1).
Identifier
dataclass
¶
ACME identifier object.
Order
dataclass
¶
ACME order object (RFC 8555 §7.1.3).
Problem
dataclass
¶
RFC 7807 problem document with optional ACME subproblems.
RevocationReason ¶
Bases: IntEnum
Certificate revocation reason codes (RFC 5280 §5.3.1).
Only codes applicable for ACME client-initiated revocation are included.
SubProblem
dataclass
¶
ACME subproblem (RFC 8555 §6.7.1).