This library can be used to realize use cases for interacting with a German Health Card (eGk, elektronische Gesundheitskarte) via a mobile device.
Typically you would use this library as the high level API gateway for your mobile application to send predefined command chains to the Health Card and interpret the responses.
For more info, please find the low level part HealthCardAccess
.
and a Demo App on GitHub.
See the Gematik GitHub IO page for a more general overview.
Take the necessary preparatory steps for signing a challenge on the Health Card, then sign it.
link:{integrationtestdir}/HealthCardControl/HealthCardTypeExtESIGNIntegrationTest.swift[role=include]
Encapsulate the PACE protocol steps for establishing a secure channel with the Health Card and expose only a simple API call .
link:{integrationtestdir}/HealthCardControl/KeyAgreementIntegrationTest.swift[role=include]
See the integration tests IntegrationTests/HealthCardControl/ for more already implemented use cases.