Key

data class Key(val key: String, val did: String? = null, val index: Int? = null, val recoveryId: String? = null)(source)

This class represents a Key object. It contains the following properties:

Constructors

Link copied to clipboard
constructor(key: String, did: String? = null, index: Int? = null, recoveryId: String? = null)

Properties

Link copied to clipboard
val did: String? = null

The decentralized identifier associated with the key (optional).

Link copied to clipboard
val index: Int? = null

The index value associated with the key (optional).

Link copied to clipboard
val key: String

The key value.

Link copied to clipboard
@SerialName(value = "recovery_id")
val recoveryId: String? = null

The recovery ID associated with the key (optional).

Functions

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

Determines whether the current object is equal to another object.

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

Calculates the hash code value for the current object.