pub fn parse_did(s: &[u8]) -> Result<DidQi, QiError>
Parses a did:qi: string; rejects other methods and non-canonical base58 encodings.
did:qi: