aries / net.globalid.aries.message.outbound / OutboundMessage

OutboundMessage

data class OutboundMessage

A pair of an agent message, that the agent wants to send, and the corresponding connection record. Based on the connection record data, the agent message should be appropriately encrypted and forwarded/routed.

Constructors

<init>

A pair of an agent message, that the agent wants to send, and the corresponding connection record. Based on the connection record data, the agent message should be appropriately encrypted and forwarded/routed.

OutboundMessage(theirVerKeys: List<String>, routingKeys: List<String>, myVerKey: String?, endpointUri: String, payload: AgentMessage)

Properties

endpointUri

agent endpoint uri.

val endpointUri: String

myVerKey

is my verification key.

val myVerKey: String?

payload

is the actual agent message that the agent wants to send.

val payload: AgentMessage

routingKeys

are the keys used for wrapping the messages in forward requests.

val routingKeys: List<String>

theirVerKeys

are the recipient's verification keys.

val theirVerKeys: List<String>