Internal versus external signature - differences, formats and applications (Part 1)

Electronic signature embedded in a document or as a separate file? Choosing the type of electronic signature is of great practical importance - check out the differences between internal and external signatures and when it is worth using each.
Internal vs. external signature - what are the differences and when to use them?
8-minute read Published: August 19, 2025

We earlier post We discussed the two basic formats of electronic signatures— XAdES and PAdES – most commonly used for qualified electronic signatures. Continuing on this topic, we will now address another important issue: internal and external signatures.

Whether an electronic signature is embedded in a file or saved as a separate file is of great practical importance - especially when signing a large files or working with complex data communications systems.

In this article, we explain what qualified internal and external signatures are and what they mean in the context of various formats (PAdES, XAdES, CAdES). We'll outline their main pros and cons, and suggest when it's best to use each of these solutions.

What is an internal signature and what is an external signature?

Internal signature is one that is incorporated directly into the document being signed. To put it simply: when you sign a file with an internal signature, you get a single file containing both the content of the document and the signature information (certificate, timestamp, etc.). The internal signature type is available in standards, among others PAdES and XAdES - both allow you to embed the e-signature inside the file being signed. For example, the PAdES signature always saves the signature together with the PDF in a single file, while XAdES can embed the signature as an element in the XML structure of the original document.

External signature while it is a separate file - after signing the document, you get two (or more) files: the original document and a separate file with the digital signature. This external file (e.g., with an extension of .xades or .sig) contains cryptographic data confirming the signature, but does not contain the contents of the original document. Such qualified external signatures can be created in XAdES or CAdES formats. In practice, this means that to verify the signature and content, the recipient must have both parts - the document and the signature file. The absence of either will make it impossible to verify the authenticity of the signature and the contents of the document.

Difference between internal and external signatures boils down to how the signature is placed - either inside the signed file or as a separate companion file.

However, it is important to emphasize that In legal terms, both types are equivalent. Both qualified internal and external signatures meet the requirements of the regulation eIDAS and are considered legally binding. The choice of signature type therefore mainly affects technical and practical considerations—such as the ease of storing, verifying, or transmitting documents—rather than the legal validity of the e-signature itself.

Both types of signatures support add-ons like timestamps, signature policy, etc., increasing long-term security.

PAdES format - signature in PDF file (internal signature)

