WS_RP_MS_CredentialFormats_045c¶
Objective¶
Verify that the Wallet correctly serializes the disclosure(s) in a presentation of a credential in SD-JWT VC format, when the issuer is using compact serialization, the credential has key binding and using OpenID4VP.
References¶
- [HAIP] section 6.1, 6.1.1.1
- [SD-JWT VC] section 4.1
- [RFC9901] section 4, 4.2
Profile applicability¶
None
EUDI-wallet relevancy¶
EUDI_generic | EUDI_required
Technology¶
Presentation using OpenID4VP Credential in SD-JWT VC format Credential with key-binding Issuer uses compact serialization of SD-JWT and SD-JWT VC
Preconditions¶
- Wallet is set to 'default_configuration_1'.
- Verifier requested a credential to be presented, using a valid, trusted request for 'default_credential_A' (that is key-bound) and requesting presentation in SD-JWT VC format of all claims.
- The Wallet transmitted a syntactically correct presentation in the
vp_tokenof the Authorization Response. - The presentation value of the credential is a syntactically correct serialization in compact serialization format of an SD-JWT VC.
Test Scenario¶
- Extract the disclosure part(s) of the presentation value, that is each part of the presentation delineated by tildes ('~'), consisting of base64url-encoded data.
- Perform all Shared_JSON test cases on each disclosure part.
- Verify each disclosure part is a JSON array.
Expected results¶
- Each disclosure part contains base64url-encoded data and can be base64-decoded.
- All test cases pass, for each disclosure part.
- Each disclosure part is a JSON array, of length 2 or 3.