Expand description
Encrypted mailbox: bounded ciphertext bytes, not length + digest only. Transport never asserts review.
Structs§
- Interchange
Adapter - Reviewed interchange adapter. Networking does not encode a medical decision.
- Mailbox
- Eight-slot pending encrypted mailbox.
- Mailbox
Slot - Encrypted mailbox slot. Bounded ciphertext bytes are retained inline.
- Offline
Queue - Offline
Slot - Offline queued ciphertext metadata. Expired packages stay sealed.
Enums§
- Mailbox
State - Mailbox lifecycle. Stored cannot skip to ClinicianReviewed. Delivered is transport and is not ClinicianReviewed.
Constants§
- MAILBOX_
CIPHERTEXT_ BYTES - Inline ciphertext capacity. Equal to
STREAM_PAGE_BYTES. - STREAM_
PAGE_ BYTES - Page size for streaming attachment bytes. Matches replication originals.
Functions§
- digest_
attachment_ pages - Digest
bytesinSTREAM_PAGE_BYTESpages. - enqueue_
offline - Enqueues an offline message.
- export_
interchange - Exports the mailbox as interchange.
- network_
asserts_ clinical_ review - Transport delivery never asserts clinical review or care.
- patient_
record_ associated - Patient-record association is independent of network identity.
- release_
queued - Release a queued package. Expiry and live Active contact are checked here.
- stream_
attachment - Stream caller-owned pages and verify the running SHA-384.