@JsonClass(true) data class SentProposal : ProofRecord
The present proof record in the "sent proposal" state. We are the prover in this case. When we send a proposal, we save the corresponding connection ID and the proposal JSON. We use the thread ID to reference a received request back to the proposal (if there is one, as a request can also be the first message).
<init> |
The present proof record in the "sent proposal" state. We are the prover in this case. When we send a proposal, we save the corresponding connection ID and the proposal JSON. We use the thread ID to reference a received request back to the proposal (if there is one, as a request can also be the first message). SentProposal(id: String, connectionContext: ConnectionContext, proposalJson: String) |
connectionContext |
context about the connection for this instance of the protocol val connectionContext: ConnectionContext |
id |
is the wallet record ID. val id: String |
proposalJson |
the proposal JSON format val proposalJson: String |
toReceivedRequest |
Converts the SentProposal record to ReceivedRequest record fun toReceivedRequest(requestJson: String): ReceivedRequest |