Skip to content

Struct signed::ExportManifest

zaun_community_protocol::signed::ExportManifest · Struct

pub struct ExportManifest { … }

Signed by the exporting host’s key (and, in a later version, the root key when the owner exports). The key is inside the bytes: an importer trusts it only once it matches a host delegation signed by the community’s root (ADR-0013).

2: the community.

3: the exporting host’s key; the signer.

4: the exporter’s host.db schema version.

5: the descriptor revision the exporter held.

6: the delegation epoch the exporter held.

7: ms since the epoch.

8: every chunk, in bundle order.

pub fn verify_self_signed(json: &SignedJson, min_suite: u8) -> Result<Signed<Self>, SignedError>

Verifies a manifest under the host key inside its own bytes. The key is read before verification and decides nothing else; the importer must then match it to a delegation the community’s root signed.

SignedError when the bytes do not decode or the signature does not verify.

Clone, Debug, Decode, Encode, Eq, PartialEq, SignedObject, StructuralPartialEq

Full rustdoc page