KIM integrated Clientmodule
Ti365 provides an integrated KIM-Clientmodule for sending and receiving KIM messages without the need of an standalone Clientmodule. The integrated Clientmodule is specified and approved by the gematik.
A KIM-Clientmodule functions as proxy between a receiving system, like an E-Mail client or a PVS, and the server of the KIM-Provider. It encrypts mails from the client before sending them to the server and it decrypts messages received from the server before sending them to the client.
Ti365 not only receives KIM-Messages from the KIM-Provider but also stores the received messages client-side encrypted on the Ti365-Gateway for later processing. This is due to the limitation of the KIM-Provider only using the POP3 protocol because of the messages being encrypted. Therefor an IMAP protocol could not provide any further functionality as the Clientmodule would have to decrypt the messages every time it receives it.
Getting a KimClient
instance
To use integrated KIM Clientmodule an authenticated
Ti365Session
is required from a login with theAuthenticationService
.Getting a
KimClient
instance for e.g. sending and receiving KIM-messages requires a KIMAccount to be registered and set up.
To create a KimClient the KimService
of the Ti365Session
is used as follows:
const kimClient = await ti365Session.kimService.createKimClient();