Skip to content

Commit 2abe63c

Browse files
committed
Some editorial changes
1 parent 9c032a9 commit 2abe63c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

openid-4-verifiable-presentations-1_0.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -626,8 +626,8 @@ If the Verifier responds with any HTTP error response, the Wallet MUST terminate
626626
# Verifiable Presentation Query Language {#vp_query}
627627

628628
The Verifiable Presentation Query Language (VP Query) is a JSON-encoded query
629-
language that allows the Verifier to request the Wallet to present Verifiable
630-
Credentials that match the query. The Verifier MAY encode constraints on the
629+
language that allows the Verifier to request Verifiable
630+
Presentations that match the query. The Verifier MAY encode constraints on the
631631
combinations of credentials and claims that are requested. The Wallet evaluates the
632632
query against the Verifiable Credentials it holds and returns the Verifiable
633633
Presentations that match the query.
@@ -958,9 +958,9 @@ The behavior with respect to the VP Token is unspecified for any other individua
958958
When a VP Token is returned, the respective response MUST include the following parameters:
959959

960960
`vp_token`:
961-
: REQUIRED. The structure of this parameter depends on the Authorization Request:
961+
: REQUIRED. The structure of this parameter depends on the query language used to request the presentations in the Authorization Request:
962962
* In case Presentation Exchange was used in the Authorization Request, it is a JSON String or JSON object that MUST contain a single Verifiable Presentation or an array of JSON Strings and JSON objects each of them containing a Verifiable Presentations. Each Verifiable Presentation MUST be represented as a JSON string (that is a base64url-encoded value) or a JSON object depending on a format as defined in Appendix A of [@!OpenID.VCI]. When a single Verifiable Presentation is returned, the array syntax MUST NOT be used. If Appendix A of [@!OpenID.VCI] defines a rule for encoding the respective Credential format in the Credential Response, this rules MUST also be followed when encoding Credentials of this format in the `vp_token` response parameter. Otherwise, this specification does not require any additional encoding when a Credential format is already represented as a JSON object or a JSON string.
963-
* In case the `vp_query` parameter was used, this is a JSON-encoded object; the keys are the `id` values used for the Credential Queries in the VP Query, and the values are the Verifiable Presentations that match the respective Credential Query. The Verifiable Presentations are represented as strings or objects depending on the format as defined in Appendix A of [@!OpenID.VCI]. The same rules as above apply for encoding the Verifiable Presentations.
963+
* If VP Query was used, this is a JSON-encoded object; the keys are the `id` values used for the Credential Queries in the VP Query, and the values are the Verifiable Presentations that match the respective Credential Query. The Verifiable Presentations are represented as strings or objects depending on the format as defined in Appendix A of [@!OpenID.VCI]. The same rules as above apply for encoding the Verifiable Presentations.
964964

965965
`presentation_submission`:
966966
: REQUIRED. The `presentation_submission` element as defined in [@!DIF.PresentationExchange]. It contains mappings between the requested Verifiable Credentials and where to find them within the returned VP Token. This is expressed via elements in the `descriptor_map` array, known as Input Descriptor Mapping Objects. These objects contain a field called `path`, which, for this specification, MUST have the value `$` (top level root path) when only one Verifiable Presentation is contained in the VP Token, and MUST have the value `$[n]` (indexed path from root) when there are multiple Verifiable Presentations, where `n` is the index to select. Additional parameters can be defined by Credential Formats, see (#alternative_credential_formats) for details.

0 commit comments

Comments
 (0)