Function sign_ed25519_detached
pub fn sign_ed25519_detached(
signing_key: &SigningKey,
envelope_schema_id: u64,
inner_type_id: u64,
payload: &[u8],
) -> Result<Vec<u8>, Error>Expand description
Concrete Ed25519 detached-signature wrapper for envelope.rs.
Builds the external_aad from (envelope_schema_id, inner_type_id) and
produces a CBOR-encoded COSE_Sign1 over payload.