Skip to main content

RESPONSE_ENVELOPE_TYPE_ID

Constant RESPONSE_ENVELOPE_TYPE_ID 

Source
pub const RESPONSE_ENVELOPE_TYPE_ID: u64 = 0x5265_7350_456e_7631;
Expand description

Stable inner-type id for ResponseEnvelope, distinct from REQUEST_ENVELOPE_TYPE_ID. The ResponseEnvelope COSE composite (#275) binds this type-id into its external_aad via [response_envelope_external_aad], so a response COSE signature can NEVER verify as a request signature (or vice-versa) — the request↔response domain separation is cryptographically enforced, not merely documented.