Propose Credential
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
Types
Represents the body of a message for proposing a credential.
Functions
This function creates a new Message object based on the provided data. The Message object represents a DIDComm message, which is used for secure, decentralized communication in the Atala PRISM architecture. The function sets the id, piuri, from, to, body, attachments, and thid properties of the Message object. The id property is generated using a random UUID, and the body property is encoded as a JSON string using the Json.encodeToString function. The other properties are set based on the values passed as arguments to the function.