Skip to main content

Module ops

Module ops 

Source

Structs§

Deleted
What a hard delete took with it.
ExpiringEntry
One expiring certificate, annotated: the order row, how long it has left, and whether anything has replaced it.
ExpiringQuery
The window list_expiring answers.
OrderDetail
An order plus every authorization (each with its challenges).
SupersededBy
The certificate that has taken an expiring one’s place, and how that was established.

Enums§

DeleteOutcome
Outcome of a confirm-gated hard delete.
RevokeError
Why revoke_order failed.
RevokeOutcome
Outcome of revoke_order.

Functions§

annotate_expiring
Annotates a whole listing with days_remaining and superseded_by.
audit_cutoff
The created_at below which an audit row is past retention_days.
cleanup_audit
Deletes audit rows older than days, returning how many went.
cleanup_nonces
Runs Nonce::cleanup, returning how many were removed.
confirm_cleanup_audit
Confirms, then runs cleanup_audit. None when the operator declined.
confirm_cleanup_nonces
Confirms, then runs cleanup_nonces. None when the operator declined.
confirm_delete_account
Looks up the account, shows what will cascade, confirms, then hard-deletes it.
confirm_delete_order
Same shape as confirm_delete_account, for an order.
days_remaining
Whole days from now to not_after, floored, and never negative — a certificate that lapsed between the query and here is “0 days”, not “-1”.
deactivate_account
Deactivates an account.
default_lead_days
The lead time a surface should default to: the configured one, or [DEFAULT_LEAD_DAYS] when the digest is switched off.
delete_account
Hard-deletes an account. None when there is no such account; otherwise how many orders cascaded with it.
delete_order
Hard-deletes an order. None when there is no such order; otherwise how many authorizations cascaded with it.
expiring_horizon
The cert_not_after at or below which a certificate counts as expiring.
find_audit
One audit row by id.
list_audit
One page of audit rows, plus the unpaged total the same filters match.
list_expiring
One page of expiring certificates, annotated, with the unpaged total and the number of rows this page suppressed.
load_order_detail
Loads order detail.
revoke_order
Revokes an order’s issued certificate at the signer backend and records it on the order.
superseded_by
Whether something has taken order’s certificate’s place, and how that was established.
update_account_contact
Updates an account’s contact list.