execute
suspend fun execute(presentmentSource: PresentmentSource, keyAgreementPossible: List<EcCurve> = emptyList(), requesterIdentities: List<RequesterIdentity> = emptyList()): PresentmentData
Executes the request against presentmentSource and returns a PresentmentData.
Return
the resulting PresentmentData if the query was successful.
Parameters
presentmentSource
the PresentmentSource to use as a source of truth for presentment.
keyAgreementPossible
if non-empty, a credential using Key Agreement may be returned provided its private key is using one of the given curves.
requesterIdentities
additional identities of the requester used for matching reader identifiers, if any.
Throws
if it's not possible to satisfy the query.