Issue Credential Protocol
The IssueCredentialProtocol class represents a protocol for issuing credentials in the Atala PRISM architecture. It handles different stages of the protocol and communicates with a DIDComm connection to exchange messages.
Parameters
The current stage of the protocol.
The propose message received in the protocol.
The offer message received in the protocol.
The request message received in the protocol.
The DIDComm connection to communicate with.
Constructs an instance of IssueCredentialProtocol class. This constructor initializes the object with the provided message and connector. It determines the stage of the credential issuance process based on the message type in message, and assigns the corresponding values to the stage and relevant property (propose, offer, or request).
Parameters
The message object representing the received message.
The DIDCommConnection instance used for message exchange.
Throws
if the message does not match any known message type.