getCredentialQueryResult

suspend fun getCredentialQueryResult(source: PresentmentSource, keyAgreementPossible: List<EcCurve> = emptyList(), requesterIdentities: List<RequesterIdentity> = emptyList()): CredentialQueryResult

Executes the request against source and returns a CredentialQueryResult.

Return

the resulting CredentialQueryResult if the query was successful.

Parameters

source

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.