Bind a bundle's own claim to what the caller asked for, for every verifier
that reads a bundle. A bundle of any kind names the inscription it proves,
and each verifier's remaining checks read that claim rather than testing it,
so a verification that is given no expectation establishes that the document
is internally consistent and establishes nothing about whose inscription it
is. Callers pass what they asked for through expectedInscriptionId, and
each verifier calls this before any of the bundle's evidence is read, so a
bundle for another inscription is refused as the wrong document rather than
reported through whichever later check its contents happen to fail.
id is the parsed form of claimed, so the comparison survives case
folding on either side. Leaving expected undefined is a no-op.
Bind a bundle's own claim to what the caller asked for, for every verifier that reads a bundle. A bundle of any kind names the inscription it proves, and each verifier's remaining checks read that claim rather than testing it, so a verification that is given no expectation establishes that the document is internally consistent and establishes nothing about whose inscription it is. Callers pass what they asked for through
expectedInscriptionId, and each verifier calls this before any of the bundle's evidence is read, so a bundle for another inscription is refused as the wrong document rather than reported through whichever later check its contents happen to fail.idis the parsed form ofclaimed, so the comparison survives case folding on either side. Leavingexpectedundefined is a no-op.