Skip to main content

Module sealed_write

Module sealed_write 

Source
Expand description

Piecewise sealed write layout. Crypto supplies and authenticates the bytes.

Structs§

HeaderTail
The part roots and header signature after a write’s sealed header (D9).
ObjectChunk
Coordinates, selected key and exact plaintext length of the next chunk.
WriteObjectLayout
Sealed layout cursor, retaining header metadata rather than object bytes. Writers start at the header. Readers start after opening the header with WriteObjectPrefix::opened_header. Hash each encoded piece, including the prefix and length fields, before the final signature.
WriteObjectPrefix
Cleartext key identities, authenticated by the object’s final signature.

Functions§

sealed_length
The exact stored size, independent of key identities, nonces and signature contents. Header and part lengths come from the validated plaintext codec.