aries / net.globalid.aries.message.inbound / UnpackedPlainMessage

UnpackedPlainMessage

@JsonClass(true) data class UnpackedPlainMessage

Decrypted message that was received from cloud agent. This is a model between the received packed message in form of a string, and the UnpackedMessage, which holds an AgentMessage. The agent message is represented as a string in this model.

Constructors

<init>

Decrypted message that was received from cloud agent. This is a model between the received packed message in form of a string, and the UnpackedMessage, which holds an AgentMessage. The agent message is represented as a string in this model.

UnpackedPlainMessage(message: String, senderVerKey: String?, recipientVerKey: String)

Properties

message

is actual decrypted message as a string

val message: String

recipientVerKey

is recipient's verification key

val recipientVerKey: String

senderVerKey

is sender's verification key. Can be null if anoncrypt is used instead of authcrypt.

val senderVerKey: String?