pub fn build_collectable(
parts: CollectableParts,
) -> Result<Vec<u8>, InstrumentError>Expand description
Build an HMC collectable. The sealed content_digest is the SHA-256 of the
bundle bytes after members (including a digest-less manifest) are packed,
then the manifest is rewritten… To keep a single pass: digest is of all
members except the manifest; the manifest records that digest; the bundle
digest is SHA-256 of the finished HMC.