Sub topic 10
Qualified signatures: certificates, devices and trust service providers
A qualified electronic signature (QES) is the top tier of signature under the EU's eIDAS Regulation, Regulation (EU) No 910/2014. This chapter explains the three things that make a signature qualified, who is allowed to supply them, and how a QES differs in practice from an advanced signature.
You should already know the simple, advanced and qualified levels from the earlier chapter, and what an advanced signature requires. Basic familiarity with public-key certificates helps.
What "qualified" adds to "advanced"
Article 3(12) defines a QES as an advanced electronic signature that has two further properties:
- It is created by a qualified electronic signature creation device (QSCD).
- It is based on a qualified certificate for electronic signatures.
Everything an advanced signature must do still applies. It must be uniquely linked to the signatory, identify the signatory, be created with data under the signatory's sole control, and make later changes to the signed data detectable. The qualified level adds regulated infrastructure around the key and the identity.
Qualified certificates
A qualified certificate for electronic signatures is a certificate that meets two conditions. A qualified trust service provider (QTSP) must issue it, and it must contain the content that Annex I of eIDAS requires. That content includes:
- An indication, usable by automated processing, that the certificate is a qualified certificate for electronic signatures.
- The identity of the QTSP and the Member State where it is established.
- The name of the signatory, or a pseudonym that is clearly marked as one.
- Signature validation data that corresponds to the signature creation data.
- The start and end of the validity period.
- A certificate identity code that is unique for the provider.
- The issuer's advanced electronic signature or seal.
- Where the certificate of the issuer can be found without charge.
- The location of the services that report revocation status.
- An indication, where the creation data sits in a QSCD, that this is so.
Revocation is not retroactive. Article 28 says a qualified certificate that has been revoked loses validity from the moment of revocation, and that status cannot be restored. A signature made before revocation is not invalidated by revocation alone. This is why timestamps matter for long-lived documents, which a later chapter covers.
Inspecting a certificate in code
European qualified certificates normally carry a QCStatements extension (ETSI EN 319 412-5). It contains the statement QcCompliance (OID 0.4.0.1862.1.1) and, when the key is held in a QSCD, QcSSCD (OID 0.4.0.1862.1.4). The script below searches the raw extension bytes for these identifiers. It is a quick heuristic only.
import sys
from cryptography import x509
from cryptography.x509.oid import ObjectIdentifier
QC_STATEMENTS = ObjectIdentifier("1.3.6.1.5.5.7.1.3")
# DER-encoded OID contents (without the tag and length bytes)
QC_COMPLIANCE = bytes.fromhex("0400" "8e46" "0101") # 0.4.0.1862.1.1
QC_SSCD = bytes.fromhex("0400" "8e46" "0104") # 0.4.0.1862.1.4
def qc_flags(pem_bytes):
cert = x509.load_pem_x509_certificate(pem_bytes)
try:
ext = cert.extensions.get_extension_for_oid(QC_STATEMENTS)
except x509.ExtensionNotFound:
return {"qc_compliance": False, "qc_sscd": False}
raw = ext.value.value # bytes of the unparsed extension
return {
"qc_compliance": QC_COMPLIANCE in raw,
"qc_sscd": QC_SSCD in raw,
}
if __name__ == "__main__":
with open(sys.argv[1], "rb") as f:
print(qc_flags(f.read()))These flags are claims written by the issuer. They do not prove the issuer is qualified today. A real validator checks the certificate chain against the trusted list, which is described below.
Qualified signature creation devices
A QSCD is software or hardware that holds the signature creation data (the private key) and meets the requirements in Annex II. In summary, it must:
- Ensure the confidentiality of the signature creation data.
- Allow that data to occur only once in practice.
- Protect the data against forgery using current technology, so it cannot be derived from the signature.
- Let the legitimate signatory reliably protect the data against use by others.
- Not alter the data to be signed, and not stop the signatory from seeing it before signing.
Typical QSCDs are smart cards, USB tokens and certified hardware security modules (HSMs).
Remote signing
Most signing now happens remotely. Under Article 29, a QTSP can manage the signature creation device on the signatory's behalf, usually in a certified HSM in the provider's data centre. Only a QTSP may do this, and it must ensure the signatory keeps sole control. In practice the signatory authenticates to the provider, often with a one-time code or a mobile app, and the provider releases the key for that one signing operation. The key never reaches the signatory's machine. Under the Article 3 definitions, "sole control" is judged at the level of the whole process, not by who physically holds the key.
Qualified trust service providers
A trust service provider (TSP) is a natural or legal person that provides trust services such as certificates, timestamps or validation. It becomes a QTSP only after a formal process:
- An accredited conformity assessment body audits the provider. Audits are repeated at least every 24 months (Article 20).
- The provider submits the conformity assessment report to the national supervisory body.
- The supervisory body decides whether to grant qualified status.
- The Member State lists the provider and its qualified services on its trusted list (Article 22).
Article 24 also governs how a QTSP verifies a person's identity before issuing a qualified certificate. Acceptable methods include physical presence, remote identification that gives equivalent assurance (for example, a video identification process), or an existing qualified electronic signature or certificate. The strength of the whole QES rests on this identity step.
Trusted lists and recognition
Each Member State publishes a trusted list of its QTSPs and the qualified services each one offers. The European Commission publishes the list of those national lists. A validator uses these lists to confirm that, at the time of signing, the issuing CA was qualified for that service. Article 25(3) requires a qualified signature based on a qualified certificate issued in one Member State to be recognised as a QES in all other Member States.
Practical differences from advanced signatures
| Aspect | Advanced signature (AdES) | Qualified signature (QES) |
|---|---|---|
| Certificate | Any certificate that meets the advanced requirements | Qualified certificate from a QTSP, listed on a trusted list |
| Key storage | Any means giving sole control | QSCD, or a QTSP-managed remote QSCD |
| Identity checking | Provider's own method | Rules in Article 24 |
| Legal effect | Not denied effect solely for being electronic | Equivalent to a handwritten signature (Article 25(2)) |
| Cost and friction | Usually lower | Usually higher |
Article 25(2) gives the QES its equivalence to a handwritten signature. National law can still set form rules, so a QES does not remove every formality for every document type.
Common errors
- Treating a vendor's "advanced" or "digital certificate" label as qualified. Check for the QcCompliance statement and the QTSP's entry on the trusted list.
- Assuming a QES is required for every contract. Most commercial agreements do not need one. A QES is mainly chosen when the law or the risk calls for the strongest presumption.
- Overlooking the provider's qualified status at signing time. A provider that loses qualified status later does not retroactively change signatures it made while qualified, but you must be able to show the status at that time.
Exercise
A company uses a signing platform whose certificate was issued by a well-known certificate authority, and the private key sits in a standard cloud key store. The platform calls its signatures "digital signatures with a certificate." Name two things that would have to be true before these could count as qualified electronic signatures under eIDAS.
Show answer
The certificate would have to be a qualified certificate issued by a qualified trust service provider that appears on a national trusted list. The key would have to be held in a qualified signature creation device, either one the signatory holds or a remote one managed by a QTSP, so that the signatory keeps sole control. A standard cloud key store does not meet this.
Exercise
A QTSP revokes a signatory's qualified certificate on 1 June. The signatory had signed a contract on 15 May. Does the revocation by itself make the May signature invalid?
Show answer
No. Under Article 28, revocation takes effect from the moment it is made and is not retroactive. The May signature was made while the certificate was valid. To prove that, you need evidence of when the signature was made, such as a qualified timestamp.