pub fn did_to_name(did: &str) -> Result<Name, DidError>Expand description
Decode a did:ndn DID string back to an NDN Name.
Accepts:
- Current form:
did:ndn:<base64url(Name TLV)>— no colons in the method-specific identifier. - Deprecated
v1:form:did:ndn:v1:<base64url(Name TLV)>— parsed for backward compatibility but no longer produced byname_to_did. - Deprecated simple form:
did:ndn:com:acme:alice— parsed for backward compatibility as colon-separated GenericNameComponent ASCII values.