eHealth-CardLink Card Communication Interface 1.0.0

This API defines an interface between a client (i.e. application which has access to a smartcard of type eHC (electronic Health Card = eGK = elektronische Gesundheitskarte) on one side and a server (i.e. application of type eHealth-CardLink) on the other side.

Servers

  • wss://to.be.configured/wssproduction

    Websocket Server

Operations

  • RECEIVE /

    Receive eGK message from client (app)

    Operation IDreceiveRegisterEgkMessage

    Available only on servers:

    object

    Accepts the following message:

    sendregisterEgkMessage

    Card data

    Message IDregisterEgkMessage
    array<oneOf>
    [ 2 .. 3 ] items

    Examples

  • SEND /

    Send APDU to app (INTERNAL AUTHENTICATE)

    Operation IDsendSendApduMessage

    Available only on servers:

    object

    Accepts the following message:

    receivesendApduMessage

    Token to be signed

    Message IDsendApduMessage
    array<allOf>
    3 items

    Examples

  • RECEIVE /

    INTERNAL AUTHENTICATE response

    Operation IDreceiveSendApduResponseMessage

    Available only on servers:

    object

    Accepts the following message:

    sendsendApduResponseMessage

    APDU from card to processing component

    Message IDsendApduResponseMessage
    array<any> allOf
    3 items

    Examples

  • SEND /

    Error in the course of card plugging or ReadVSD

    Operation IDsendTasklistErrorMessage

    Available only on servers:

    object

    Accepts the following message:

    receivetasklistErrorMessage

    Error retrieving PN

    Message IDtasklistErrorMessage
    object

    Examples

  • SEND /

    Notification indicating to app that session is ready and eGK data can be sent

    Operation IDsendReadyMessage

    Available only on servers:

    object

    Accepts the following message:

    readyreadyMessage
    Message IDreadyMessage

    Examples

  • SEND /

    Provided payload did not pass validation

    Operation IDsendInvalidPayloadErrorMessage

    Available only on servers:

    object

    Accepts the following message:

    errorinvalidPayloadErrorMessage
    Message IDinvalidPayloadErrorMessage
    Payload
    string

    Validation result

    Examples

  • SEND /

    eH-CL encountered an error

    Operation IDsendGenericErrorMessage

    Available only on servers:

    object

    Accepts the following message:

    errorgenericErrorMessage
    Message IDgenericErrorMessage
    array<allOf>
    <= 3 items

    Examples

Messages

  • #1sendregisterEgkMessage

    Card data

    Message IDregisterEgkMessage
    array<oneOf>
    [ 2 .. 3 ] items
  • #2receivesendApduMessage

    Token to be signed

    Message IDsendApduMessage
    array<allOf>
    3 items
  • #3sendsendApduResponseMessage

    APDU from card to processing component

    Message IDsendApduResponseMessage
    array<any> allOf
    3 items
  • #4receivetasklistErrorMessage

    Error retrieving PN

    Message IDtasklistErrorMessage
    object
  • #5readyreadyMessage
    Message IDreadyMessage
  • #6errorinvalidPayloadErrorMessage
    Message IDinvalidPayloadErrorMessage
    Payload
    string

    Validation result

  • #7errorgenericErrorMessage
    Message IDgenericErrorMessage
    array<allOf>
    <= 3 items

Schemas

  • webSocketId
    string

    Identifer for the established web socket connection

  • cardSessionId
    string

    Card session identifier

  • correlationId
    string

    CorrelationId

  • object

    Base64 encoded json payload of the error

  • object
  • object
  • object
  • object
  • object

    Base64 encoded json payload

  • object

    Base64 encoded json payload

  • object

    Base64 encoded json payload

  • object

    Base64 encoded json payload