OutOfBandInvitation

class OutOfBandInvitation constructor(val id: String = UUID.randomUUID().toString(), val body: OutOfBandInvitation.Body, val from: String, val type: ProtocolType = ProtocolType.Didcomminvitation, val typ: String? = null, val attachments: Array<AttachmentDescriptor> = arrayOf(), val createdTime: Long = 0, val expiresTime: Long = 0) : InvitationType(source)

Represents an out-of-band invitation message in the DIDComm protocol. The OutOfBandInvitation class represents an out-of-band invitation message in the DIDComm protocol.

Constructors

Link copied to clipboard
constructor(id: String = UUID.randomUUID().toString(), body: OutOfBandInvitation.Body, from: String, type: ProtocolType = ProtocolType.Didcomminvitation, typ: String? = null, attachments: Array<AttachmentDescriptor> = arrayOf(), createdTime: Long = 0, expiresTime: Long = 0)

Types

Link copied to clipboard
data class Body(val goalCode: String? = null, val goal: String? = null, val accept: List<String>?)

Represents the body of the out-of-band invitation message.

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@SerialName(value = "created_time")
val createdTime: Long = 0
Link copied to clipboard
@SerialName(value = "expires_time")
val expiresTime: Long = 0
Link copied to clipboard
Link copied to clipboard
val id: String
Link copied to clipboard
val typ: String? = null
Link copied to clipboard