vaara_verify_receipt
Verify a signed decision receipt: confirm its signature and that the evidence it carries matches what was signed, and check the named record exists in this server's audit trail.
Instructions
Verify a signed decision receipt: its signature, and that the evidence it carries is the evidence it signed. For a receipt under this server's own key it also checks that the record it names is in this server's audit trail. Pass the receipt file's JSON as 'receipt'. The server's key is used unless 'public_key_pem' names another issuer's key; then the trail is not checked.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| receipt | Yes | The receipt file's JSON: {"receipt": ..., "evidence": ...} | |
| public_key_pem | No | Issuer public key, PEM (optional; defaults to this server's key) |