pub fn verify_module(
manifest: &PluginManifest,
wasm_bytes: &[u8],
policy: &PluginPolicy,
) -> Result<(), PluginError>Expand description
Verify a .wasm module’s integrity and signature against its manifest,
under the given trust policy. Returns Ok(()) only if the module may
be instantiated.
On PluginPolicy::AllowUnsigned this still checks any present hash,
but waves through missing/untrusted signatures with a loud warn.