Closed ThierryThevenet closed 2 weeks ago
if the user select several sd-jwt VC, the response of the wallet must be an array of strings (each sd-jwt as a string.
&presentation_submission=... &vp_token=["ey.....", "ey...."]
all sd jwt must be referenced in the presentation_submission
{ "id": "two_sd_jwt", "input_descriptors": [ { "id": "pid_credential", "format": { "vc+sd-jwt": { "sd-jwt_alg_values": [ "ES256", "ES256K", "EdDSA" ], "kb-jwt_alg_values": [ "ES256", "ES256K", "EdDSA" ] } }, "constraints": { "fields": [ { "path": [ "$.vct" ], "filter": { "type": "string", "const": "urn:eu.europa.ec.eudi:pid:1" } } ] } }, { "id": "employee_badge_credential", "format": { "vc+sd-jwt": { "sd-jwt_alg_values": [ "ES256", "ES256K", "EdDSA" ], "kb-jwt_alg_values": [ "ES256", "ES256K", "EdDSA" ] } }, "constraints": { "fields": [ { "path": [ "$.vct" ], "filter": { "type": "string", "const": "urn:eu.europa.ec.eudi:employee_badge:1" } } ] } } ] }
Test
Get from oidc4vci get a PID and an employee badge with Test 10 and test 18
Present 2 sd-jwt with OIDC4VP Test 9
@bibash28
if the user select several sd-jwt VC, the response of the wallet must be an array of strings (each sd-jwt as a string.
&presentation_submission=... &vp_token=["ey.....", "ey...."]
all sd jwt must be referenced in the presentation_submission