PAdES (PDF Advanced Electronic Signature) is a qualified signature format designed for for PDF files only. In this standard, the electronic signature (and the signer's certificate) becomes embedded into a PDF structure - it becomes an integral part of the document. This puts everything needed for verification in a single file that can be opened in popular programs like Adobe Reader. What's more, PAdES makes it possible to add a visual representation of the signature on the document page (e.g., a graphic seal or signature information), which increases readability and makes the e-signature more similar to a handwritten signature on paper.

Advantages of the PAdES format

  • We pass on one consistent PDF file - The signed content and digital signature are integrated into the document. There is no need to include separate signature files.

  • In the document it appears visible graphic annotation informing about the signature, which makes it easier for the recipient to identify the signed file.

  • Integrity - PAdES signature protects the document from modification after signing. Any change to the content of the PDF will invalidate the signature, so the recipient is assured that the document has not been altered.

  • Ability to make multiple signatures in a single PDF - several people can sign the same file consecutively, and previous signatures will remain valid (subsequent signatures do not invalidate previous ones).

  • Ease of use and verification - A PDF with a PAdES signature can be opened in a standard PDF viewer, and information about the validity of the signature is usually automatically shown. This makes PAdES a simplest solution In typical business and administrative situations.

Limitations of the PAdES format

  • For PDF only - the PAdES format works only with PDF documents. If we need to sign a file of another type (e.g. DOCX, XML, JPG), it will be necessary to convert it to PDF or use another signature format.

  • File size – although the digital signature itself takes up very little space, embedding the signature in very large PDF files increases the file size (you must submit the entire signed file, which may be tens or hundreds of MB). In some situations, such as when there are limitations in email systems or ePUAP, this may make the transfer more difficult. (In such cases, an external signature is sometimes the solution; more on that below.).

  • Lack of versatility - PAdES is great for PDF documents, but will not work where PDF is not accepted or where a different data structure is needed. In that case, you should reach for XAdES or CAdES .

XAdES format - XML signature (internal or external)

XAdES (XML Advanced Electronic Signature) is a universal electronic signature format based on the XML standard. Its zbutta is flexibility - With XAdES you can sign virtually any type of file: from text documents (DOCX, ODT), to PDF, images (JPEG, PNG), spreadsheets, ZIP files, to binary or XML data. In the case of structured data (XML), XAdES is even preferred because it allows computer systems to both verify the signature and automatically parse the contents of the document. For this reason, XAdES is sometimes required for electronic submission of forms and applications to institutions (e.g., PIT tax returns, Social Security applications), where data from the document is to be loaded into the computer system.

XAdES offers both internal and external signature modes. If you are signing an XML file, the XAdES signature can be embedded as an element inside that file (internal/external signature). On the other hand, for other file types (e.g., PDF, DOCX, JPG), an external XAdES signature is usually used - the signing will result in the original file plus a separate .xades file containing the signature. This separation causes some inconveniences: when signing, for example, a PDF in XAdES format, you must always provide the recipient with two files and make sure it verifies the signature along with the document. Omitting the signature file or incorrectly associating it with the document will result in the signature not being considered valid. It is true that it is possible to create a single .xades file containing both the signature and the encoded content (e.g., a PDF in binary form) - this is known as a surrounding signature - but such a file is not directly readable by the user (you have to extract the original document from it first), so it is not very convenient in practice.

Advantages of the XAdES format

  • Versatility - allows signing documents in formats other than PDF, including non-text files and complex archives. If we need to sign a file that cannot be opened as PDF - XAdES will be the right choice.

     

  • Handling structured data - ideal for XML documents and similar, where data content is important in addition to the signature itself. Systems can automatically interpret the data of a signed XML document using XAdES.

     

  • Multiple signatures - XAdES allows you to attach multiple signatures to a single document (e.g., multiple XML signatures in a single file) or to sign multiple files simultaneously with a single external signature. This allows several people to sign the same dataset without creating separate copies of the document.

     

  • Integrity and security - like other formats, the XAdES signature makes it impossible to change data after signing (changing the document will result in inconsistency with the signature). 

Limitations of the XAdES format

  • Less convenient for regular documents - when signing files that the recipient simply wants to read (e.g., a PDF for a client), using XAdES instead of PAdES is less friendly. The recipient will receive a PDF without a visible signature + a separate .xades file, which he or she must verify himself or herself in the appropriate application or service - an extra step that not everyone knows about.

     

  • Risk of separation of the signature from the document - with an external signature, there is a possibility that the signature file is lost or separated from the original document. Then verification of the signature becomes impossible. So you need to be careful when transferring or archiving - always keep the signature with the actual document.

     

  • Verification application required - .xades files will not be verified without using a special software or service. Unlike PAdES (a PDF opened in Acrobat Reader with built-in signature checking), here you need, for example, a dedicated qualified signature program or an online platform for validation.

     

  • Less human readability - an XAdES signature (especially an external one) gives no visual indication in the document itself that it has been signed (unless, for example, an informative page is placed inside the PDF). The lack of a graphical representation of the signature may be less intuitive for people accustomed to document signatures.

Continued - In the second part of this article, we will discuss the format CAdES As well as practical tips for choosing the type of signature.

 You are welcome!

Qualified signatures SimplySign and Certum Mini

If you have any concerns or questions, please contact us

+48 22 417 05 55

We will answer your questions, find a date that suits you and an advisor in Gdansk, Gdynia, Krakow, Warsaw or Wroclaw.

You can also write an email from us [email protected]. 

Check also:

Do you need help?

Find what you're looking for