aries / net.globalid.aries.features.presentproof.record / ProofRecord / AcceptedRequest

AcceptedRequest

@JsonClass(true) data class AcceptedRequest : ProofRecord

The present proof record in the "accepted request" state.

Constructors

<init>

The present proof record in the "accepted request" state.

AcceptedRequest(id: String, connectionContext: ConnectionContext, requestJson: String, proofJson: String)

Properties

connectionContext

context about the connection for this instance of the protocol

val connectionContext: ConnectionContext

id

is the wallet record ID.

val id: String

proofJson

the presented proof JSON format

val proofJson: String

requestJson

the request JSON format

val requestJson: String

Functions

requireProofRequest

Gets parsed ProofRequest object from requestJson

fun requireProofRequest(): ProofRequest

toAckPresentationReceived

Converts the ReceivedRequest record to AcceptedRequest record

fun toAckPresentationReceived(status: String): AckPresentationReceived