pub fn verify_package(
trust: &TrustStore,
bytes: &[u8],
assets_root: &Path,
) -> Result<LoadedPackage, String>Expand description
load_package without recording the build: the package is verified as
strictly (signature, certificate, revocations, hashes, and its build not
older than the highest accepted) and its assets written, but the builds
accepted before keep verifying. An embedding app runs it, and once it
decided the package is healthy (its first frame drawn, no fatal error for
a while) calls accept_package; if it fails before, the app can go
back to the package it ran before, which still verifies.