Skip to main content

RECEIPT_DOMAIN_TAG_V2

Constant RECEIPT_DOMAIN_TAG_V2 

Source
pub const RECEIPT_DOMAIN_TAG_V2: &[u8] = b"agentvisor-receipt-v2\0";
Expand description

Domain-separation tag prepended to every version-2 receipt signing message. The trailing NUL makes the tag self-delimiting so no JCS body could extend it into a different tag.

Wire format: every v2 receipt ever issued is signed over these bytes. They predate the ProofVisor name and must never be renamed.