> 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/copy-of-privado-editran-v5.3-cics/gestor-de-claves/introduccion/codificacion-de-las-sesiones-onesait-editran-una-vez-se-intercambian-claves..md).

# Codificación de las sesiones Onesait · Editran, una vez se intercambian claves.

Una vez intercambiadas claves, en las sesiones editran, habitualmente codificaremos:

```
|                       CRIPTOGRAFIA (S/N).......: S                          |
| VERSION CRIPTOGRAFICA......: 4 00                                           |
| ALGORITMO CIFRADO DE DATOS.: CCCC     ALGORITMO AUTENTICACION ...: DDD      |
| SUBSISTEMA LOCAL...........: X        SUBSISTEMA REMOTO..........: Y        |
```

CCCC – Es el algoritmo de cifrados de datos (mediante esto, indicamos la clave operacional que servirá para cifrar datos). Los valores admitidos son spaces, TD3C, AES1, AES2 y AES3 (sin cifrado, DES o AES de clave simple, doble y triple).

DDD – Es el algoritmo autenticación (es la clave intercambiada, que sirve para firmar y para cifrar la clave operacional). Los valores admitidos son DES y RSA.

X- Es el subsistema PROPIO (local). Recuerde que para unas sesiones con ese remoto puede tener unos subsistemas locales distintos que para otra.

Z- Es el subsistema AJENO (remoto)..  Recuerde que para unas sesiones con ese remoto puede tener unos subsistemas remotos distintos que para otra

Cuando cambiamos una clave dentro de un mismo subsistema NO ES NECESARIO tocar la parametrización anterior. Editran busca dentro de los valores que le hemos dado, cual es la clave ACTIVA (sólo hay 1) que existe en ese subsistema, y opera con ella. De ahí que, si alguno de los extremos realiza un nuevo intercambio, no tiene porqué avisar al otro extremo (recuerde que la TELEGC queda definida y su funcionamiento es automático desde cualquier extremo), de forma que, si cambia de clave, esta pasa a activa, por lo que ambos editran, cogerán la nueva. En base a lo anterior, en ninguno de los extremos habrá que tocar más veces los campos subsitema local y remoto.


---

# 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/copy-of-privado-editran-v5.3-cics/gestor-de-claves/introduccion/codificacion-de-las-sesiones-onesait-editran-una-vez-se-intercambian-claves..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.
