create Presentation From Credentials
fun createPresentationFromCredentials(vcJwts: Iterable<String>, presentationDefinition: PresentationDefinitionV2): PresentationSubmission
Creates a Presentation Submission in which the list of Verifiable Credentials JWTs (VCs) fulfills the given Presentation Definition. Presentation Definition.
Return
A PresentationSubmission object.
Parameters
vc Jwts
Iterable of VCs in JWT format to validate.
presentation Definition
The Presentation Definition V2 object against which VCs are validated.
Throws
if the presentation definition contains submission requirements.
if no VC corresponds to an input descriptor or if a VC's index is not found.
Presentation Exchange Error
If the number of input descriptors matched is less than required.