aries / net.globalid.aries.utils / DidUtils

DidUtils

object DidUtils

Utilities for handling DIDs.

Functions

getId

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).

fun getId(did: String): String