---
title: How does Mifiel protect the use of my e.firma/FIEL?
description: The advanced (qualified) electronic signing process in Mifiel complies with the Mexican Code of Commerce.
---

[Skip to content](https://guia.mifiel.com/en/how-does-mifiel-protect-the-use-of-my-e.firma/fiel#main-content)

- [English](https://guia.mifiel.com/en/how-does-mifiel-protect-the-use-of-my-e.firma/fiel)
- [Español](https://guia.mifiel.com/es/cómo-protege-mifiel-mi-e.firma/fiel)

English

Show submenu for translations

[![mifiel\_logo.png\]](https://guia.mifiel.com/hs-fs/hubfs/mifiel_logo.png?height=35&name=mifiel_logo.png)](https://www.mifiel.com/en/)

Open main navigation

Close main navigation

- - [English](https://guia.mifiel.com/en/how-does-mifiel-protect-the-use-of-my-e.firma/fiel)
    - [Español](https://guia.mifiel.com/es/cómo-protege-mifiel-mi-e.firma/fiel)

  English
  
  Show submenu for translations

 Hi! How can we help you?

- There are no suggestions because the search field is empty.

1. [Frequently Asked Questions](https://guia.mifiel.com/en?hsLang=en)
2. [Document signing](https://guia.mifiel.com/en/document-signing?hsLang=en)
3. [How to sign a document using the e.firma in Mifiel](https://guia.mifiel.com/en/document-signing?hsLang=en#how-to-sign-a-document-using-the-e-firma-in-mifiel)

# How does Mifiel protect the use of my e.firma/FIEL?

## The advanced (qualified) electronic signing process in Mifiel complies with the Mexican Code of Commerce

The e.firma is made of two files: the public certificate (.cer) and the private key (.key). The second file is protected by a password only known by its owner.

[Learn more about the files that comprise the e.firma](https://guia.mifiel.com/en/what-is-the-e.firma-or-fiel-which-are-the-files-it-encompasses-and-how-does-it-work?hsLang=en).

Considering this and in order to comply with the Mexican Code of Commerce, it is essential that the private key and its password are at all times under the signer’s sole control. In a platform like Mifiel, it means that this data is never shared with us, which is very important since [sharing the sensitive information of the FIEL with third parties can lead to serious consequences](https://blog.mifiel.com/fiel-contador-pesima-idea/).

So, how is it possible to sign a document in Mifiel with your FIEL without actually sharing it? Why do we ask you to select your e.firma and enter its password?

### **Your sensitive data stays in your device**

To keep your sensitive data safe, the document signing computational process in Mifiel is never done in our servers. This data never leaves your device. All the validations that need your .key file and its password are executed locally in your browser. Once finished, the files are deleted from the browser.

Don’t take our word for it, you can always verify it on your own using your browser’s console.

### **Advanced (qualified) electronic signing process in Mifiel**

The advanced (qualified) electronic signature is a computational cryptographic process, in Mifiel the steps are:

1. A user uploads a PDF and our server [calculates its hash](https://guia.mifiel.com/que-es-un-hash?hsLang=en) (a unique, unrepeatable summary of the original document, its digital fingerprint).
2. Each signer enters the document and reviews it. This is done in the Mifiel widget.
3. The signer selects their .cer file and it is sent to our server (remember that it is a public certificate).
4. The signer selects **their .key file and enters its password, both of which are never uploaded to any server, they always stay in the signer’s computer or device**.
5. The widget electronically signs the document, which at a technical level is the process of encrypting the document’s hash using the private key and it password. This is done locally in your browser.
6. The widget deletes the .key file and its password from your browser. Then the signing result (encrypted hash) is sent to our server.
7. In the server, Mifiel decrypts the hash using your .cer public certificate. Then it compares this hash with the one calculated in step 1. If they match, it stamps the signatures into the original document and if all parties have signed, it gets a [NOM-151 compliant record of data integrity](https://guia.mifiel.com/nom-151?hsLang=en) which is also added to the document.
8. A copy of the signed document with the record of data integrity is sent to the participants and viewers.

This way, in Mifiel we always keep your e.firma safe.

- [Document signing](https://guia.mifiel.com/en/document-signing?hsLang=en#main-content)

    - [How to sign a document using the e.firma in Mifiel](https://guia.mifiel.com/en/document-signing?hsLang=en#how-to-sign-a-document-using-the-e-firma-in-mifiel)
    - [Features of the e.firma](https://guia.mifiel.com/en/document-signing?hsLang=en#features-of-the-e-firma)
    - [Common errors](https://guia.mifiel.com/en/document-signing?hsLang=en#common-errors)
- [Document preparation](https://guia.mifiel.com/en/document-preparation?hsLang=en#main-content)

    - [Invite signers](https://guia.mifiel.com/en/document-preparation?hsLang=en#invite-signers)
    - [Customize the characteristics of a document](https://guia.mifiel.com/en/document-preparation?hsLang=en#customize-the-characteristics-of-a-document)
- [Document management](https://guia.mifiel.com/en/document-management?hsLang=en#main-content)

    - [General](https://guia.mifiel.com/en/document-management?hsLang=en#general)
    - [For document managers](https://guia.mifiel.com/en/document-management?hsLang=en#for-document-managers)
- [Verifying a signed document and its signatures](https://guia.mifiel.com/en/verifying-a-signed-document-and-its-signatures?hsLang=en)
- [Private signing process of encrypted documents](https://guia.mifiel.com/en/private-signing-process-of-encrypted-documents?hsLang=en#main-content)

    - [Creation of encrypted documents](https://guia.mifiel.com/en/private-signing-process-of-encrypted-documents?hsLang=en#creation-of-encrypted-documents)
    - [Signing of encrypted documents](https://guia.mifiel.com/en/private-signing-process-of-encrypted-documents?hsLang=en#signing-of-encrypted-documents)
    - [Set up of organizations and accounts](https://guia.mifiel.com/en/private-signing-process-of-encrypted-documents?hsLang=en#set-up-of-organizations-and-accounts)
- [API integration](https://guia.mifiel.com/en/api-integration?hsLang=en#main-content)

    - [General](https://guia.mifiel.com/en/api-integration?hsLang=en#general)
    - [Signing widget customizations](https://guia.mifiel.com/en/api-integration?hsLang=en#signing-widget-customizations)
    - [Additional features](https://guia.mifiel.com/en/api-integration?hsLang=en#additional-features)
- [Plans and packets, billing and payment](https://guia.mifiel.com/en/plans-and-packets-billing-and-payment?hsLang=en#main-content)

    - [Features](https://guia.mifiel.com/en/plans-and-packets-billing-and-payment?hsLang=en#features)
    - [Pricing scheme](https://guia.mifiel.com/en/plans-and-packets-billing-and-payment?hsLang=en#pricing-scheme)
    - [Purchasing process](https://guia.mifiel.com/en/plans-and-packets-billing-and-payment?hsLang=en#purchasing-process)
    - [Billing process](https://guia.mifiel.com/en/plans-and-packets-billing-and-payment?hsLang=en#billing-process)
    - [Checking your consumption](https://guia.mifiel.com/en/plans-and-packets-billing-and-payment?hsLang=en#checking-your-consumption)
- [Managing your e.firma and your Mifiel account](https://guia.mifiel.com/en/managing-your-e-firma-and-your-mifiel-account?hsLang=en#main-content)

    - [Your Mifiel account](https://guia.mifiel.com/en/managing-your-e-firma-and-your-mifiel-account?hsLang=en#your-mifiel-account)
    - [Features for signers](https://guia.mifiel.com/en/managing-your-e-firma-and-your-mifiel-account?hsLang=en#features-for-signers)
    - [Your e.firma (FIEL)](https://guia.mifiel.com/en/managing-your-e-firma-and-your-mifiel-account?hsLang=en#your-e-firma-fiel)
- [Legal topics](https://guia.mifiel.com/en/legal-topics?hsLang=en#main-content)

    - [Electronic signature regulations](https://guia.mifiel.com/en/legal-topics?hsLang=en#electronic-signature-regulations)
- [Organization Management](https://guia.mifiel.com/en/organization-management?hsLang=en#main-content)

    - [Generating an organization in Mifiel](https://guia.mifiel.com/en/organization-management?hsLang=en#generating-an-organization-in-mifiel)
    - [Adding members and editing their permissions](https://guia.mifiel.com/en/organization-management?hsLang=en#adding-members-and-editing-their-permissions)
- [About Mifiel](https://guia.mifiel.com/en/about-mifiel?hsLang=en#main-content)

    - [General information](https://guia.mifiel.com/en/about-mifiel?hsLang=en#general-information)
- [Signing from the app](https://guia.mifiel.com/en/signing-from-the-app?hsLang=en)

[![Chill listening crop-3](https://guia.mifiel.com/hs-fs/hubfs/logo-only-1.png?width=24&height=24&name=logo-only-1.png "Chill listening crop-3")](http://www.mifiel.com)