packMessage

abstract fun packMessage(message: Message): String(source)

Asynchronously packs a given message object into a string representation. This function may throw an error if the message object is invalid.

Return

The string representation of the packed message

Parameters

message

The message object to pack

Throws

if DIDReceiver is invalid.

if DIDSender is invalid.