Skip to content

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
  1. The Relying Party is set to default_configuration_rp_1.
  2. The test environment publishes default_trust_configuration_rp, and the Relying Party has loaded it.
  3. Test case RP_WS_IA_MainInteraction_001a or RP_WS_IA_MainInteraction_001b passed in the same environment for the presentation flow of this test case.
Test Scenario
  1. The Test Trust Infrastructure publishes a new version of TL-PID that adds an entry for PP-C with a granted PID/Issuance and PID/Revocation service. Wait until the Relying Party has retrieved it, at most T_refresh.
  2. Perform a presentation for default_query_pid in which the Conformance Wallet presents, in an otherwise valid Authorization Response, a variant of default_credential_pid that differs from it only in that it is issued by PP-C.
Expected results
  1. The Test Trust Infrastructure logs a retrieval of the new version of TL-PID by the Relying Party.
  2. 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
  1. The Relying Party is set to default_configuration_rp_1.
  2. The test environment publishes default_trust_configuration_rp, and the Relying Party has loaded it.
  3. Test case RP_WS_IA_MainInteraction_001a or RP_WS_IA_MainInteraction_001b passed in the same environment for the presentation flow of this test case.
Test Scenario
  1. The Test Trust Infrastructure publishes a new version of TL-PID that adds an entry for PP-C with 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 most T_refresh.
  2. Perform a presentation for default_query_pid in which the Conformance Wallet presents, in an otherwise valid Authorization Response, a variant of default_credential_pid that differs from it only in that it is issued by PP-C.
  3. Perform a presentation for default_query_pid in which the Conformance Wallet presents default_credential_pid in a valid Authorization Response.
