pub trait SigningIdentity: Send + Sync {
// Required methods
fn pubkey(&self) -> [u8; 32];
fn sign<'life0, 'life1, 'async_trait>(
&'life0 self,
canonical_bytes: &'life1 [u8],
) -> Pin<Box<dyn Future<Output = Result<[u8; 64]>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
}Expand description
A purpose-keyed signing identity derived from a root seed.
Holds a derived Ed25519 keypair for a specific purpose (e.g.,
"hyprstream-rpc-envelope-v1"). The private key never leaves
the identity provider — callers get the pubkey and a sign function.