Offering

A class representing the Offering resource. Offering implements the Resource class and contains Offering specific data

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open override val data: OfferingData

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

Link copied to clipboard
open override val metadata: ResourceMetadata

An object containing fields about the resource

Link copied to clipboard
open override var signature: String?

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

Functions

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

Signs the Resource using the specified BearerDid

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

Uses Json to serialize the Resource as a json string.

Link copied to clipboard
fun verify()

Verifies the signature of the Resource.