Peer Conformance Assessment Framework (PCAF)¶
Unofficial draft
This site is not published or endorsed by the European Commission. It uses the method and the test case format of the Commission's Functional Conformance Assessment Framework (FCAF), as on its submitted branch at commit 0ed4ab1, for a proposed Relying Party System Under Test and draft PID Provider and Attestation Provider Systems Under Test. Wallet Solutions are tested with the official FCAF at conformance.eudi.dev.
The PCAF specifies functional conformance test cases for the peers of a Wallet Unit: the systems it talks to in the EUDI Wallet ecosystem. It is for
- Relying Parties and vendors of verifier software,
- PID Providers, QEAA, PuB-EAA and non-qualified EAA Providers and vendors of issuer software,
- the conformity assessment bodies, test laboratories, supervisory bodies and registrars that assess them.
It is not for testing a wallet: the FCAF does that.
The gap¶
The FCAF names a System Under Test (SUT), splits it into test classes by interface, and specifies each test case step by step, with an Implementation Conformance Statement (ICS) in which the SUT declares what it supports. Today it has test cases for one SUT only: the Wallet Solution. Its WS_RP class covers the wallet's side of a presentation, and there the Relying Party is the test tool, not the thing being tested. The FCAF methodology names Relying Parties as a future SUT and reserves the classes RP_WS, RP_PP, RP_AP and RP_Inf, but none of them has test cases yet.
The OIDF verifier suite tests a Relying Party, but mostly on the happy flow: 16 of the 236 test objectives here correspond to one of its modules. The rest have no public test today: validity periods, status list tokens, trust anchor categories, trust lists, response encryption, session binding after the redirect and more.
A wallet that is certified gains little if the Relying Party accepts a revoked PID or trusts the wrong anchor. The PCAF fills the reserved classes with test cases in the FCAF format, so they can be contributed upstream, and comes with a harness that runs them. The focus is on what a Relying Party must reject: expired credentials, revoked or suspended credentials, unusable status lists, wrong trust anchors, stale trust lists, faulty response encryption.
It does the same, as a separate draft, for PID and Attestation Providers, for which the FCAF methodology reserves no test classes: the metadata and offers a Provider publishes when it issues credentials with OpenID4VCI, the Wallet Instance Attestations, key attestations and proofs it must reject, the PID or attestation it issues, checked against its rulebook, and the status lists it publishes.
Where to start¶
| Page | Content |
|---|---|
| Using the framework | How a Relying Party or a Provider is tested: the SUT, the test environment, the ICS, preparation, execution and outcomes |
| Relying Party (SUT) | Overview, test classes, the decisions applied |
| (rp_ws) Wallet Solution | Test cases on what the Relying Party receives from a Wallet Unit: validity, revocation, trust, session encryption |
| (rp_pp) PID Provider | Test cases on the Status List Tokens and identifier lists of a PID Provider |
| Defaults: Relying Party testing | Test roles, verification result, default configuration, credentials and queries |
| ICS (Relying Party) | Capabilities, policies, time values and surrogate technology items a Relying Party declares |
| PID Provider (SUT) | Overview, test classes, variants, the decisions applied |
| (pp_ws) Wallet Solution | Test cases on what the PID Provider receives from and issues to a Wallet Unit: metadata, offer, credential endpoint, client and key attestation, proofs, validity, revocation, the PID data model |
| (pp_rp) Relying Party | Test cases on the status lists a PID Provider publishes for Relying Parties |
| Attestation Provider (SUT) | Overview, test classes, the category variants Q, PB and E, the decisions applied |
| (ap_ws) Wallet Solution | Test cases on what a QEAA, PuB-EAA or non-qualified EAA Provider receives from and issues to a Wallet Unit, including configurations that are not device-bound, revocation chaining by policy and the rulebook of the attestation |
| Defaults: PID Provider testing | Test roles, trust configuration, Wallet Units and subjects, default_configuration_PP_1, expected result codes |
| ICS (PID and Attestation Provider) | The Provider ICS items and the profiles they select |
| Relying Party suite | The Relying Party suite, its catalogue and harness design, and EUDIPLO as reference verifier with its ICS and known findings |
| Issuer suite | The issuer suite, its catalogue and harness design, and EUDIPLO as reference issuer with its ICS and known findings |
The framework pages (introduction, methodology, using the framework, defaults) are those of the FCAF, rewritten for these SUTs. The FCAF's Wallet Solution pages are not part of this site.
Framework and harness¶
The PCAF is a framework, not a test service. It specifies test cases: what the test environment sends the SUT, what the SUT must do, and how the outcome is judged. Like the FCAF, it is tool-agnostic. Any laboratory or vendor can execute the test cases by hand or with tools of its own.
Next to the framework, this project provides an open-source reference implementation: the harness, which runs the test cases unattended. The test cases on this site are rendered from its executable definitions, so the specification and the harness do not drift apart. For a Relying Party, the harness provides a Conformance Wallet, status list and trust list servers, and an artifact forge that injects exactly one fault per test step, over redirects and over the W3C Digital Credentials API. For a PID Provider, it adds an issuance client with a Test Wallet Provider and a Test Registrar. It runs every night against EUDIPLO, the reference verifier and issuer.
The harness is not a hosted test platform like the OIDF conformance suite. You run it yourself, in a test environment you control, and connect your SUT through an adapter. The adapter is needed because most negative test cases can only be judged from the Relying Party's own verification result, not from what it returns over the protocol. The harness produces a report with JUnit XML and the artifacts of every step. There is no certification program behind it. Passing it is not a certification or a declaration of compliance.
| OIDF conformance suite | PCAF | |
|---|---|---|
| What it is | A test tool | A framework (test case specification) with an open-source reference harness |
| How you use it | A hosted service you register your SUT with | A CLI you run in your own test environment |
| Connection to the SUT | Over the protocol | Through an adapter that also exposes the SUT's verification result |
| Focus | Mostly the happy flow | Mostly what the SUT must reject |
| Certification | OpenID Foundation certification | None; an unofficial draft meant for upstream contribution to the FCAF |
Running the harness shows how to run the harness; the adapters for EUDIPLO show how a SUT is connected. Each suite has its test catalogue, which traces every test objective to the ARF, and its harness design: Relying Party suite, issuer suite.
Licence¶
EUPL-1.2. The FCAF content is © European Union, under the same licence.