Request Presentation
data class RequestPresentation(val id: String = UUID.randomUUID().toString(), val body: RequestPresentation.Body, val attachments: Array<AttachmentDescriptor>, val thid: String? = null, val from: DID, val to: DID? = null, val direction: Message.Direction = Message.Direction.RECEIVED)(source)
The RequestPresentation
class represents a request for presentation of credentials or proofs in a DIDComm protocol.
Constructors
Link copied to clipboard
constructor(id: String = UUID.randomUUID().toString(), body: RequestPresentation.Body, attachments: Array<AttachmentDescriptor>, thid: String? = null, from: DID, to: DID? = null, direction: Message.Direction = Message.Direction.RECEIVED)
Types
Functions
Link copied to clipboard
Calculates the hash code for the RequestPresentation object.
Link copied to clipboard
Creates a new Message object based on the current state of the RequestPresentation instance. The Message object contains information about the sender, recipient, message body, and other metadata. This method is typically used to convert a RequestPresentation instance into a Message object for communication purposes.