CAdES, XAdES or PAdES: which signature type is your file?

Signed documents from European providers carry three similar acronyms. Knowing which one you have tells you what the file is, which apps can open it and what to check.

Updated

On this page
  1. From difficult file to readable document.
  2. Which type for which file
  3. What B, T, LT and LTA mean
  4. What the offline check tells you
  5. Keep the signed original
  6. Examples you will meet
  7. What an offline check can and cannot do
  8. Common pitfalls
  9. Which acronym matters to you
  10. If the document does not display as expected
  11. Questions about this file type.

From difficult file to readable document.

  1. Check the extension

    Use the table below to map .p7m, .p7s, .xml, .pdf, .asice, .bdoc and .edoc to a signature type.

  2. Open the file

    In EU Docs the signature type is detected locally and each check result is listed separately.

  3. Read the levels and keep the original

    Note the signature level (B, T, LT or LTA), then store the original signed file for any later official validation.

Which type for which file

The names come from ETSI standards for advanced electronic signatures.

TypeSignsTypical files
CAdESAny file, wrapped in CMS.p7m, .p7s, ASiC containers
XAdESXML documentsSigned XML invoices, ASiC-E, BDOC, EDOC
PAdESPDF documentsSigned .pdf files

What B, T, LT and LTA mean

The level tells you how much evidence travels with the signature. B is the basic signature. T adds a trusted timestamp. LT adds the certificate and revocation data needed to check the signature later. LTA adds archive timestamps for long-term preservation. EU Docs shows which level is present.

The app never goes online, so revocation status is checked only when the signature includes revocation data.

What the offline check tells you

EU Docs reports separately whether the signature matches the document, whether the signer’s certificate chains to a provider on the EU trusted lists and is qualified, whether it was valid at signing time and whether the timestamp is trusted. For detached P7S signatures the original document is a separate file that the app does not pair with the signature, so a match cannot be shown.

For legal purposes, use an official validation service such as the EU DSS validation service or the AgID verifier.

Keep the signed original

Extracting a PDF or XML from a signed container gives you something easy to read, but the extracted copy is no longer the signed evidence. Archive the original container.

Examples you will meet

An Italian electronic invoice delivered as invoice.xml.p7m is a CAdES envelope around FatturaPA XML. A Spanish Facturae invoice with an enveloped signature is XAdES. A contract PDF signed in a PDF reader with a qualified certificate is PAdES. An Estonian .bdoc or .edoc container and a European .asice container usually carry XAdES or CAdES signatures inside a ZIP-based package.

Seeing the type lets you pick the right guide: our P7M guides cover CAdES envelopes, and the ASiC guide covers containers.

What an offline check can and cannot do

Offline means no live lookup. The app compares the signer’s certificate with the trusted lists bundled in it, so the result reflects the lists at the time of the app version, and revocation is reported only when the signature embeds that evidence. A professional validation service queries up-to-date sources and produces a report you can file.

Use the in-app result as an early warning: a mismatch, an untrusted signer or a missing timestamp is a reason to ask the sender for a fresh copy.

Common pitfalls

Re-saving a signed PDF in an editor can invalidate a PAdES signature. Changing a signed XML, even by reformatting whitespace, can break a XAdES signature. Unzipping an ASiC container and re-zipping it changes its structure. In all three cases, work on a copy and keep the original untouched.

Which acronym matters to you

If you only need to read the document, the signature type barely matters: open the file and read the payload. It matters when you must prove something later, because each type is validated by a tool that understands it and each is damaged by different edits. If a counterparty asks for a validation report, ask which standard and level they expect and give them the original file.

When you are unsure what you have received, open it in EU Docs, note the type and level shown, and mention them when you ask the sender or an adviser for help.

If the document does not display as expected

Keep the original filename and check that the download is complete. Renaming XML, P7M or ASiC files to PDF does not convert them. If a signed container opens, check the type of its extracted payload: it may be an invoice, PDF or another format requiring its own reader.

For an invoice, compare the document identifier, supplier, currency, tax and total with the original fields. Report an unsupported format with its non-sensitive format/version details; avoid sending private documents unless you choose an appropriate support channel.

Authoritative references

Official specifications and public-sector documentation used to check the terminology in this guide.

Questions about this file type.

Can a PDF have a CAdES signature?

A PDF can be wrapped in a CAdES envelope such as file.pdf.p7m. A signature embedded in the PDF itself is PAdES.

Is an ASiC file CAdES or XAdES?

An ASiC container can hold either. EU Docs checks CAdES or XAdES signatures in supported ASiC-E, ASiC-S, BDOC and EDOC containers.

Does a green result mean the signature is legally valid?

No. The offline check helps you spot problems but is not an official validation.