pub type SigningFn<K> = Arc<dyn Fn(&[u8]) -> <K as KeyScheme>::Signature + Send + Sync>;Expand description
A scheme-parameterized signing primitive: a plain callable that maps a message to a signature and carries no dig-session or dig-identity type.
This is the shape UnlockedIdentity::inject_into hands to a consumer, so
the consumer’s API surface mentions only &[u8] in and K::Signature
(a chia_bls::Signature for the BLS schemes) out — never a session or
identity type. That is what keeps a consumer such as dig-wallet-backend
identity-agnostic (see dig_ecosystem #908).
Aliased Type§
pub struct SigningFn<K> { /* private fields */ }