Skip to content

Commit 638dcab

Browse files
committedOct 8, 2024·
Merge branch 'main' into danielfett/vp-query-language-3
2 parents da8a504 + 9e5f14d commit 638dcab

9 files changed

+93
-60
lines changed
 

‎diagrams/request_uri_mode_post.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ participant "Verifier" as r
1212
u --> r : use
1313
activate r
1414
15-
r --> u: authorization request\n(client_id, request_uri, request_uri_method=post, [client_id_scheme])
15+
r --> u: authorization request\n(client_id, request_uri, request_uri_method=post)
1616
deactivate r
17-
u --> w: authorization request\n(client_id, request_uri, request_uri_method=post, [client_id_scheme])
17+
u --> w: authorization request\n(client_id, request_uri, request_uri_method=post)
1818
activate w
1919
w --> w: [optional. Check client_id with trust framework]
2020
note over r,w
@@ -24,7 +24,7 @@ note over r,w
2424
end note
2525
w --> r: POST **request_uri** ([wallet_metadata][, wallet_nonce])
2626
r -> r: create and sign (and optionally encrypt) request object
27-
r --> w: **signed (optionally encrypted) request object** (client_id, client_id_scheme, wallet_nonce, nonce, \nresponse_uri, presentation_definition, state)
27+
r --> w: **signed (optionally encrypted) request object** (client_id, wallet_nonce, nonce, \nresponse_uri, presentation_definition, state)
2828
w -> w: authenticate and\n authorize Verifier
2929
3030
note over u, w: User authentication and Credential selection/confirmation

‎diagrams/request_uri_mode_post_through_browser_api.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -16,20 +16,20 @@ participant "Wallet" as w
1616
u --> r : use
1717
activate r
1818
19-
r -> wp: navigator.identity.get(\nprotocol="openid4vp",\nrequest="client_id,[client_id_scheme,] \nrequest_uri, request_uri_method=post, \npresentation_definition")
19+
r -> wp: navigator.identity.get(\nprotocol="openid4vp",\nrequest="client_id, \nrequest_uri, request_uri_method=post, \npresentation_definition")
2020
2121
deactivate r
2222
activate wp
2323
24-
wp -> ap: forward request (\norigin="example.verifier.com",\nprotocol="openid4vp",\nrequest="client_id,[client_id_scheme,] \nrequest_uri, request_uri_method=post,\n presentation_definition")
24+
wp -> ap: forward request (\norigin="example.verifier.com",\nprotocol="openid4vp",\nrequest="client_id, \nrequest_uri, request_uri_method=post,\n presentation_definition")
2525
deactivate wp
2626
activate ap
2727
2828
ap -> ap: match wallet
2929
ap -> u: use this wallet?
3030
u -> ap: confirmation
3131
32-
ap -> w: forward request (\norigin="example.verifier.com",\nprotocol="openid4vp",\nrequest="client_id,[client_id_scheme,] \nrequest_uri, request_uri_method=post,\n presentation_definition")
32+
ap -> w: forward request (\norigin="example.verifier.com",\nprotocol="openid4vp",\nrequest="client_id, \nrequest_uri, request_uri_method=post,\n presentation_definition")
3333
deactivate ap
3434
3535
activate w
@@ -40,7 +40,7 @@ note over r,w
4040
end note
4141
w --> r: POST **request_uri** ([wallet_metadata][, wallet_nonce])
4242
r -> r: create and sign (and optionally encrypt) request object
43-
r --> w: **signed (optionally encrypted) request object** (client_id, client_id_scheme, wallet_nonce, nonce, \npresentation_definition, state)
43+
r --> w: **signed (optionally encrypted) request object** (client_id, wallet_nonce, nonce, \npresentation_definition, state)
4444
w -> w: authenticate and\n authorize Verifier
4545
4646
note over u, w: User authentication and Credential selection/confirmation

‎diagrams/request_uri_mode_post_through_browser_api.plantuml

+4-4
Original file line numberDiff line numberDiff line change
@@ -16,20 +16,20 @@ participant "Wallet" as w
1616
u --> r : use
1717
activate r
1818

19-
r -> wp: navigator.identity.get(\nprotocol="openid4vp",\nrequest="client_id,[client_id_scheme,] \nrequest_uri, request_uri_method=post, \npresentation_definition")
19+
r -> wp: navigator.identity.get(\nprotocol="openid4vp",\nrequest="client_id, \nrequest_uri, request_uri_method=post, \npresentation_definition")
2020

