Skip to content

SafeVerifyResult

SafeVerifyResult<Brand> = { id: Id<Brand>; ok: true; } | { error: ParseError | "verification_failed"; ok: false; }

Defined in: src/codecs/signed/index.ts:64

Result returned by SignedTimestampCodec.safeVerify.

On success, id is the canonical Id. On failure, error is a ParseError for structural problems or "verification_failed" when the HMAC tag does not match any entry in the signing keyring.

Brand extends string