Skip to main content

is_did_key

Function is_did_key 

Source
pub fn is_did_key(did: &str) -> bool
Expand description

Whether did is a did:key identifier (the self-certifying interop arm).

The admission gate (#137) uses this to route a did:key peer down the self-certifying path (the key is the identity — no DID-doc resolution / fetch) instead of the did:web resolver path.