Skip to main content

validate_did

Function validate_did 

Source
pub fn validate_did(s: &str) -> Result<()>
Expand description

A DID string — must start with did: and carry a non-empty, whitespace-free method-specific identifier. Both did:web:… and did:key:… are accepted.