Skip to main content

verify

Function verify 

Source
pub fn verify(vocab_path: &Path, trusted: &[String]) -> Result<(Value, bool)>
Expand description

Check the vocabulary’s signatures against the keys the caller trusts. Returns the report and whether at least one trusted key’s signature holds.