evaluateInputDescriptorAgainstCredential

open override fun evaluateInputDescriptorAgainstCredential(inputDescriptor: InputDescriptor, credential: SubjectCredentialStore.StoreEntry, fallbackFormatHolder: FormatHolder?, pathAuthorizationValidator: (NormalizedJsonPath) -> Boolean): KmmResult<Map<ConstraintField, NodeList>>

Evaluates a given input descriptor against a store enctry.

Return

for each constraint field a set of matching nodes or null,

Parameters

fallbackFormatHolder

: format holder to be used in case there is no format holder in the input descriptor. This will mostly be some presentationDefinition.formats ?: clientMetadata.vpFormats

pathAuthorizationValidator

: Provides the user of this library with a way to enforce authorization rules on attribute credentials that are to be disclosed.