aries / net.globalid.aries.utils / DidUtils / getId

getId

fun getId(did: String): String

Returns the ID part of the DID. If the DID is qualified, it is of "did:method:id" form. If it is unqualified, there's only the last part (the id).

Parameters

did - is the DID

Return
the id part of the DID