2121
deactivate r
2222
activate wp
2323

24-
wp -> ap: forward request (\norigin="example.verifier.com",\nprotocol="openid4vp",\nrequest="client_id,[client_id_scheme,] \nrequest_uri, request_uri_method=post,\n presentation_definition")
24+
wp -> ap: forward request (\norigin="example.verifier.com",\nprotocol="openid4vp",\nrequest="client_id, \nrequest_uri, request_uri_method=post,\n presentation_definition")
2525
deactivate wp
2626
activate ap
2727

2828
ap -> ap: match wallet
2929
ap -> u: use this wallet?
3030
u -> ap: confirmation
3131

32-
ap -> w: forward request (\norigin="example.verifier.com",\nprotocol="openid4vp",\nrequest="client_id,[client_id_scheme,] \nrequest_uri, request_uri_method=post,\n presentation_definition")
32+
ap -> w: forward request (\norigin="example.verifier.com",\nprotocol="openid4vp",\nrequest="client_id, \nrequest_uri, request_uri_method=post,\n presentation_definition")
3333
deactivate ap
3434

3535
activate w
@@ -40,7 +40,7 @@ note over r,w
4040
end note
4141
w --> r: POST **request_uri** ([wallet_metadata][, wallet_nonce])
4242
r -> r: create and sign (and optionally encrypt) request object
43-
r --> w: **signed (optionally encrypted) request object** (client_id, client_id_scheme, wallet_nonce, nonce, \npresentation_definition, state)
43+
r --> w: **signed (optionally encrypted) request object** (client_id, wallet_nonce, nonce, \npresentation_definition, state)
4444
w -> w: authenticate and\n authorize Verifier
4545

4646
note over u, w: User authentication and Credential selection/confirmation

‎diagrams/signed_request_uri_through_browser_api.plantuml

+3-3
Original file line numberDiff line numberDiff line change
@@ -19,20 +19,20 @@ activate r
1919
note over r,wp
2020
Note that the signed request object contains the Verifier's origin.
2121
end note
22-
r -> wp: navigator.identity.get(\nprotocol="openid4vp",\nrequest="client_id,[client_id_scheme,] request")
22+
r -> wp: navigator.identity.get(\nprotocol="openid4vp",\nrequest="client_id, request")
2323

2424
deactivate r
2525
activate wp
2626

27-
wp -> ap: forward request (\norigin="example.verifier.com",\nprotocol="openid4vp",\nrequest="client_id,[client_id_scheme,] request")
27+
wp -> ap: forward request (\norigin="example.verifier.com",\nprotocol="openid4vp",\nrequest="client_id, request")
2828
deactivate wp
2929
activate ap
3030

3131
ap -> ap: match wallet
3232
ap -> u: use this wallet?
3333
u -> ap: confirmation
3434

35-
ap -> w: forward request (\norigin="example.verifier.com",\nprotocol="openid4vp",\nrequest="client_id,[client_id_scheme,] request")
35+
ap -> w: forward request (\norigin="example.verifier.com",\nprotocol="openid4vp",\nrequest="client_id, request")
3636
deactivate ap
3737

3838
activate w

‎examples/digital_credentials_api/signed_request_payload.json

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
22
"client_id": "https://client.example.org",
3-
"client_id_scheme": "entity_id",
43
"expected_origins": [
54
"https://origin1.example.com",
65
"https://origin2.example.com"

‎examples/request/request_object_client_id_did.json

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
22
"client_id": "did:example:123",
3-
"client_id_scheme": "did",
43
"response_type": "vp_token",
54
"redirect_uri": "https://client.example.org/callback",
65
"nonce": "n-0S6_WzA2Mj",

‎examples/response/jarm_jwt_vc_json_body.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"iss": "did:example:ebfeb1f712ebc6f1c276e12ec21",
3-
"aud": "https://client.example.org/cb",
3+
"aud": "redirect_uri:https://client.example.org/cb",
44
"exp": 1573029723,
55
"vp_token": "eyJhb...YMetA",
66
"presentation_submission": {

‎examples/response/jwt_vp.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"iss": "did:example:ebfeb1f712ebc6f1c276e12ec21",
33
"jti": "urn:uuid:3978344f-8596-4c3a-a978-8fcaba3903c5",
4-
"aud": "https://client.example.org/cb",
4+
"aud": "x509_san_uri:https://client.example.org/cb",
55
"nbf": 1541493724,
66
"iat": 1541493724,
77
"exp": 1573029723,

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

+77-42
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)
Please sign in to comment.