@JsonClass(true) data class ReceivedRequest : ProofRecord
The present proof record in the "received request" state. We are the prover in this case. When we receive a request, we save the corresponding connection ID and the request JSON. We use the thread ID to decorate the response, if there will be one.
<init> |
The present proof record in the "received request" state. We are the prover in this case. When we receive a request, we save the corresponding connection ID and the request JSON. We use the thread ID to decorate the response, if there will be one. ReceivedRequest(id: String, connectionContext: ConnectionContext, requestJson: String) |
connectionContext |
context about the connection for this instance of the protocol val connectionContext: ConnectionContext |
id |
is the wallet record ID. val id: String |
requestJson |
the request JSON format val requestJson: String |
requireProofRequest |
Gets parsed ProofRequest object from requestJson fun requireProofRequest(): ProofRequest |
toAcceptedRequest |
Converts the ReceivedRequest record to AcceptedRequest record fun toAcceptedRequest(proofJson: String): AcceptedRequest |
toRejectedRequest |
Converts the ReceivedRequest record to RejectedRequest record fun toRejectedRequest(): RejectedRequest |