satisfies Presentation Definition
Validates a list of Verifiable Credentials (VCs) against a specified Presentation Definition.
This function ensures that the provided VCs meet the criteria defined in the Presentation Definition. It first checks for the presence of Submission Requirements in the definition and throws an exception if they exist, as this feature is not implemented. Then, it maps the input descriptors in the presentation definition to the corresponding VCs. If the number of mapped descriptors does not match the required count, an exception is thrown.
Parameters
Iterable of VCs in JWT format to validate.
The Presentation Definition V2 object against which VCs are validated.
Throws
If Submission Requirements are present in the definition.
If the number of input descriptors matched is less than required or if the VC payload cannot be parsed as JSON.