Skip to main content

verify_mirror_material

Function verify_mirror_material 

Source
pub fn verify_mirror_material(
    head_bytes: &[u8],
    identity_bytes: &[u8],
    feed_bytes: &[Vec<u8>],
    snapshot_pack: Option<&[u8]>,
    expected_anchor: &str,
) -> LinkResult<VerifiedMirrorMaterial>
Expand description

Re-verify mirror metadata, every signature/hash/rotation boundary, and the exact snapshot pack before dbmd serve exposes any bytes.