Skip to main content

verify_structure

Function verify_structure 

Source
pub fn verify_structure(bundle: &Bundle) -> Result<VerifyResult>
Expand description

Verify a bundle’s structural integrity.

This checks everything except the CMS seal signature (which requires a trust anchor) and individual OCSP response signatures (which are expensive at scale and optional per §3.1 of the spec). The decoded manifest must agree with the encoded manifest before its digests or metadata can be used by a caller.