selectCredentials

fun selectCredentials(vcJwts: Iterable<String>, presentationDefinition: PresentationDefinitionV2): List<String>

Selects credentials that satisfy a given presentation definition.

Return

A list of Verifiable Credentials that satisfy the Presentation Definition.

Parameters

vcJwts

Iterable of VCs in JWT format to select from.

presentationDefinition

The Presentation Definition to match against.