pub fn verify_package(
parsed: ParsedPackage,
allow_unsigned: bool,
) -> Result<VerifiedPackage, PackageError>Expand description
Verifies the signature under the header’s publisher key (min_suite 1) before anything
else, then both hashes and the manifest’s app_id and version. An all-zero signature is
accepted only with allow_unsigned.
§Errors
PackageError naming the first failed check.