Skip to main content

verify_index

Function verify_index 

Source
pub fn verify_index(
    raw: &[u8],
    sig_b64: &str,
    keys: &[&str],
    index_url: &str,
) -> Result<Vec<CatalogEntry>, String>
Expand description

Checks the index raw against its signature sig_b64 with keys, and each entry against the catalog’s rules.