Mediator

data class Mediator(val id: String = UUID.randomUUID().toString(), val mediatorDID: DID, val hostDID: DID, val routingDID: DID)(source)

Mediator is a data class that represents a mediator entity. It contains the mediator's ID, mediator DID, host DID, and routing DID.

Constructors

Link copied to clipboard
constructor(id: String = UUID.randomUUID().toString(), mediatorDID: DID, hostDID: DID, routingDID: DID)

Properties

Link copied to clipboard
@SerialName(value = "holder_did")
val hostDID: DID

The DID of the host.

Link copied to clipboard
val id: String

The ID of the mediator.

Link copied to clipboard
@SerialName(value = "mediator_did")
val mediatorDID: DID

The DID of the mediator.

Link copied to clipboard
@SerialName(value = "routing_did")
val routingDID: DID

The DID used for routing messages.