Skip to main content

IdentitySigningFn

Type Alias IdentitySigningFn 

Source
pub type IdentitySigningFn = Arc<dyn Fn(&[u8]) -> [u8; 96] + Send + Sync>;
Expand description

A standalone identity-signing primitive: a plain callable mapping a message to a 96-byte G2 signature, carrying no dig-session or dig-identity type.

This is the bare shape UnlockedMasterSeed::signing_fn hands a downstream so it can sign while staying identity-agnostic (dig_ecosystem #908). It mirrors crate::SigningFn but is expressed over raw byte arrays because the master-seed path derives the identity key itself rather than exposing a scheme-parameterized SignerHandle.

Aliased Typeยง

pub struct IdentitySigningFn { /* private fields */ }