fun toReceivedIssue(credentialId: String, updatedAttributes: List<CredentialPreviewAttribute>, revocationRegistryId: String?): ReceivedIssue
Converts SentRequest to ReceivedIssue record and copies all tags from previous state to a new one.
credentialId
- the credential identifier
updatedAttributes
- are the attributes from the issue message. We need to update
these as they might be different than in the offer/request.
revocationRegistryId
- the revocation registry id if available
Return
the same record in new state.