Skip to main content

resolve_subject

Function resolve_subject 

Source
pub fn resolve_subject(signer_pubkey: &[u8; 32]) -> Option<Subject>
Expand description

Resolve a signer key to a subject via the installed global resolver.

Returns None if no resolver is installed (e.g. WASM client, tests that don’t bootstrap the trust store) or the key is unregistered — both yield anonymous, preserving the fail-closed default.