Home/Technologies/How Electronic Signatures Work: Types, Security, and Legal Status
Technologies

How Electronic Signatures Work: Types, Security, and Legal Status

Electronic signatures enable secure signing of digital documents, leveraging cryptography to confirm identity and integrity. Learn how they work, their types, legal status, and how to protect your signature from compromise.

Dec 3, 2026
5 min
How Electronic Signatures Work: Types, Security, and Legal Status

Electronic signature is a tool that allows you to sign digital documents without using paper or a handwritten signature. It is used for signing contracts, submitting reports, accessing government services, and approving documents.

The foundation of an advanced electronic signature lies in cryptographic algorithms that verify the signer's identity and detect any changes made to a document after it has been signed.

Let's explore how electronic signatures work, the different types available, and how the authenticity of signed documents is verified.

What Is an Electronic Signature?

An electronic signature (ES) is digital information associated with an electronic document, used to identify the person who signed it.

Unlike an image of a handwritten signature, an advanced electronic signature is mathematically linked to the document's content.

  • Identify the signer - determine who the signature belongs to.
  • Verify document integrity - check if the file has been altered since signing.
  • Confirm signing - establish that the document was signed using the corresponding key.

The term digital signature is still widely used, although "electronic signature" is the standard terminology in modern Russian law.

Electronic signatures do not hide document content. Encryption is used to ensure confidentiality when necessary.

How Does an Electronic Signature Work?

The principle behind an advanced electronic signature is based on asymmetric cryptography and hashing. These technologies allow the authenticity of a document to be verified without access to the signer's private key.

Public and Private Cryptographic Keys

Creating and verifying a signature involves a pair of mathematically related keys:

  • Private key - used to generate the electronic signature and must be kept secret.
  • Public key - used by the recipient to verify the signature.

You can learn more about how cryptographic keys work in the article Symmetric vs Asymmetric Encryption: How Modern Cryptography Secures Data Online.

Creating Document Hashes and Digital Signatures

  1. A hash (digital fingerprint) of the document's contents is calculated.
  2. A cryptographic algorithm creates the signature using the hash and the private key.
  3. The signature is stored within the document or in a separate file.

Even changing a single character will alter the hash of the document.

Verifying Authenticity and the Role of Certificates

When verifying a signature, software recalculates the document's hash and uses the public key to check if it matches the digital signature.

A digital signature certificate can confirm ownership of the public key by a specific person or organization. The certificate contains details about the owner, the public key, its validity period, and information about the issuing authority.

Types of Electronic Signatures and Their Legal Status

Russian Federal Law No. 63-FZ "On Electronic Signature" defines three types of electronic signatures, which differ in creation methods, protection requirements, and use cases.

Simple Electronic Signature (SES)

Confirms a user's identity via a password, one-time code, or another identification tool. It does not provide cryptographic verification of document integrity.

Used in banking services, government portals, and electronic document management systems.

Advanced Unqualified Electronic Signature (AUES)

Uses cryptographic keys, enabling identification of the signer and detection of document changes after signing.

Simple and unqualified electronic signatures may be legally equivalent to handwritten signatures if permitted by law or mutual agreement.

Advanced Qualified Electronic Signature (QES)

Uses a qualified certificate and signature tools that officially meet established requirements.

A QES is legally equivalent to a handwritten signature, except where the law requires a document to be in paper form. It is used for filing reports, participating in electronic auctions, and legally significant document exchange.

How to Sign and Verify a Document with an Electronic Signature

Signing a document with an advanced electronic signature requires specialized software or an electronic document management service.

  1. Upload or open the document.
  2. Select the electronic signature key.
  3. Confirm the signing operation.
  4. Save the signed document or separate signature file.

During verification, the software determines whether:

  • the signature matches the document's content,
  • the verification key owner is identified,
  • the certificate was valid at the time of signing (if this time is reliably established),
  • the certificate had not been revoked at the time of signing.

If a detached electronic signature is used, two files are needed for verification: the original document and the signature file (e.g., with the .sig extension). For embedded signatures, only the signed document is required.

Is It Possible to Forge an Electronic Signature?

Forging an advanced electronic signature is practically impossible without access to the private key, provided robust cryptographic algorithms are used.

If a signed document is altered (for instance, changing an amount in a contract), signature verification will fail because the signature will no longer match the file's contents.

The main threats are related to private key compromise:

  • theft of the signature carrier,
  • malware infection of the computer,
  • passing the key to unauthorized persons,
  • obtaining passwords or PIN codes via phishing.

Hardware cryptographic tokens, secure storage, and access passwords are used to protect private keys.

If key compromise is suspected, stop using it immediately and contact the certification authority to revoke the certificate, if one was issued.

Conclusion

Electronic signatures confirm authorship of digital documents, while cryptographic algorithms ensure their integrity and detect changes after signing.

Choose the appropriate type of electronic signature based on the service requirements and legal regulations. Regardless of the signing method, always protect your access keys and verify document contents before confirming any operation.

Tags:

electronic signature
digital signature
cryptography
document security
legal compliance
public key infrastructure
identity verification
electronic document management

Similar Articles

Loading...
How Electronic Signatures Work: Types, Security, and Legal Status