Signing eCoC XML: XMLDSig, XAdES, eIDAS and NAP Acceptance
Understand XML signing, eIDAS service status and the selected NAP’s actual acceptance requirements.
Distinguish four layers
XMLDSig, XAdES, eIDAS and qualified certificates answer different questions in an eCoC project.
| Layer | Question addressed |
|---|---|
| XMLDSig | Cryptographic signatures over XML nodes, references and digests |
| XAdES | Signing time, certificate references, policy and long-term validation properties |
| eIDAS | Definition and regulation of signatures, seals, trust services and legal levels |
| NAP policy | Accepted entities, certificates, profiles and packaging at the selected entry point |
Implementing Regulation (EU) 2024/1061 requires electronic signatures for the relevant exchanges and verification of Article 26 conditions at signing. It does not prescribe one universal XAdES-T, B-LT, QES or QeSeal configuration for every NAP.
XMLDSig and XAdES work together
XMLDSig provides the base signature structure. XAdES builds on it through qualifying properties, including signing time, certificate references, policy, timestamps and validation material.
Fix the following implementation choices:
- Enveloped, enveloping or detached signature structure.
- Nodes covered by
<ds:Reference>. - Canonicalisation, digest and signature algorithms.
- Certificate embedding or referencing.
- Timestamp, revocation and long-term validation requirements.
- The selected NAP's supported profile and release version.
Rewriting, formatting or namespace changes to referenced XML after signing can invalidate verification.
Signature or electronic seal
eIDAS distinguishes natural-person signatures and legal-person seals. For automated issuance of VIN-specific eCoCs, an electronic seal often aligns with organisational processing. Confirm that the signing entity matches the manufacturer or accepted EU representative.
RDW's published minimum route uses an advanced electronic seal, with qualified seals also permitted. This NAP's requirements cannot justify a universal QES/QeSeal requirement across all eCoC routes.
Verify qualified status for the actual service and time
Member-state Trusted Lists provide the legal information on the qualified status of specific trust services. The EU List of Trusted Lists (LOTL) supplies machine-readable access and verification information for national lists.
Check the certificate's TSP, exact service entry, service type, status at signing (including historical status where relevant), chain, revocation information and signature-validation report.
A European CA name, a chain reaching a root or support for PDF signatures alone cannot establish suitability for the target NAP's XML requirements.
Trusted Lists and DSS have defined scopes
Trusted Lists identify service legal status. DSS validates signatures against configured trust sources and policy. A NAP may additionally require:
- Advance registration of the certificate and complete chain.
- Matching manufacturer/WVTA or EU-representative identity.
- Particular XML references, namespaces or profiles.
- Supported algorithms, revocation checks and certificate purposes.
- Separate mTLS transport credentials.
- Positive and negative tests in its test environment.
Record DSS verification and NAP test acceptance as distinct outcomes.
Controls for production signing
- Protect private keys in an appropriate HSM, QSCD, cloud KMS or controlled remote-signing service, with restricted invocation rights.
- Separate entry, review, approval, issuance and system-administration duties.
- Record the input hash, signing entity, certificate serial number, algorithm, time and outcome.
- Define deactivation and rotation for expiry, revocation, TSP failure and key incidents.
- Retain original signed XML, chains and validation evidence by VIN.
- Separate test and production environments and transport credentials.
For a qualified route, meet the eIDAS requirements of the service and signature/seal creation device. A general-purpose HSM alone cannot establish qualified status.
Acceptance recommendations
Exercise entity mismatch, missing chains, expiry, revocation, incorrect references, post-signing modification, unavailable timestamps, unregistered NAP certificates and unsupported algorithms alongside successful samples.
Final acceptance evidence should contain both independent local signature-validation reports and target-NAP test receipts.
References
- Implementing Regulation (EU) 2024/1061
- Regulation (EU) No 910/2014
- EU Trusted Lists
- EU/EEA Trusted List Browser
- RDW eCoC guidance
Sources checked through 2026-07-30. Use the selected NAP's current documents and test results for specific profiles and certificate registration.
Working on eCoC or battery DPP?
Tell us about your vehicles, target markets and preparations so we can discuss next steps.