An introduction to the concept of electronic signing and how it works
In the world of computers, the counterpart of the ordinary handwritten signature is called the electronic signature. Just as a handwritten signature is used to confirm a person’s identity, the electronic one serves exactly the same purpose.
With a handwritten signature, many doubts can arise about who applied it, when and under what circumstances – and in some cases quite justified ones. The electronic signature, however, relies on a relatively simple but very secure technology that guarantees 2 things:
- That the electronic document has not been “tampered with” after it was signed;
- That the document was signed by exactly the person who it says signed it.
What types of electronic signature are there?
The electronic signature is a very broad concept that is often confused and used interchangeably with the term “digital signature”. We have written separately about the difference between these two types of signature.
Here we discuss the electronic signature as it is defined in the legal framework that applies in Bulgaria.
Under the Bulgarian Electronic Document and Electronic Trust Services Act (ZEDEUU), there are 3 types of signature:
- Simple
- Advanced
- Qualified
This Act transposes the concepts and framework set by Regulation (EU) No 910/2014 of the European Parliament and of the Council of 23 July 2014 on electronic identification and trust services for electronic transactions in the internal market and repealing Directive 1999/93/EC (the Regulation).
The three types of electronic signature differ in how far you can verify who applied them.
With qualified signatures, an officially accredited issuer (a trust service provider) confirms their authenticity. Under the Regulation and under ZEDEUU, all three types of signature have legal value, and the qualified electronic signature is equivalent to a handwritten signature. The Act also states that the electronic signature and the advanced electronic signature have the same legal effect as the handwritten signature where the parties have agreed to this, as set out in Article 13(4).
Simple electronic signature
The simple electronic signature is the most basic form of electronic signing. It requires no special technology. Nor does it follow any security standards.
A simple signature can be your name at the end of an e-mail. It can be a picture with a photographed or scanned image of your real signature handwritten on paper. See why signing with an image is not a good idea.
But this type of signature in no way guarantees the signatory’s identity and does not protect the document from changes after signing.
The simple electronic signature is best suited to situations where the convenience and speed of electronic signing matter more than security and identity verification. So for important documents, such as contracts, annexes, minutes and others, we recommend the two more secure forms of electronic signature described next.
Advanced electronic signature (AdES)
We have written about this type of signature in more detail in the article “Ways to sign with an advanced electronic signature (AdES)”. But in short, it is a signature that offers a much higher level of security and assurance of the signatory’s identity than the simple electronic signature. An AdES meets the following criteria:
- It is unique and personally linked to the signatory;
- It can identify the signatory and confirm their identity with a high degree of certainty.
- It guarantees that any change to the document after signing can be traced. In other words, the signature is linked to the document in such a way that any later modification is detectable.
Advanced electronic signatures are usually created with a digital certificate, but it does not have to be a qualified one. A qualified certificate and a qualified signature creation device are what a qualified electronic signature needs. You can read what a certificate is a little further down, in the section describing the signing technology.
Qualified electronic signature (QES)
This is the highest level of electronic signing, because it offers maximum security and, above all, legal value. This type of signature is strictly regulated and recognised in many jurisdictions, especially in the countries of the European Union, where it is defined and standardised under an EU-wide regulation: the Regulation on electronic identification and trust services for electronic transactions in the internal market (eIDAS).
A QES offers the following key features and advantages:
- A QES requires a qualified certificate for electronic signatures, issued by a so-called qualified trust service provider (TSP). We have written more about these providers in our article “Trust service providers – the guarantor in electronic document signing” (in Bulgarian), but in short, TSPs are official, state-accredited issuers of electronic signatures.
- A QES always uses cryptographic technologies to protect the signature and the document from unauthorised changes.
- In many places around the world, and above all in the EU, the qualified electronic signature has the same legal value as the traditional handwritten signature. This means that documents signed with a QES are admissible in court proceedings and for official purposes.
See a comparison of electronic signature prices in Bulgaria.
Comparison of electronic signatures
| Electronic signature (simple) | Advanced electronic signature (AdES) | Qualified electronic signature (QES) | |
|---|---|---|---|
| Identification of the signatory | Weak | Can be verified with a high degree of certainty | Guaranteed by the certificate issuer |
| Integrity of the document | Can be changed even after it is signed. | Cannot be changed after it is signed. Only further signatures can be added. | Cannot be changed after it is signed. Only further signatures can be added. |
| Issuing the signature | By yourself | With specialised software or hardware | With specialised hardware (Qualified Signature Creation Device – QSCD) from a qualified provider |
| Legal validity of the signature | Only if the parties have agreed | Only if the parties have agreed to use this type of signature in their relationship | Fully replaces the handwritten signature |
Who can issue a qualified electronic signature?
A QES can only be issued by an accredited trust service provider. These organisations are a key player in the electronic signature ecosystem, providing the basis for trust and security in electronic transactions. Below is a short description of their main duties and responsibilities; we describe their role in more detail in a separate article:
Trust service providers – the guarantor in electronic document signing (in Bulgarian)
- Issuing certificates for electronic signatures – they issue certificates for electronic signatures that confirm the signatory’s identity. These certificates are digital documents (files) that link the signatory’s cryptographic keys to their identity, which allows the recipient of a signed document to verify the authenticity of the signature.
- Managing keys and certificates – Certification authorities manage the life cycle of cryptographic keys and the related certificates. This includes generating, issuing, renewing, suspending and revoking certificates, as well as managing certificate revocation lists (CRL – Certificate Revocation List) and certificate status checking services (OCSP – Online Certificate Status Protocol). See more about how CRL and OCSP are used.
- Ensuring security and reliability – Trust service providers are responsible for maintaining high security standards when processing and storing cryptographic keys and personal data. They follow strict security protocols and procedures for identifying applicants for electronic signatures, to ensure that electronic signatures are protected from unauthorised access and manipulation.
- Maintaining trust – Certification authorities play a central role in building and maintaining trust in electronic transactions. They are audited and certified by regulatory bodies to make sure they meet national and international electronic signature standards, such as eIDAS in the European Union.
How is a qualified electronic signature issued?
In short, to create a qualified electronic signature, a person must contact one of the accredited QES issuers (the so-called trust service providers).
After confirming your identity, at the very least by checking your ID card, the provider issues a digital certificate – a certificate for a qualified electronic signature.
Below is a more detailed description of the process of issuing a qualified electronic signature (QES) and its main stages; the process may vary depending on the requirements of the different providers. We strongly recommend that you follow all instructions and procedures set by the certification centre you choose.
- Application for a QES – You must submit a formal application for a QES to one of the accredited providers. This usually involves filling in a form online, through a mobile app or, as a last resort, on paper.
- Submitting documents – You must provide all the required documents proving your identity and/or the powers of the company you represent. This usually includes personal documents (ID card, passport), company documents (certificate of current status), certificates and others, depending on the provider’s requirements.
- Verification and approval – Once you submit the required documents, the certification service provider checks the information. If all conditions are met, the application is approved.
- Generating cryptographic keys – Once the application is approved, cryptographic keys are generated – a private key and a public key. The private key is stored in a secure place accessible only to the signature holder, for example on a smart card or another secure device. With mobile or cloud QES, this key is stored on the provider’s server and accessed through a mobile app.
- Issuing the QES certificate – Based on the generated keys, the certification centre issues a certificate for a qualified electronic signature, which confirms your identity and associates the private key with it.
- Handing over the QES – Once the signature has been issued successfully, it can be provided to you on a smart card (USB token), or you can use it directly through the provider’s mobile app.
For detailed instructions on how to get a mobile qualified electronic signature, see the instructions from the two providers that issue such signatures:
Is a qualified electronic signature always valid?
No. The electronic certificate on which the electronic signature is based has a validity period stated in the certificate itself. Once the validity period expires, the certificate becomes void.
The certificate may also be revoked before its expiry date. You can ask for your certificate to be revoked if, for example, you have lost the smart card on which it is stored or your key has been compromised.
Trust service providers publish the validity status of all issued certificates, so that third parties can check whether a certificate is valid, expired or revoked.
What is the electronic signing process?
The electronic signing process usually involves the following steps:
- An electronic document is taken and its so-called hash (cryptographic equivalent) is created. The hash is unique to each document, and any change to the document produces a different hash.
- The hash is encrypted with the signatory’s private key. This is the electronic signature itself.
- The electronic signature is attached to the document or sent together with it.
- To verify the signature, the recipient uses the signatory’s public key to decrypt the electronic signature and obtain the hash. The recipient then generates a new hash of the received document and compares it with the hash obtained by decrypting the electronic signature. If the two hashes match, the document has not been changed after signing and the signature is valid.
What technology is behind advanced and qualified electronic signatures?
Key pair
We cannot explain the technology without going into a few technical details. At its core is so-called asymmetric encryption. This involves two keys – a public key and a private key.
The private key is used to generate the signature and is controlled by the signatory alone. This key is kept secret.
The public key is used to verify the signature and can and should be available to anyone who wants to check the signature.
In short: the private key is used to generate the signature, and the public key to verify it.
Digital certificate, electronic signature and certificate for a qualified electronic signature
Very often, when people talk about electronic signatures, they also talk about digital certificates. And digital certificates themselves are sometimes called certificates for a qualified electronic signature. So we have three terms, but two of them describe the same thing.
What is the difference between a digital certificate and an electronic signature?
A digital certificate confirms the identity of the person associated with the public key and provides the means for encryption and secure exchange of information. Electronic identification is based on the digital certificate. The certificate:
- Contains the public key mentioned in the previous point, as well as information about the owner;
- Links a given public key to a specific person – natural or legal;
- Can be signed by another certificate, or can be signed by itself (these are the so-called self-signed certificates).
The electronic signature, in turn, confirms that a specific document was signed by a particular person and guarantees its integrity and authenticity.
Without a digital certificate, there can be no electronic signature.
In practice, trust service providers generate your digital certificate after confirming your identity.
Standards
In practice, there is one standard that applies to digital certificates, and that is the X.509 standard. It defines the content of public certificates. As we have said, these certificates are used to establish the identity of persons, organisations, systems or devices in the virtual space. The X.509 standard covers:
- Certificate structure – Defines what information the certificate must contain, including:
- the version
- the serial number
- the encryption algorithm
- the issuer
- the validity
- the subject or holder (the person, organisation, system or device the certificate is issued to)
- the public key
- additional fields
- Signature algorithm – Describes the cryptographic algorithm the issuer used to sign the certificate. For example, RSA.
- Certificate management – Describes the procedures for issuing, renewing, revoking and checking the status of certificates. This management is carried out by Certification Authorities (CAs) and registration centres.
- Chain of trust – Describes how certificates are linked to each other through a hierarchy of trust, with the root certificate of a trusted Certification Authority at the top. This allows users to verify the validity of a certificate by checking all the signatures along the chain up to the root certificate.

