valid for the decision and
errors for the reasons. Each reason is one of the messages below.
Deciding what to accept
valid: truemeans every check that applies passed.valid: falsewith only key or format errors means the record could not be checked. That is not the same as tampered, but it is not verified either.- For hybrid records, also require
hybridSignaturesValid === trueif your policy needs the post-quantum signature. See Requiring hybrid signatures.
Exceptions
The verifiers do not throw for bad records or keys. Exceptions come only from the signing primitives, which throwCryptoError when a
key does not match the provider.