DID

constructor(string: String)(source)

Constructor overload for creating a DID object based on a String.

Parameters

string

The input String from which the DID object will be created. The String should have the format "schema:method:methodId".


constructor(schema: String = DID, method: String, methodId: String, alias: String? = null)(source)