Can it be explained more simply?
We can compare the digital certificate to an identity document: a passport or an ID card.
Imagine you are a border police officer and you want to be sure that everyone entering the country really is a citizen of that country. For this, everyone carries an ID card or passport that shows who they are.
- Who issues the document? There are special government bodies (we called them Certification Authorities) that issue these documents (certificates). In Bulgaria, these are the units of the Ministry of Interior that issue passports to people. In the same way, in the virtual space there are trusted organisations entrusted with issuing digital certificates.
- How is it checked? With passports and ID cards, there is a visual check and the so-called machine-readable zone of the document is read. If the border police officer wants to check whether the card is genuine, they can contact the registers of the organisation that issued it (if the document is Bulgarian, they must contact the systems of the Ministry of Interior) to confirm and compare the data visible on the card itself with the data in the system:

These documents (certificates) help ensure that when we communicate or do something important in the physical world or in the virtual space, we really are dealing with the right person, website or service, and not with someone trying to deceive us.
In short, X.509 is a system that helps people and organisations prove their identity.
Hashing
It is getting more complicated, but behind this programming term there is simply an algorithm that can turn any set of input data (for example, a document to be signed) into a short, fixed code (a hash). The hash serves as a unique “fingerprint” of the data. Even the smallest change to the original data produces a different hash. In electronic signing, the hash of the document is created and then signed with the signatory’s private key, and that is in practice what electronic signing consists of.
One specific thing about hashing: it works one way only. That is, you can create the hash equivalent of a document. But you cannot recreate the content of the document from the hash.
How is a signature verified?
To verify an electronic signature, you use the signatory’s public key, which, as we already know, is available to anyone. The public key is used to decrypt the signed hash. Then a new hash of the same document is generated and compared with the decrypted hash. If the two hashes match, this confirms that the document has not been changed after signing.
If you open a signed document in Adobe Acrobat, it will run the check for you and tell you whether the signature is valid. You can also check the validity of the signing on one of the providers’ websites.

In conclusion
Qualified electronic signatures are governed by local laws and international regulations, such as the eIDAS Regulation and ZEDEUU, which we wrote about above.
These regulations set strict requirements for the processes of issuing qualified digital certificates, managing keys, archiving signatures and other aspects of electronic signing, to guarantee the reliability and legal validity of signatures.
The combination of these technologies and regulatory requirements provides an exceptionally high degree of security and trust in advanced and qualified electronic signatures, making them suitable for a very wide range of uses, including financial transactions, legal documents, contracts, agreements, minutes, certificates and much more.