Expected results
  1. The Test Trust Infrastructure logs a retrieval of the new version of TL-PID by the Relying Party.
  2. 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.
  3. As the Relying Party declares in RP.T.4: Keep accepts the presentation and releases exactly the requested attributes (the last valid version of TL-PID stays in use); Discard rejects it (no usable TL-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
  1. The Relying Party is set to default_configuration_rp_1.
  2. The test environment publishes default_trust_configuration_rp, and the Relying Party has loaded it.
  3. Test case RP_WS_IA_MainInteraction_001a or RP_WS_IA_MainInteraction_001b passed in the same environment for the presentation flow of this test case.
Test Scenario
  1. The Test Trust Infrastructure publishes a new version of TL-PID that adds an entry for PP-C with a granted PID/Issuance and PID/Revocation service. It is valid in every other respect, except that it is sealed by a certificate issued by CA-X, which its x5c header carries, instead of the scheme operator certificate. Wait until the Relying Party has retrieved it, at most T_refresh.
  2. Perform a presentation for default_query_pid in which the Conformance Wallet presents, in an otherwise valid Authorization Response, a variant of default_credential_pid that differs from it only in that it is issued by PP-C.
  3. Perform a presentation for default_query_pid in which the Conformance Wallet presents default_credential_pid in a valid Authorization Response.
Expected results
  1. The Test Trust Infrastructure logs a retrieval of the new version of TL-PID by the Relying Party.
  2. 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.
  3. As the Relying Party declares in RP.T.4: Keep accepts the presentation and releases exactly the requested attributes (the last valid version of TL-PID stays in use); Discard rejects it (no usable TL-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
  1. The Relying Party is set to default_configuration_rp_1.
  2. The test environment publishes default_trust_configuration_rp, and the Relying Party has loaded it.
  3. Test case RP_WS_IA_MainInteraction_001a or RP_WS_IA_MainInteraction_001b passed in the same environment for the presentation flow of this test case.
Test Scenario
  1. The Test Trust Infrastructure publishes a new version of TL-PID that adds an entry for PP-C with a granted PID/Issuance and PID/Revocation service. It is valid in every other respect, except that its NextUpdate lies half of the grace period G in the past, and its ListIssueDateTime one month before that. Wait until the Relying Party has retrieved it, at most T_refresh.
  2. Perform a presentation for default_query_pid in which the Conformance Wallet presents, in an otherwise valid Authorization Response, a variant of default_credential_pid that differs from it only in that it is issued by PP-C.
Expected results
  1. The Test Trust Infrastructure logs a retrieval of the new version of TL-PID by the Relying Party.
  2. 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 that TL-PID is 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
  1. The Relying Party is set to default_configuration_rp_1.
  2. The test environment publishes default_trust_configuration_rp, and the Relying Party has loaded it.
  3. Test case RP_WS_IA_MainInteraction_001a or RP_WS_IA_MainInteraction_001b passed in the same environment for the presentation flow of this test case.
Test Scenario
  1. The Test Trust Infrastructure publishes a new version of TL-PID with the same entries. Wait until the Relying Party has retrieved it, at most T_refresh.
  2. Perform a presentation for default_query_pid in which the Conformance Wallet presents default_credential_pid in a valid Authorization Response.
  3. The Test Trust Infrastructure publishes a version of TL-PID that lists the PID/Issuance service of PP-W again. It is valid in every other respect, except that its LoTESequenceNumber is one lower than that of the version the Relying Party retrieved before, and its ListIssueDateTime one day earlier. Wait until the Relying Party has retrieved it, at most T_refresh.
  4. Perform a presentation for default_query_pid in which the Conformance Wallet presents, in an otherwise valid Authorization Response, a variant of default_credential_pid that differs from it only in that it is issued by PP-W.
Expected results
  1. The Test Trust Infrastructure logs a retrieval of the new version of TL-PID by the Relying Party.
  2. 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 default_credential_pid.
  3. The Test Trust Infrastructure logs a retrieval of the new version of TL-PID by the Relying Party.
  4. 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
  1. The Relying Party is set to default_configuration_rp_1.
  2. The test environment publishes default_trust_configuration_rp, and the Relying Party has loaded it.
  3. Test case RP_WS_IA_MainInteraction_001a or RP_WS_IA_MainInteraction_001b passed in the same environment for the presentation flow of this test case.
Test Scenario
  1. The Test Trust Infrastructure publishes a new version of TL-PID that adds an entry for PP-C with a granted PID/Issuance and PID/Revocation service. It is valid in every other respect, except that its LoTEType is that of a Wallet Providers list (http://uri.etsi.org/19602/LoTEType/EUWalletProvidersList), while it is published at the location of TL-PID and sealed by its scheme operator. Wait until the Relying Party has retrieved it, at most T_refresh.
  2. Perform a presentation for default_query_pid in which the Conformance Wallet presents, in an otherwise valid Authorization Response, a variant of default_credential_pid that differs from it only in that it is issued by PP-C.
Expected results
  1. The Test Trust Infrastructure logs a retrieval of the new version of TL-PID by the Relying Party.
  2. Whether the Relying Party accepts or rejects the PID of PP-C is 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
  1. The Relying Party is set to default_configuration_rp_1.
  2. The test environment publishes default_trust_configuration_rp, and the Relying Party has loaded it.
  3. Test case RP_WS_IA_MainInteraction_001a or RP_WS_IA_MainInteraction_001b passed in the same environment for the presentation flow of this test case.
Test Scenario
  1. The Test Trust Infrastructure publishes a new version of TL-QEAA in which the service of QP-N is a granted qualified service for the issuance of QEAAs. Wait until the Relying Party has retrieved it, at most T_refresh.
  2. Perform a presentation for default_query_qeaa in which the Conformance Wallet presents, in an otherwise valid Authorization Response, a variant of default_credential_qeaa that differs from it only in that it is issued by QP-N.
Expected results
  1. The Test Trust Infrastructure logs a retrieval of the new version of TL-QEAA by the Relying Party.
  2. The Relying Party accepts the presentation: its verification result reports success and releases exactly the attributes requested in default_query_qeaa, with the values of default_credential_qeaa issued by QP-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
  1. The Relying Party is set to default_configuration_rp_1.
  2. The test environment publishes default_trust_configuration_rp, and the Relying Party has loaded it.
  3. Test case RP_WS_IA_MainInteraction_001a or RP_WS_IA_MainInteraction_001b passed in the same environment for the presentation flow of this test case.
Test Scenario
  1. The Test Trust Infrastructure publishes a new version of TL-QEAA in which the service of QP-N is 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 by CA-X, which is not the certificate the LOTL names in its pointer to TL-QEAA. Wait until the Relying Party has retrieved it, at most T_refresh.
  2. Perform a presentation for default_query_qeaa in which the Conformance Wallet presents, in an otherwise valid Authorization Response, a variant of default_credential_qeaa that differs from it only in that it is issued by QP-N.
Expected results
  1. The Test Trust Infrastructure logs a retrieval of the new version of TL-QEAA by the Relying Party.
  2. 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
  1. The Relying Party is set to default_configuration_rp_1.
  2. The test environment publishes default_trust_configuration_rp, and the Relying Party has loaded it.
  3. Test case RP_WS_IA_MainInteraction_001a or RP_WS_IA_MainInteraction_001b passed in the same environment for the presentation flow of this test case.
Test Scenario
  1. The Test Trust Infrastructure publishes a new version of TL-PID that adds an entry for PP-C with a granted PID/Issuance and PID/Revocation service. It is valid in every other respect, except that its NextUpdate lies the grace period G plus one hour in the past, and its ListIssueDateTime one month before that. Wait until the Relying Party has retrieved it, at most T_refresh.
  2. Perform a presentation for default_query_pid in which the Conformance Wallet presents, in an otherwise valid Authorization Response, a variant of default_credential_pid that differs from it only in that it is issued by PP-C.
Expected results
  1. The Test Trust Infrastructure logs a retrieval of the new version of TL-PID by the Relying Party.
  2. 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).