DID

data class DID(val did: String, val alias: String? = null)(source)

Represents a Decentralized Identifier (DID) entity.

Parameters

did

The DID string.

alias

An optional alias for the DID.

Constructors

Link copied to clipboard
constructor(did: String, alias: String? = null)

Properties

Link copied to clipboard
val alias: String? = null
Link copied to clipboard
val did: String

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean

Checks if the current instance is equal to the given other object.

Link copied to clipboard
open override fun hashCode(): Int

Calculates the hash code for this object.