evaluate

fun evaluate(inputDescriptorGroups: Map<String, String>, selectedInputDescriptorIds: Collection<String>): Boolean(source)

Evaluating submission requirements as per Presentation Exchange 2.0.0 - Submission Requirement Rules.

Parameters

inputDescriptorGroups

: a mapping from input descriptor id to the group of the input descriptor

selectedInputDescriptorIds

: a set of input descriptor ids for which a credential is submitted