Default items¶
The following sections define the configurations, test roles, credentials and trust anchors used throughout the test case specifications. These definitions are intentionally logical rather than physical: they describe the required structures and characteristics, but not specific values. The tester or test tooling supplies concrete values for test execution.
Test trust establishment¶
Tests are designed to run in a controlled environment. The PCAF assumes that this environment is separate from production and that all aspects of it can be controlled. A separate environment is necessary to control which systems in the ecosystem are trusted. Functional testing includes tests with explicitly trusted and untrusted systems, as well as unsuccessful flows, or negative test cases, so control of trust relationships is essential. Production trust infrastructure cannot support this because its policies do not allow trust in test systems that intentionally produce incorrect data. A controlled environment also prevents external changes from influencing or disrupting testing.
To establish trust for tests, and explicit non-trust for negative tests, the trust configurations below describe the trusted lists, trust lists and certificate hierarchies of the test environment, logically. Testers and test tools supply specific instances of them. The tests assume that the SUT has loaded them, or can download them, as its default configuration states.
Default credentials¶
default_credential_A¶
The attestation of the test cases that need one that is not a PID, as defined by the FCAF: a Credential, specifically an EAA, in both mdoc and SD-JWT VC format. The Credential is issued by Issuer A. It may be any type of Credential, identified by an mdoc doctype or an SD-JWT VC vct. The Relying Party test cases use it as QEAA, PuB-EAA and non-qualified EAA (default_credential_qeaa, default_credential_pubeaa, default_credential_eaa below), and an Attestation Provider issues it as its attestation.
The Credential has at least the following Attributes:
| Attribute | Type | Value |
|---|---|---|
attribute_A |
numerical | positive number |
attribute_B |
string | non-empty string consisting of Latin-1 characters, with a maximum length of 64 characters |
attribute_C |
date | valid date in the past |
Relying Party testing¶
The following items apply when the System Under Test is a Relying Party: the Relying Party Instance(s) together with the back end that decides whether a presentation is accepted.
Test roles¶
| Role | Function |
|---|---|
| Conformance Wallet | Acts as Wallet Unit. Receives the Relying Party's Authorization Request and sends Authorization Responses that are valid, or valid except for the deviation a test step defines. For presentations via the W3C Digital Credentials API it is available to the browser as a credential provider, or the tester injects its response at the browser API. |
| Test Issuers | Issue the credentials of the test cases, including the variants a test step defines. A credential issued by an entity is signed by a certificate under that entity's issuance anchor in default_trust_configuration_rp; the signing certificate and any intermediate certificates, without the anchor, are carried in x5c (SD-JWT VC) or x5chain (mdoc). The status list such a credential references is signed under the revocation anchor of the same entity, unless a test step states otherwise. |
| Test Status Provider | Serves status lists and identifier lists with controllable content, signature and lifetime, and logs every request it receives. |
| Test Trust Infrastructure | Publishes the lists of default_trust_configuration_rp and new versions of them, and logs every retrieval. |
Verification result¶
The verification result is the outcome the Relying Party hands to the relying service for a transaction: success with the released attributes, or failure. The Relying Party declares in its ICS how a tester reads it. For automated execution this is an API or a webhook. An HTTP status 4xx at the endpoint receiving the Authorization Response also counts as a reported failure. Where the result can only be observed in a user interface, the tester records evidence of it, for example a screenshot.
A Relying Party accepts a presentation when its verification result reports success and releases exactly the requested attributes with the values of the presented credential. It rejects a presentation when 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.
default_configuration_rp_1¶
| Property | Setting, contents, or value |
|---|---|
| Deployment | The Relying Party Instance(s) and back end run in the controlled environment and are reachable by the Conformance Wallet over TLS with a certificate the Conformance Wallet trusts. |
| Registration | The Relying Party holds an access certificate issued by AC-A and a registration certificate issued by RC-A for its service. The registration certificate lists the attributes of every default query the Relying Party uses. |
| Trust | The Relying Party has loaded default_trust_configuration_rp and no other trust anchors. |
| Presentation trigger | The tester can start a presentation for a given default query. |
| Verification result | The tester can read the verification result of every transaction, as declared in the ICS. |
| Status list cache | Empty at the start of each test case. |
| Clock | Synchronised with the time source of the test environment. The clock tolerance T_skew and the freshness window T_kb for key binding JWTs and device authentication are those declared in the ICS, each at most 300 seconds. |
| Network connectivity | The Relying Party can reach the Test Status Provider and the Test Trust Infrastructure. |
default_trust_configuration_rp¶
The test environment defines every root of trust, so that each test case has exactly one correct outcome. The Relying Party is configured with the scheme operator certificates of the test lists only, the test counterpart of the publication of trust anchors in the Official Journal, and derives everything else from the lists. Where other specifications allow wider choices, for example [Token Status List] section 11.3, this configuration decides.
| Purpose | Root of trust |
|---|---|
| The lists themselves | The scheme operator certificates of TL-PID, TL-PUB, TL-WP, TL-AC and TL-RC; the signing certificates of the test list of trusted lists that points to TL-QEAA. |
| Signing a PID | An anchor under the PID/Issuance service of an entity in TL-PID. |
| Signing a QEAA | An anchor of a granted qualified service for the issuance of QEAAs in TL-QEAA. |
| Signing a PuB-EAA | An anchor under the issuance service of an entity in TL-PUB. |
| Signing a non-qualified EAA | The anchor CA-EP-A that the rulebook of default_credential_eaa defines. |
| Signing a status list or identifier list | An anchor under the revocation service of the same entity whose issuance anchor validated the credential, in the same list. An entity that signs its status lists with its issuance key publishes that CA under both services. For a QEAA, the anchor of the granted qualified service that validated the credential, since [ETSI TS 119 612] defines no service type for the revocation status of attestations. For a non-qualified EAA, the anchor its rulebook defines for status lists (CA-EP-A). |
| Signing a request (access certificate) | An anchor in TL-AC. |
| Signing a registration certificate | An anchor in TL-RC. |
A signer is trusted for a purpose only if its certificate chain ends in an anchor this configuration defines for that purpose and, where stated, for that entity. A valid chain to an anchor defined for another purpose, another entity or another list is not trusted.
| Entity | List | Services and anchors |
|---|---|---|
PP-A |
TL-PID |
PID/Issuance with anchor CA-PP-A; PID/Revocation with the separate anchor CA-PP-A-REV; both granted. |
PP-B |
TL-PID |
PID/Issuance and PID/Revocation, both with the anchor CA-PP-B; granted. |
PP-C |
none | Not listed. Test cases add it to TL-PID. |
PP-D |
TL-PID |
Like PP-B. Test cases remove it from TL-PID. |
PP-E |
TL-PID |
Like PP-B, but the anchor certificate has expired. |
PP-W |
TL-PID |
PID/Revocation with the anchor CA-PP-W; granted. Its PID/Issuance service, under the same anchor, is withdrawn and therefore not listed, since [ETSI TS 119 602] Annex D gives PID Providers lists no service status. |
PP-I |
TL-PID |
PID/Issuance and PID/Revocation, both with the anchor CA-PP-I, which allows one intermediate CA; granted. Its signing certificates are issued by the intermediate CA CA-PP-I-INT and carry it in their certificate chain. |
QP-A |
TL-QEAA |
Granted qualified service for the issuance of QEAAs with the anchor CA-QP-A, under which it also signs its status lists. |
QP-N |
TL-QEAA |
Like QP-A, but the issuance service is not qualified. |
QP-W |
TL-QEAA |
Like QP-A, with the qualified service for the issuance of QEAAs withdrawn. |
PB-A |
TL-PUB |
Issuance and revocation services, both with the anchor CA-PB-A; granted. |
EP-A |
none | Signs under CA-EP-A, the anchor its rulebook defines; its status lists are signed under the same anchor. |
WP-A |
TL-WP |
Wallet Provider with issuance and revocation services. |
AC-A |
TL-AC |
Access Certificate Authority that issued the Relying Party's access certificate. |
RC-A |
TL-RC |
Provider of registration certificates that issued the Relying Party's registration certificate. |
CA-X |
none | Self-signed CA on no list. |
| List | Content |
|---|---|
TL-PID |
List of trusted entities per [ETSI TS 119 602] of type PID Providers list. |
TL-PUB |
List of trusted entities of PuB-EAA Providers. |
TL-WP |
List of trusted entities of Wallet Providers. |
TL-AC |
List of trusted entities of Access Certificate Authorities. |
TL-RC |
List of trusted entities of Providers of registration certificates. |
TL-QEAA |
Test Trusted List per [ETSI TS 119 612], reached through a test list of trusted lists. |
default_credential_pid¶
A PID per the [PID rulebook], available in SD-JWT VC and in mdoc format, as each test case states.
| Property | Setting, contents, or value |
|---|---|
| Issuer | Issued by PP-A. |
| Device binding | Bound to a key of the Conformance Wallet: cnf with a jwk (SD-JWT VC) or deviceKeyInfo (mdoc). |
| Validity | Valid at the time of the test; validity period longer than 24 hours. |
| Revocation information | A status reference to a status list served by the Test Status Provider: the status claim with status_list (SD-JWT VC), or the status element with status_list in the MSO (mdoc). Unless a test case states otherwise, the status list holds 0x00 (VALID) at the credential's index and is signed under the revocation anchor of the entity that issued the credential, CA-PP-A-REV for PP-A. |
| Attributes | At least the family name, the given name and the birth date. |
default_credential_pid_short¶
Like default_credential_pid, with a validity period shorter than 24 hours and without revocation information.
default_credential_qeaa¶
default_credential_A issued by QP-A as a QEAA, device-bound and with revocation information as for default_credential_pid.
default_credential_pubeaa¶
default_credential_A issued by PB-A as a PuB-EAA, device-bound and with revocation information as for default_credential_pid.
default_credential_eaa¶
default_credential_A issued by EP-A as a non-qualified EAA under a rulebook that defines CA-EP-A as its trust anchor, device-bound and with revocation information as for default_credential_pid.
default_query_pid¶
A DCQL query with one credential query for a PID in the credential format of the test case, requesting the family name, the given name and the birth date, with cryptographic holder binding required and without trusted_authorities unless a test case states otherwise.
default_query_qeaa¶
A DCQL query with one credential query for default_credential_qeaa, requesting attribute_A, attribute_B and attribute_C.
default_query_pubeaa¶
A DCQL query with one credential query for default_credential_pubeaa, requesting attribute_A, attribute_B and attribute_C.
default_query_eaa¶
A DCQL query with one credential query for default_credential_eaa, requesting attribute_A, attribute_B and attribute_C.
default_query_pid_eaa¶
A DCQL query with the credential query of default_query_pid (id pid) and the credential query of default_query_eaa (id eaa), both in the credential format of the test case and both required, without credential_sets. Used for combined presentations.
default_query_pid_or_eaa¶
A DCQL query with the credential queries of default_query_pid (id pid), default_query_eaa (id eaa) and default_query_pubeaa (id pubeaa), in the credential format of the test case, and two credential_sets: a required one with the options pid or eaa, and an optional one (required false) with the option pubeaa.
default_query_pid_eaa_identifying¶
default_query_pid_eaa, except that the credential query eaa also requests the family name, the given name and the birth date (birthdate in IETF SD-JWT VC format, birth_date in mdoc format). Used for the attribute-based binding of combined presentations, with a variant of default_credential_eaa that additionally carries these attributes.
PID Provider testing¶
The following items apply when the System Under Test is a PID Provider or an Attestation Provider: its Credential Issuer and Authorization Server, the credentials it signs and the status information it publishes. They are those of the [Issuer catalogue] section 3. The test environment reuses the controlled trust infrastructure of Relying Party testing and adds a Wallet Provider of its own, so that the Provider faces Wallet Units whose every attestation the test environment controls.
Provider test roles¶
| Role | Function |
|---|---|
| Conformance Wallet | OpenID4VCI client. Follows offers, runs both grants, sends the Wallet Instance Attestation (WIA) and its proof of possession, DPoP proofs, key attestations (KA) and proofs, and validates every credential it receives with the reference validator. Applies at most one deviation per test step to the messages it sends. |
| Test Wallet Provider | Issues WIAs and KAs under the Wallet Provider anchors of TL-WP, with controllable claims, keys, validity, key_storage and user_authentication values, and status references. Can revoke a Wallet Instance or a WSCD. |
| Test Status Provider | Serves the WIA and KA status lists of the Test Wallet Provider with controllable content, signature and availability, and logs every request it receives. |
| Test Trust Infrastructure | Publishes the lists of trusted entities and the Trusted Lists below, and modified versions of them. |
| Test Registrar | Issues the Provider's access and registration certificates, and certifies the Provider's signing keys under the test issuance and revocation CAs. |
| Adapter | Creates credential offers for a test subject, triggers revocation and other back-office events, and authenticates the test subject in the authorization code flow, as declared in the Provider ICS. |
Provider trust configuration¶
The Provider is configured with the scheme operator certificates of the test lists only, and derives Wallet Provider trust from TL-WP. Lists not named here are those of default_trust_configuration_rp.
| ID | Content |
|---|---|
TL-WP |
Wallet Provider list of trusted entities. WP-A: granted, with separate CAs for WIA and KA signing and for their status lists. WP-B: a second granted Wallet Provider. WP-W: withdrawn. |
TL-PID |
Contains the Provider as PP-T: its issuance CA and its revocation CA, as certified by the Test Registrar. Also PP-A, another PID Provider, used as a wrong anchor for WIAs and KAs. |
TL-QEAA, TL-PUB, TA-EAA |
Contain an Attestation Provider for its category: QP-T with a granted qualified EAA service on TL-QEAA (the Trusted List the LOTL points to), PB-T on TL-PUB, or EP-T under the anchor CA-EP-T that the rulebook of its attestation defines. |
TL-AC, TL-RC |
AC-A and RC-A, which issued the Provider's access and registration certificates. |
CA-X |
Self-signed CA on no list. |
A WIA or KA is trusted only if it validates to an anchor that TL-WP publishes for that purpose, for a Wallet Provider whose status is granted. A chain to an anchor in any other list, or to CA-X, is untrusted.
Wallet Units and subjects¶
| ID | Content |
|---|---|
CW-1 |
Wallet Unit of WP-A: a WIA with a fresh cnf key, not revoked, with a revocation maintenance period of more than one year; a KA with key_storage and user_authentication iso_18045_high, as many attested_keys as the batch size, not revoked, with the same maintenance period. |
CW-2 |
A second, independent Wallet Unit of WP-A. |
CW-B |
A Wallet Unit of WP-B. |
SUBJ-1 |
Test subject whose attributes the adapter seeds or knows (ICS-17). The Conformance Wallet compares every issued value with them. For an Attestation Provider, the attributes of default_credential_A. |
SUBJ-2 |
SUBJ-1 with one attribute changed. |
default_configuration_PP_1¶
| Property | Setting, contents, or value |
|---|---|
| Enrolment | Before the first test, the Provider generates its keys and the Test Registrar certifies them from CSRs: the credential signing certificates under the Provider's issuance CA in TL-PID (PP-T), or for an Attestation Provider under that of its category (QP-T, PB-T, EP-T), the status list signing certificate under its revocation CA, the access certificate from AC-A and the registration certificate from RC-A, with providesAttestations listing every credential type the Provider offers. |
| Service | One registered service, with the certificates of the enrolment. The metadata offers every credential configuration declared in the ICS. |
| Trust | The Provider trusts only TL-WP for Wallet Providers and has refreshed it before the test. |
| Offers | The adapter can create a credential offer for SUBJ-1 and a configuration, by value or by reference, for each grant the ICS declares. For the authorization code flow it completes the User's authentication for SUBJ-1 without a human. |
| Back office | The adapter can revoke and, where supported, suspend a given issued credential, and reports when it has done so (ICS-06). |
| Clock | Synchronised with the time source of the test environment. The proof and DPoP freshness window T_proof and the clock tolerance T_skew are those declared in the ICS, each at most 5 minutes. Time deviations use the declared value plus one hour. |
Observation and expected results¶
The Provider's answer is the outcome. The tester reads the status code, error object and headers at every endpoint, every credential received (checked by the reference validator), the metadata, the status lists and identifier lists the Provider publishes, the requests the Provider sends to the Test Status Provider and the Test Trust Infrastructure, and what the adapter reports for back-office events.
| Code | Pass criterion |
|---|---|
ISS |
The Provider issues the credentials, and every check of the reference validator passes on each of them. |
REJ |
The Provider issues no credential and no token for the request, and answers with a 4xx and an OAuth or OpenID4VCI error object; no HTTP 5xx. REJ with a named error code passes only with that code. |
CONF |
The captured artifact conforms to the stated rule. |
REVOKED(t) |
Within time t, the status list or identifier list the Provider publishes shows the credential as revoked, and it stays revoked in every later version. |
UNCHANGED |
The credential's status stays valid in every version of the list the Provider publishes during the test. |
NOFETCH |
The Provider sends no request to the named address during the transaction. |
POLICY |
The outcome follows the policy the Provider declared in its ICS. |
INFO |
The behaviour is recorded in the report; no verdict. |
A test case whose ID ends in _UF is executed only after its positive control passed for the same variant; otherwise its verdict is INCONCLUSIVE.