aries / net.globalid.aries.features.presentproof / PresentProofService / createPresentation

createPresentation

abstract fun createPresentation(agent: Agent, proofId: String, requestedCredentials: RequestedCredentials): Single<Pair<PresentationResponseMessage, AcceptedRequest>>

Creates the presentation message for the present proof record based on RequestedCredentials

Parameters

agent - is the agent for which to create the message.

proofId - is the present proof record id

requestedCredentials - from these credentials definitions presentation is done

Return
the pair of presentation PresentationResponseMessage and present proof record ProofRecord.AcceptedRequest