//#region src/engine/adapters/status-list-cache.d.ts /** * The engine's status-list verifier, as a resolution host calls it: the host * fetches a credential's signed status list (and its issuer's DID document) * and hands both to `verifyStatusList`, which checks the signature against * the issuer's `assertionMethod` key, the URL, purpose, validity and the * signed `encodedList`. Nothing is decoded or trusted on the host side; a * list the engine rejects fails closed. */ /** The engine's `verifyStatusList` result. */ type StatusListVerification = { ok: true; envelope: 'StatusList2021' | 'BitstringStatusList'; /** The bare list URL: the `ContextSpec.revoked` key. */ url: string; issuer: string; issuedAt: number; /** Unix seconds; the list must not be used at or after this instant. */ expiresAt: number; setIndices: number[]; } | { ok: false; code: string; message: string; }; /** * The engine's `verifyStatusList` export: sync on the node and bundler * builds, async on the edge build (its wasm loads lazily). */ type StatusListVerifier = (requestJson: string) => StatusListVerification | Promise; //#endregion export { StatusListVerifier as n, StatusListVerification as t }; //# sourceMappingURL=status-list-cache-C-fmbUlJ.d.ts.map