create Presentation
Creates an array of VerifiablePresentation and a PresentationSubmission to match the presentationDefinition.
Fails in case the default submission is not a valid submission.
Parameters
: format holder to be used in case there is no format holder in a given presentation definition and the input descriptor. This will mostly resolve to be the some clientMetadata.vpFormats
: Provides the user of this library with a way to enforce authorization rules.
Creates an array of VerifiablePresentation and a PresentationSubmission from already preselected presentationSubmissionSelection.
Assumptions:
the presentation submission selection is a valid submission regarding the submission requirements
Parameters
: id of the presentation definition this submission is intended for
: a selection of input descriptors by id and corresponding credentials along with a description of the fields to be disclosed