> For the complete documentation index, see [llms.txt](https://docs.editran.onesait.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.editran.onesait.com/documentacion-editran/editranff-lite-v7-open/linux/clienteff/modos-de-uso-para-verificar-firmas/consideraciones-con-respecto-a-todos-los-modos-de-firma.md).

# Consideraciones con respecto a todos los modos de firma

Cuando el fichero de firma incluye el fichero de datos firmado (modos XADES\_DETACHED\_INTERNO\_IMPLICITO, XADES\_ENVELOPED, XADES\_ENVELOPING\_IMPLICITO, XADES\_DETACHED\_INTERNA\_EXPLICITA\_UNFICH y PKCS7\_ATTACHED) el proceso de verificación extraerá en el directorio de datos indicado en el perfil de la aplicación el fichero de datos incluido en la firma. En el resto de modos, el fichero de datos deberá haberse recibido junto con el fichero de firma y encontrarse en el directorio de datos cuando se proceda a la validación.

En el proceso de verificación se crea en *\[directorio de datos de la aplicación]/TMP.XD* un fichero con el mismo nombre que el de los datos seguido de la extensión .ctrl. Contiene una primera línea informando del resultado de la verificación y a continuación tantas líneas como certificados hayan firmado el fichero. Cada una de estas líneas contiene el DN del certificado precedido por ‘S’, si dicho certificado se encuentra en los perfiles de la aplicación, o por ‘N’ en caso contrario. Esta información es de interés cuando el proceso termina con el código 6 (Error firma incorrecta por perfiles), véase apartado **4.4.**


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.editran.onesait.com/documentacion-editran/editranff-lite-v7-open/linux/clienteff/modos-de-uso-para-verificar-firmas/consideraciones-con-respecto-a-todos-los-modos-de-firma.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
