Verify Attribution Consent
aps_verify_attribution_consentVerify an AttributionReceipt end-to-end by checking its ID, citer and consent signatures, expiry, and party key bindings. Returns whether the receipt is valid and why if not.
Instructions
Representation boundary: verify an AttributionReceipt end-to-end (id, citer signature, consent signature, expiry) and bind each named party to the key beside it. What a valid result establishes: the receipt is intact, unexpired, and signed by the keys its party DIDs commit to. What it does not establish: that either party is authorized for your relying-party decision, or who they are outside the protocol. A party named by an identifier that does not self-certify is refused as unresolved rather than assumed. Returns {valid, reason?}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| now | No | Optional HybridTimestamp to pin the evaluation moment | |
| receipt | Yes | AttributionReceipt JSON |