# Function registry::verify_catalog

> 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 `se

`zaun_client::registry::verify_catalog` · Function

```rust
pub fn verify_catalog(bytes: &[u8], sig: &str, pinned: &[String], now: u64, seen: Option<&str>) -> CatalogCheck
```

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).

[Full rustdoc page](/docs/api/rust/zaun-client/zaun_client/registry/fn.verify_catalog.html)
