parseDID

abstract fun parseDID(did: String): DID(source)

Parses a string representation of a Decentralized Identifier (DID) into a DID object.

Return

The DID object.

Parameters

did

The string representation of the DID.

Throws

if the string is not a valid DID.