Skip to main content

APPROVAL_AAD

Constant APPROVAL_AAD 

Source
pub const APPROVAL_AAD: &[u8] = b"hs-mac-ucan-approval-v1";
Expand description

Domain-separation AAD for approval-binding signatures. Distinct from the UCAN payload AAD (hs-mac-ucan-payload-v1), the compiled-policy AAD (hs-mac-compiled-policy-v1), and envelope AADs, so an approval signature can never be confused with — or replayed as — any other signed object.