RP_WS_SM_SessionEncryption_009b_UF¶
Objective¶
Verify that the Relying Party rejects an Authorization Response via the W3C Digital Credentials API whose ephemeral public key is not a valid P-256 point.
References¶
- [HAIP] section 5, 5.2
- [OpenID4VP] section 8.3, A.4
- [RFC7518] section 4.6
- [RFC8725] section 3.4
- [ARF] Annex 2, OIA_08, OIA_08a
- [CIR 2024/2982 amended] Annex II
Profile applicability¶
- Relying Party supports presentations via the W3C Digital Credentials API.
EUDI-wallet relevancy¶
EUDI_generic | EUDI_required
Technology¶
- Presentation via the W3C Digital Credentials API with response mode
dc_api.jwt.
Preconditions¶
- The Relying Party is set to
default_configuration_rp_1. - The test environment publishes
default_trust_configuration_rp, and the Relying Party has loaded it. - Test case
RP_WS_IA_MainInteraction_001aorRP_WS_IA_MainInteraction_001bpassed in the same environment for the presentation flow of this test case.
Test Scenario¶
- Perform a presentation for
default_query_pidvia the W3C Digital Credentials API in which the Conformance Wallet presentsdefault_credential_pidin an Authorization Response that is valid except that theepkheader of its JWE holds coordinates that are not a point on P-256. - Perform a presentation for
default_query_pidvia the W3C Digital Credentials API in which the Conformance Wallet presentsdefault_credential_pidin an Authorization Response that is valid except that theepkheader of its JWE holds a key on curve P-384.
Expected results¶
- The Relying Party rejects the presentation: its verification result reports a failure and releases no attribute value from the presentation, and the endpoint receiving the Authorization Response does not answer with HTTP status 5xx.
- The Relying Party rejects the presentation: its verification result reports a failure and releases no attribute value from the presentation, and the endpoint receiving the Authorization Response does not answer with HTTP status 5xx.
Comments¶
The credential format does not affect this test case; use default_credential_pid in a format the Relying Party requests.