Expand description
Pure ML-DSA-65 verification helpers for quotes and merkle candidates. Pure verification helpers for payment quotes and merkle candidates.
These functions inspect signed wire artifacts (PaymentQuote and
MerklePaymentCandidateNode) and confirm their ML-DSA-65 signatures
are valid. They do no I/O and do not touch on-chain state.
Both the client (when building proofs) and the node (when validating
incoming PUTs) need identical verification semantics — keeping these
functions in ant-protocol ensures the client and node cannot drift.
Functions§
- verify_
merkle_ candidate_ signature - Verify a
MerklePaymentCandidateNode’s ML-DSA-65 signature. - verify_
quote_ content - Verify that a payment quote’s content address matches the expected address.
- verify_
quote_ signature - Verify a payment quote’s ML-DSA-65 signature.