Relying Party - Trust Infrastructure test cases¶
Security Mechanisms¶
Security Mechanisms - Trust Mechanisms¶
RP_Inf_SM_TrustMechanisms_001¶
Objective¶
Verify that the Relying Party loads a new version of the PID Provider list, validates its seal with the configured scheme operator certificate, and uses its anchors.
References¶
- [ETSI TS 119 602]
- [ARF] Annex 2, OIA_15a, OIA_15b
- [ARF] Annex 2, TLPub_05, TLPub_07
Profile applicability¶
None
EUDI-wallet relevancy¶
EUDI_specific | EUDI_required
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¶
- The Test Trust Infrastructure publishes a new version of
TL-PIDthat adds an entry forPP-Cwith a granted PID/Issuance and PID/Revocation service. Wait until the Relying Party has retrieved it, at mostT_refresh. - Perform a presentation for
default_query_pidin which the Conformance Wallet presents, in an otherwise valid Authorization Response, a variant ofdefault_credential_pidthat differs from it only in that it is issued byPP-C.
Expected results¶
- The Test Trust Infrastructure logs a retrieval of the new version of
TL-PIDby the Relying Party. - The Relying Party accepts the presentation: its verification result reports success and releases exactly the attributes requested in
default_query_pid, with the values of the presented credential.
Comments¶
Restore the previous version of TL-PID after the test case.
The credential format does not affect this test case; use the credentials in a format the Relying Party requests.
Execute this test case once for each presentation flow the Relying Party supports (redirects, W3C Digital Credentials API).
RP_Inf_SM_TrustMechanisms_002_UF¶
Objective¶
Verify that the Relying Party does not use a version of the PID Provider list whose seal is invalid, and then acts as it declares (RP.T.4): it keeps the last valid version, or uses none.
References¶
- [ETSI TS 119 602]
- [ARF] Annex 2, OIA_15a, OIA_15b
Profile applicability¶
None
EUDI-wallet relevancy¶
EUDI_specific | EUDI_required
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¶
- The Test Trust Infrastructure publishes a new version of
TL-PIDthat adds an entry forPP-Cwith a granted PID/Issuance and PID/Revocation service. It is valid in every other respect, except that one bit of the signature value of its JAdES seal is flipped. Wait until the Relying Party has retrieved it, at mostT_refresh. - Perform a presentation for
default_query_pidin which the Conformance Wallet presents, in an otherwise valid Authorization Response, a variant ofdefault_credential_pidthat differs from it only in that it is issued byPP-C. - Perform a presentation for
default_query_pidin which the Conformance Wallet presentsdefault_credential_pidin a valid Authorization Response.
Expected results¶
- The Test Trust Infrastructure logs a retrieval of the new version of
TL-PIDby the Relying Party. - 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.
- As the Relying Party declares in RP.T.4:
Keepaccepts the presentation and releases exactly the requested attributes (the last valid version ofTL-PIDstays in use);Discardrejects it (no usableTL-PID).
Comments¶
The new version adds an entity, so a Relying Party that used it would accept that entity's credential. Whether the last valid version then stays in use (until its NextUpdate plus the grace period G) is the policy the Relying Party declares in RP.T.4.
Step 3 is POLICY (RP.T.4) since the spec review of 2026-11-20 (catalogue section 9): ETSI TS 119 602 and the ARF require the seal of a list to be verified before it is used, but no specification requires a Relying Party to keep the last valid version, so discarding the list (fail-closed) conforms too.
Restore the previous version of TL-PID after the test case.
The credential format does not affect this test case; use the credentials in a format the Relying Party requests.
Execute this test case once for each presentation flow the Relying Party supports (redirects, W3C Digital Credentials API).
RP_Inf_SM_TrustMechanisms_003_UF¶
Objective¶
Verify that the Relying Party does not use a version of the PID Provider list sealed by a key other than that of its scheme operator, and then acts as it declares (RP.T.4): it keeps the last valid version, or uses none.
References¶
- [ETSI TS 119 602]
- [ARF] Annex 2, OIA_15a, OIA_15b
Profile applicability¶
None
EUDI-wallet relevancy¶
EUDI_specific | EUDI_required
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¶
- The Test Trust Infrastructure publishes a new version of
TL-PIDthat adds an entry forPP-Cwith a granted PID/Issuance and PID/Revocation service. It is valid in every other respect, except that it is sealed by a certificate issued byCA-X, which itsx5cheader carries, instead of the scheme operator certificate. Wait until the Relying Party has retrieved it, at mostT_refresh. - Perform a presentation for
default_query_pidin which the Conformance Wallet presents, in an otherwise valid Authorization Response, a variant ofdefault_credential_pidthat differs from it only in that it is issued byPP-C. - Perform a presentation for
default_query_pidin which the Conformance Wallet presentsdefault_credential_pidin a valid Authorization Response.
Expected results¶
- The Test Trust Infrastructure logs a retrieval of the new version of
TL-PIDby the Relying Party. - 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.
- As the Relying Party declares in RP.T.4:
Keepaccepts the presentation and releases exactly the requested attributes (the last valid version ofTL-PIDstays in use);Discardrejects it (no usableTL-PID).
Comments¶
The new version adds an entity, so a Relying Party that used it would accept that entity's credential. Whether the last valid version then stays in use (until its NextUpdate plus the grace period G) is the policy the Relying Party declares in RP.T.4.
Step 3 is POLICY (RP.T.4) since the spec review of 2026-11-20 (catalogue section 9): ETSI TS 119 602 and the ARF require the seal of a list to be verified before it is used, but no specification requires a Relying Party to keep the last valid version, so discarding the list (fail-closed) conforms too.
Restore the previous version of TL-PID after the test case.
The credential format does not affect this test case; use the credentials in a format the Relying Party requests.
Execute this test case once for each presentation flow the Relying Party supports (redirects, W3C Digital Credentials API).
RP_Inf_SM_TrustMechanisms_004¶
Objective¶
Verify that the Relying Party keeps using a PID Provider list whose NextUpdate has passed during the grace period, and signals that it is stale.
References¶
- [ETSI TS 119 602]
- [ARF] Annex 2, OIA_15a, OIA_15b
- [ARF] Annex 2, OIA_15a
Profile applicability¶
- Relying Party keeps using a trust list for a grace period greater than zero after its
NextUpdate.
EUDI-wallet relevancy¶
EUDI_specific | EUDI_required
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¶
- The Test Trust Infrastructure publishes a new version of
TL-PIDthat adds an entry forPP-Cwith a granted PID/Issuance and PID/Revocation service. It is valid in every other respect, except that itsNextUpdatelies half of the grace periodGin the past, and itsListIssueDateTimeone month before that. Wait until the Relying Party has retrieved it, at mostT_refresh. - Perform a presentation for
default_query_pidin which the Conformance Wallet presents, in an otherwise valid Authorization Response, a variant ofdefault_credential_pidthat differs from it only in that it is issued byPP-C.
Expected results¶
- The Test Trust Infrastructure logs a retrieval of the new version of
TL-PIDby the Relying Party. - The Relying Party accepts the presentation: its verification result reports success and releases exactly the attributes requested in
default_query_pid, with the values of the presented credential. Its verification result signals thatTL-PIDis stale (trust-list-stale).
Comments¶
The harness cannot move the clock of the Relying Party, so it publishes a version whose NextUpdate has already passed: the state a list reaches when no newer version appears.
Restore the previous version of TL-PID after the test case.
The credential format does not affect this test case; use the credentials in a format the Relying Party requests.
Execute this test case once for each presentation flow the Relying Party supports (redirects, W3C Digital Credentials API).
RP_Inf_SM_TrustMechanisms_005_UF¶
Objective¶
Verify that the Relying Party ignores a version of the PID Provider list that rolls back to an older one.
References¶
- [ETSI TS 119 602]
- [ARF] Annex 2, OIA_15a, OIA_15b
Profile applicability¶
None
EUDI-wallet relevancy¶
EUDI_specific | EUDI_required
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¶
- The Test Trust Infrastructure publishes a new version of
TL-PIDwith the same entries. Wait until the Relying Party has retrieved it, at mostT_refresh. - Perform a presentation for
default_query_pidin which the Conformance Wallet presentsdefault_credential_pidin a valid Authorization Response. - The Test Trust Infrastructure publishes a version of
TL-PIDthat lists the PID/Issuance service ofPP-Wagain. It is valid in every other respect, except that itsLoTESequenceNumberis one lower than that of the version the Relying Party retrieved before, and itsListIssueDateTimeone day earlier. Wait until the Relying Party has retrieved it, at mostT_refresh. - Perform a presentation for
default_query_pidin which the Conformance Wallet presents, in an otherwise valid Authorization Response, a variant ofdefault_credential_pidthat differs from it only in that it is issued byPP-W.
Expected results¶
- The Test Trust Infrastructure logs a retrieval of the new version of
TL-PIDby the Relying Party. - The Relying Party accepts the presentation: its verification result reports success and releases exactly the attributes requested in
default_query_pid, with the values ofdefault_credential_pid. - The Test Trust Infrastructure logs a retrieval of the new version of
TL-PIDby the Relying Party. - 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¶
Step 2 makes a Relying Party that retrieves lists only when it needs them load the version of step 1, so the version of step 3 rolls back from the one in use.
The rolled back version would make PP-W a PID Provider again, so a Relying Party that used it would accept its PID.
Restore the previous version of TL-PID after the test case.
The credential format does not affect this test case; use the credentials in a format the Relying Party requests.
Execute this test case once for each presentation flow the Relying Party supports (redirects, W3C Digital Credentials API).
RP_Inf_SM_TrustMechanisms_006_UF¶
Objective¶
Record whether the Relying Party uses a list whose LoTEType is not that of a PID Providers list as the PID Provider list.
References¶
- [ETSI TS 119 602]
- [ARF] Annex 2, OIA_15a, OIA_15b
- [ETSI TS 119 602] clause 6.3.3, Annexes D and E
- [ARF] Annex 2, OIA_15
Profile applicability¶
None
EUDI-wallet relevancy¶
EUDI_specific | EUDI_required
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¶
- The Test Trust Infrastructure publishes a new version of
TL-PIDthat adds an entry forPP-Cwith a granted PID/Issuance and PID/Revocation service. It is valid in every other respect, except that itsLoTETypeis that of a Wallet Providers list (http://uri.etsi.org/19602/LoTEType/EUWalletProvidersList), while it is published at the location ofTL-PIDand sealed by its scheme operator. Wait until the Relying Party has retrieved it, at mostT_refresh. - Perform a presentation for
default_query_pidin which the Conformance Wallet presents, in an otherwise valid Authorization Response, a variant ofdefault_credential_pidthat differs from it only in that it is issued byPP-C.
Expected results¶
- The Test Trust Infrastructure logs a retrieval of the new version of
TL-PIDby the Relying Party. - Whether the Relying Party accepts or rejects the PID of
PP-Cis recorded; HTTP 5xx fails.
Comments¶
The new version adds an entity, so a Relying Party that used it would accept that entity's credential. Whether the last valid version then stays in use (until its NextUpdate plus the grace period G) is the policy the Relying Party declares in RP.T.4.
Informational since the spec review of 2026-11-20 (catalogue section 8.3). The version is itself not a conforming list of either type: its LoTEType is that of a Wallet Providers list (ETSI TS 119 602 Annex E, Table E.1), while it carries PID Providers with PID/Issuance services (Annex D). The LoTEType "permits a parser to determine the form of any following field to expect" (clause 6.3.3); no clause requires a Relying Party to refuse a list fetched from the PID list location because of it. Nor does the type alone turn the entries into PID Providers: PP-C carries a PID/Issuance service in either case.
Restore the previous version of TL-PID after the test case.
The credential format does not affect this test case; use the credentials in a format the Relying Party requests.
Execute this test case once for each presentation flow the Relying Party supports (redirects, W3C Digital Credentials API).
RP_Inf_SM_TrustMechanisms_008¶
Objective¶
Verify that the Relying Party reaches the Trusted List of QTSPs through the list of trusted lists, validates it with the certificate of the pointer, and extracts the type and status of its services.
References¶
- [ETSI TS 119 612] Annex A
- [ARF] Annex 2, OIA_13, OIA_15b
Profile applicability¶
- Relying Party requests QEAAs.
EUDI-wallet relevancy¶
EUDI_specific | EUDI_required
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¶
- The Test Trust Infrastructure publishes a new version of
TL-QEAAin which the service ofQP-Nis a granted qualified service for the issuance of QEAAs. Wait until the Relying Party has retrieved it, at mostT_refresh. - Perform a presentation for
default_query_qeaain which the Conformance Wallet presents, in an otherwise valid Authorization Response, a variant ofdefault_credential_qeaathat differs from it only in that it is issued byQP-N.
Expected results¶
- The Test Trust Infrastructure logs a retrieval of the new version of
TL-QEAAby the Relying Party. - The Relying Party accepts the presentation: its verification result reports success and releases exactly the attributes requested in
default_query_qeaa, with the values ofdefault_credential_qeaaissued byQP-N.
Comments¶
Restore the previous version of TL-QEAA after the test case.
The credential format does not affect this test case; use the credentials in a format the Relying Party requests.
Execute this test case once for each presentation flow the Relying Party supports (redirects, W3C Digital Credentials API).
RP_Inf_SM_TrustMechanisms_009_UF¶
Objective¶
Verify that the Relying Party does not use a Trusted List of QTSPs signed with a certificate that the pointer of the list of trusted lists does not name.
References¶
- [ETSI TS 119 612] Annex A
- [ARF] Annex 2, OIA_13, OIA_15b
Profile applicability¶
- Relying Party requests QEAAs.
EUDI-wallet relevancy¶
EUDI_specific | EUDI_required
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¶
- The Test Trust Infrastructure publishes a new version of
TL-QEAAin which the service ofQP-Nis a granted qualified service for the issuance of QEAAs. It is valid in every other respect, except that it is signed by a certificate issued byCA-X, which is not the certificate the LOTL names in its pointer toTL-QEAA. Wait until the Relying Party has retrieved it, at mostT_refresh. - Perform a presentation for
default_query_qeaain which the Conformance Wallet presents, in an otherwise valid Authorization Response, a variant ofdefault_credential_qeaathat differs from it only in that it is issued byQP-N.
Expected results¶
- The Test Trust Infrastructure logs a retrieval of the new version of
TL-QEAAby the Relying Party. - 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 catalogue expects the QEAA of QP-A to be rejected. A Relying Party keeps using the last valid version of the list, so the new version instead grants QP-N a qualified service, and the QEAA of QP-N stays rejected.
Restore the previous version of TL-QEAA after the test case.
The credential format does not affect this test case; use the credentials in a format the Relying Party requests.
Execute this test case once for each presentation flow the Relying Party supports (redirects, W3C Digital Credentials API).
RP_Inf_SM_TrustMechanisms_012_UF¶
Objective¶
Verify that the Relying Party no longer uses a PID Provider list whose NextUpdate has passed by more than the grace period.
References¶
- [ETSI TS 119 602]
- [ARF] Annex 2, OIA_15a, OIA_15b
- [ARF] Annex 2, OIA_15a
Profile applicability¶
None
EUDI-wallet relevancy¶
EUDI_specific | EUDI_required
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¶
- The Test Trust Infrastructure publishes a new version of
TL-PIDthat adds an entry forPP-Cwith a granted PID/Issuance and PID/Revocation service. It is valid in every other respect, except that itsNextUpdatelies the grace periodGplus one hour in the past, and itsListIssueDateTimeone month before that. Wait until the Relying Party has retrieved it, at mostT_refresh. - Perform a presentation for
default_query_pidin which the Conformance Wallet presents, in an otherwise valid Authorization Response, a variant ofdefault_credential_pidthat differs from it only in that it is issued byPP-C.
Expected results¶
- The Test Trust Infrastructure logs a retrieval of the new version of
TL-PIDby the Relying Party. - 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 harness cannot move the clock of the Relying Party, so it publishes a version whose NextUpdate lies more than the grace period in the past: the state a list reaches when no newer version appears.
Restore the previous version of TL-PID after the test case.
The credential format does not affect this test case; use the credentials in a format the Relying Party requests.
Execute this test case once for each presentation flow the Relying Party supports (redirects, W3C Digital Credentials API).