parseDid

Parses a DID string into method and identifier parts.

Return

Pair of (method, identifier) or null if invalid

Parameters

did

The DID string (e.g., "did:web:example.com")