RequestCredential

data class RequestCredential constructor(val id: String = UUID.randomUUID().toString(), val body: RequestCredential.Body, val attachments: Array<AttachmentDescriptor>, val thid: String?, val from: DID, val to: DID)(source)

ALL parameters are DIDCOMMV2 format and naming conventions and follows the protocol https://github.com/hyperledger/aries-rfcs/tree/main/features/0453-issue-credential-v2

Constructors

Link copied to clipboard
constructor(id: String = UUID.randomUUID().toString(), body: RequestCredential.Body, attachments: Array<AttachmentDescriptor>, thid: String?, from: DID, to: DID)

Types

Link copied to clipboard
data class Body constructor(val goalCode: String? = null, val comment: String? = null)

Represents the body of a request credential.

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val from: DID
Link copied to clipboard
val id: String
Link copied to clipboard
val thid: String?
Link copied to clipboard
val to: DID
Link copied to clipboard

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean

Checks if this RequestCredential object is equal to the specified other object.

Link copied to clipboard
open override fun hashCode(): Int

Calculates the hash code for the RequestCredential object.

Link copied to clipboard

This method is used to create a Message object with the specified properties.