Skip to main content

verify_and_parse

Function verify_and_parse 

Source
pub fn verify_and_parse(
    manifest_bytes: &[u8],
    detached_signature: &[u8],
    verifier: &impl ManifestSignatureVerifier,
) -> Result<VerifiedManifest, ReleaseError>
Expand description

Verifies the signature before parsing, so unsigned bytes are never interpreted.