Trait didcomm_rs::DdoResolver[][src]

pub trait DdoResolver {
    fn resolve(&self, did_url: &str) -> Result<Document, Error>;
}
Expand description

Universal trait for DID document resolver.

Standardises signature for resolver output.

Required methods

Method signature for DID Document resolver.

Parameters

did_url - proper DID url starts with “did:” followed up by method name, path, etc. Details in spec: https://www.w3.org/TR/did-core/#did-url-syntax

Implementors