aries / net.globalid.aries.storage.models.record / ConnectionContext

ConnectionContext

@JsonClass(true) data class ConnectionContext

Represents context for creating and sending a (response) message. One of the fields should not be null.

Constructors

<init>

Represents context for creating and sending a (response) message. One of the fields should not be null.

ConnectionContext(connectionId: String? = null, serviceDecorator: ServiceDecorator? = null)

Properties

connectionId

is an ID of a connection record. That record contains DIDs, keys and endpoint data (and an optional label, by which the sender can be identified).

val connectionId: String?

serviceDecorator

is a decorator containing keys and endpoint data. This decorator does not specify anything about the sender.

val serviceDecorator: ServiceDecorator?

Companion Object Properties

JSON_NAME_CONTEXT

const val JSON_NAME_CONTEXT: String