Skip to main content

SIGNATURE_DOMAIN

Constant SIGNATURE_DOMAIN 

Source
pub const SIGNATURE_DOMAIN: &[u8] = b"agdx.signature.v1";
Expand description

The domain separator prefixed to the canonical envelope encoding before signing, so an AGDX signature can never be replayed into another protocol. The canonical encoding is this crate’s own: named-field CBOR, fields in declaration order, absent optionals skipped, the signature field absent.