[OID4VP 1_0-14] Presentation submission and referencing Verifiable Presentation(s)
Section 6.2 states:
The presentation_submission
element MUST be included as a separate response parameter alongside the vp_token. Clients MUST ignore any presentation_submission
element included inside a VP.
We propose to improve the description so that it clearly shows how one or multiple Verifiable Presentations are referenced within the Presentation Submission; Namely, PS in OID4VP splits the VP token and PS (which is reasonable)
The proposal from discussion w/ Kristina:
presentation_submission is always a separate response parameter from a vp token and the root is a vp token so path “$” when there is only one vp and “$[n]” when multiple. And since assumption is that VC is inside the vp - “$.verifiableCredential[n]” is a pat for VCs - so no need for “.vp_token.”
Comments (5)
-
-
Conditional to the Issue
#1768If we keep VP Token to always be an array, David’s approach makes sense. if we decide to simplify so that VP Token is only a credential when only one credential is returned, approach in Alen’s comment makes sense.
-
-
- changed status to open
-
- changed status to resolved
PR merged
- Log in to comment
Could we use $[0] always so that this refers to the first VP token, and if there are more than 1, then increase the integer. In this way the syntax is identical for however many vp tokens there are.
Note that the vp tokens must be in an ordered array for this to work