Skip to main content

AnchorResolver

Trait AnchorResolver 

Source
pub trait AnchorResolver {
    // Required method
    fn resolve_anchor(&self, human_id: &str) -> Result<Option<Anchor>, String>;
}
Expand description

Resolves a verified human_id to its external-identity binding (SPEC §17.8). Errors are non-fatal: the verifier MUST NOT fail the bundle because the resolver errored — it silently leaves VerifyResult.anchor None and continues.

Required Methods§

Source

fn resolve_anchor(&self, human_id: &str) -> Result<Option<Anchor>, String>

Implementors§