MediationKeysUpdateList

MediationKeysUpdateList is a serializable class representing the list of keys updated in a mediation process.

Constructors

Link copied to clipboard
constructor(id: String = UUID.randomUUID().toString(), from: DID, to: DID, recipientDids: Array<DID>)

The MediationKeysUpdateList class represents a list of updates for mediation keys. It is used to create a Message object with the specified parameters.

Types

Link copied to clipboard
data class Body constructor(var updates: Array<MediationKeysUpdateList.Update> = emptyArray())

Represents a body object that contains updates for mediation keys.

Link copied to clipboard
data class Update constructor(var recipientDid: String, var action: String = ADD)

Represents an update object for mediation keys.

Properties

Link copied to clipboard

The body of the mediation keys update list, containing the updates.

Link copied to clipboard
var from: DID

The sender of the mediation keys update list.

Link copied to clipboard
var id: String

The ID of the mediation keys update list.

Link copied to clipboard
var to: DID

The recipient of the mediation keys update list.

Link copied to clipboard

The type of the mediation keys update list.

Functions

Link copied to clipboard

This method creates a Message object with the specified parameters. The Message object represents a DIDComm message used for secure and decentralized communication in the Atala PRISM architecture. The Message object includes information about the sender, recipient, message body, and other metadata. The method sets default values for some properties and returns the created Message object.