Skip to main content

Module custody

Module custody 

Source
Expand description

Durable ciphertext custody states (E11.5).

Length or digest without bytes is never CustodyState::Stored. CustodyState::Delivered is not CustodyState::ApplicationAcked.

Enums§

CustodyState
Explicit custody lifecycle. Delivered is not application-acked.

Functions§

delivered_is_application_acked
Delivered is not application-acknowledged.
mark_accepted
Accept ciphertext identity (digest/length may be known; bytes not yet).
mark_application_acked
Application acknowledgement. Requires Delivered. Distinct from Delivered.
mark_delivered
Transport delivery. Requires Stored. Does not application-ack.
mark_stored
Mark stored only when the bytes themselves are present.