pub fn build_attestation_message(
ephemeral_pubkey: &[u8; 32],
blinded_sub_pubkey: &[u8; 32],
scope: &str,
intent_id: &str,
) -> Vec<u8> ⓘExpand description
Build the message signed by the publisher’s Ed25519 key for attestation.
Format: ephemeral_pubkey || blinded_sub_pubkey || u32_le(len(scope)) || scope || u32_le(len(intent_id)) || intent_id. Fixed-length pubkeys are not
length-prefixed; variable-length fields are, to prevent concatenation
ambiguity.