PeerDID

data class PeerDID(val did: DID, val privateKeys: Array<out PrivateKey>)(source)

Represents a PeerDID, which is used as a unique and persistent identifier for a subject or object. It consists of a DID and an array of PrivateKeys.

Constructors

Link copied to clipboard
constructor(did: DID, privateKeys: Array<out PrivateKey>)

Properties

Link copied to clipboard
val did: DID

The DID associated with the PeerDID.

Link copied to clipboard

The array of PrivateKeys associated with the PeerDID.

Functions

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

Compares this PeerDID object with the specified other object for equality.

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

Calculates the hash code value for this PeerDID object.