parse

fun parse(didString: String): DID(source)

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

Return

The DID object.

Parameters

didString

The string representation of the DID.

Throws

if the string is not a valid DID.