Quote

class Quote : Message

A class representing the Quote message. Quote implements the Message class and contains close specific data

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open override val data: QuoteData

The actual message content. This will always be a JSON object. The Message Kinds section specifies the content for each individual message type

Link copied to clipboard
open override val metadata: MessageMetadata

An object containing fields about the message

Link copied to clipboard
open override var signature: String?

A message or resource signature is a detached compact JWS as defined in RFC-7515

Link copied to clipboard
open override val validNext: Set<MessageKind>

Functions

Link copied to clipboard
fun sign(did: <Error class: unknown class>)

Signs the Message using the specified BearerDid.

Link copied to clipboard
open override fun toString(): String

Uses Json to serialize the Message as a json string.

Link copied to clipboard
fun verify()

Verifies the signature of the data.