> 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-firmar-ficheros/firma-sin-aplicacion.md).

# Firma sin aplicación

Para realizar firmas fichero a fichero, sin usar una aplicación definida en EditranFF:

```
clienteff -firma -fichero [path fichero a firmar] -alias [alias de los firmantes,
separados por ','] [-destino [path directorio destino]]
```

Donde:

* **-fichero \[path fichero a firmar]:** ruta del fichero a firmar. Se admiten los metacaracteres ‘\*’ y ‘?’ para hacer referencia a un conjunto de ficheros.
* **-alias \[alias de los firmantes, separados por ‘,’]:** alias de los usuarios locales que van a firmar. Han de existir en la configuración.
* **\[-destino \[path directorio destino]]:** pareja de parámetros opcional. Si no se indica, el fichero de firma quedará en el mismo directorio que el fichero de entrada con el nombre \[fichero de datos].xsig. Si se indica, el directorio debe existir.

La configuración necesaria restante (Modo de firma, ruta de certificado, etc.) se toma de los datos de parámetros por defecto definidos en la configuración.

Por ejemplo, para firmar el fichero *ficheropruebas.xml* ubicado en *C:/files* con el usuario *usuario1* y se quiere depositar la firma obtenida en el directorio *C:/files/firmas*, se realizará la siguiente llamada:

```
clienteff -firma -fichero C:/files/ficheropruebas.xml -alias usuario1 -destino
C:/files/firmas
```


---

# 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-firmar-ficheros/firma-sin-aplicacion.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.
