Skip to main content

did_web_url

Function did_web_url 

Source
pub fn did_web_url(did: &str) -> Result<String, AclError>
Expand description

Build the did:web resolution URL (did:web §2.2): did:web:example.com → https://example.com/.well-known/did.json did:web:example.com:path:to → https://example.com/path/to/did.json Returns the URL; fetching is the caller’s job.