Skip to main content

ManifestEnvelopeOriginalBlobHash

Type Alias ManifestEnvelopeOriginalBlobHash 

Source
pub type ManifestEnvelopeOriginalBlobHash = String;
Expand description

The content hash of the bundle’s original blob, when the manifest commits to one.

The manifest’s own ciphertext_hash, under a name that cannot be confused with Self::ciphertext_hash’s per-session meaning. Optional on the wire and required on a replace: a replace re-points roles that already have bytes, so it has to be applied as one act, and the only member of the bundle that can carry the whole change is the manifest — which therefore has to be able to name the original it commits to.

A create may omit it. Its bundle is assembled incrementally in a row nobody can see, so no member needs to name another and requiring it would be a wire change for no gain.

Aliased Type§

pub struct ManifestEnvelopeOriginalBlobHash { /* private fields */ }