Skip to main content

normalize_root_json

Function normalize_root_json 

Source
pub fn normalize_root_json(request: &Value) -> Result<Value>
Expand description

A trusted root as a DID ({"root"} to {"did"}): a full DID as it is, a bare domain as its did:web. Errors with the reference’s refusal when it is neither.