aps_sign_attribution_consent
Adds the cited principal's consent signature to an AttributionReceipt. This satisfies verification and artifact citation checks, preventing receipt rejection.
Instructions
Representation boundary: the cited principal adds their consent signature to an AttributionReceipt. Without this signature, verifyAttributionConsent and checkArtifactCitations reject the receipt. The signature is checked against the key the receipt carries for that party, and that key must be the one the party DID commits to.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| receipt | Yes | AttributionReceipt JSON from aps_create_attribution_receipt | |
| cited_principal_private_key | Yes | Hex private key of cited principal |