> 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/ibm-editran-v5.3-iseries/gestor-de-claves/ejemplo-funcionamiento.md).

# Ejemplo funcionamiento

Supongamos 2 entidades con NIF: 000099920 (local) y otra 000099940 (remota).

Ambos acuerdan intercambiar sus claves por la aplicación TELEGC.

En ambas, los administradores definen una sesión Editran/P por la que se enviarán claves.

Definición del perfil de propias RSA y remotas RSA

El administrador de la entidad LOCAL 000099920, DECIDE dar de alta el SUBSISTEMA ‘P’. Este dato se lo tiene que comunicar al administrador de la entidad remota 000099940, para que éste último de alta un registro remoto rsa con el subsistema que le han dicho y contra la entidad local 000099920.

A su vez, el administrador de la entidad REMOTA 000099940, DECIDE dar de alta el subsistema ‘D’,. Este dato lo tiene que comunicar al administrador de la entidad local 000099920, para que éste último de alta un registro remoto rsa con el subsistema que le han dicho y contra la entidad remota 000099940.

El administrador de 000099920, local da de alta registro propias RSA con subsistema P (PARA GENERAR PAREJA DE CLAVES).

<figure><img src="https://4041620437-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F80nfuaOloGPZthms7LSJ%2Fuploads%2Fgit-blob-39ec39e170fa6205bf812eb596cf561c367bd487%2Fimage%20(210).png?alt=media" alt=""><figcaption></figcaption></figure>

El administrador de 000099920 local da de alta el registro REMOTO RSA con subsistema D (PARA RECIBIR PUBLICA REMOTA)

<figure><img src="https://4041620437-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F80nfuaOloGPZthms7LSJ%2Fuploads%2Fgit-blob-dde042e46932ed4899299e0bda78bc5d1e5b5c28%2Fimage%20(211).png?alt=media" alt=""><figcaption></figcaption></figure>

El administrador de 000099940, REMOTO da de alta registro propias RSA con subsistema D (PARA GENERAR PAREJA DE CLAVES).

El administrador de 000099940, REMOTO da de alta registro REMOTO RSA con subsistema P (PARA RECIBIR PUBLICA REMOTA).

En el entorno de AS400, con esta opción (alta de claves propias), se lanza el procedimiento que genera claves y las asocia con el label de versión 01.


---

# 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/ibm-editran-v5.3-iseries/gestor-de-claves/ejemplo-funcionamiento.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.
