verifyCatalog
verifyCatalog(
bytes,signature,pinnedKeys,options?):Promise<CatalogVerification>
Defined in: zaun/js/index.d.ts:297
Verifies catalog.json (exact bytes) and catalog.json.sig against the pinned key (base64url)
whose id the catalog names. now: Unix seconds or a Date (default: this device’s clock).
seen: what an earlier success returned for this registry, so a rollback is refused.
Parameters
Section titled “Parameters”Bytes
signature
Section titled “signature”string | Uint8Array<ArrayBufferLike>
pinnedKeys
Section titled “pinnedKeys”string | string[]
options?
Section titled “options?”number | Date
Returns
Section titled “Returns”Promise<CatalogVerification>