pub fn verify_catalog(
bytes: &[u8],
sig: &str,
pinned: &[String],
now: u64,
seen: Option<&str>,
) -> CatalogCheckExpand description
Verifies catalog.json bytes and the text of catalog.json.sig against the key of
pinned (base64url public keys) that the catalog names, at Unix time now (seconds),
after seen (the seen an earlier success returned for that registry, as JSON).