Skip to content

gufo.acme.types

RFC-8555 compatible ACME protocol structures.

AcmeAuthorization dataclass

ACME Authorization resource.

Attributes:

Name Type Description
domain str

Domain name.

url str

Authorization URL.

AcmeAuthorizationStatus dataclass

Authorization status response.

Attributes:

Name Type Description
status str

Current status.

challenges list[AcmeChallenge]

List of ACME challenge.

AcmeChallenge dataclass

ACME challenge resource.

Attributes:

Name Type Description
type str

Challenge type, i.e. http-01, dns-01, ...

url str

Challenge confirmation URL.

token str

Challenge token.

AcmeDirectory dataclass

ACME directory.

ACME directory is the structure containing endpoint urls for given server.

Attributes:

Name Type Description
new_account str

URL to create new account.

new_nonce str | None

URL to get a new nonce.

new_order str

URL to create a new order.

external_account_required bool

True, if new_account requires external account binding.

AcmeOrder dataclass

ACME order resource.

Attributes:

Name Type Description
authorizations list[AcmeAuthorization]

List of possibile authirizations.

finalize str

URL to finalize the order.

ExternalAccountBinding dataclass

External account binding for .new_account() method.

Attributes:

Name Type Description
kid str

Key identifier.

hmac_key bytes

Decoded HMAC key.