eGK Cards
[Supported Cards]

Collaboration diagram for eGK Cards:

Detailed Description

eGK cards are new German medical cards ("Elektronische Gesundheitskarte").


Extending Basic Card Object

CHIPCARD_API int LC_EgkCard_ExtendCard (LC_CARD *card)
CHIPCARD_API int LC_EgkCard_UnextendCard (LC_CARD *card)
CHIPCARD_API LC_CLIENT_RESULT LC_EgkCard_Reopen (LC_CARD *card)

Pin Verification

CHIPCARD_API LC_CLIENT_RESULT LC_EgkCard_VerifyPin (LC_CARD *card, const char *pin)
CHIPCARD_API LC_CLIENT_RESULT LC_EgkCard_SecureVerifyPin (LC_CARD *card)

Functions

CHIPCARD_API LC_CLIENT_RESULT LC_EgkCard_ReadPd (LC_CARD *card, GWEN_BUFFER *buf)
CHIPCARD_API LC_CLIENT_RESULT LC_EgkCard_ReadVd (LC_CARD *card, GWEN_BUFFER *buf)


Function Documentation

CHIPCARD_API int LC_EgkCard_ExtendCard ( LC_CARD card  ) 

Extends a basic card type thus making functions of this group available. This stores some DDV-related data with the given card object. This function internally calls LC_ProcessorCard_ExtendCard.

CHIPCARD_API int LC_EgkCard_UnextendCard ( LC_CARD card  ) 

Unextend a card object which has previously been extended using LC_EgkCard_ExtendCard. This functions releases all DDV-related ressources. This function internally calls LC_ProcessorCard_UnextendCard.

CHIPCARD_API LC_CLIENT_RESULT LC_EgkCard_Reopen ( LC_CARD card  ) 

This function is called from within LC_Card_Open for cards which have been extended using LC_EgkCard_ExtendCard. However, if a card extended after opening you can call this function here to let the card do some necessary work before other functions of this group can be used.

CHIPCARD_API LC_CLIENT_RESULT LC_EgkCard_VerifyPin ( LC_CARD card,
const char *  pin 
)

Verify the given pin.

CHIPCARD_API LC_CLIENT_RESULT LC_EgkCard_SecureVerifyPin ( LC_CARD card  ) 

Secure pin verification. This can be used if the card's reader flags indicate that the reader has a keypad.

CHIPCARD_API LC_CLIENT_RESULT LC_EgkCard_ReadPd ( LC_CARD card,
GWEN_BUFFER *  buf 
)

CHIPCARD_API LC_CLIENT_RESULT LC_EgkCard_ReadVd ( LC_CARD card,
GWEN_BUFFER *  buf 
)


Generated on Wed Dec 3 19:29:39 2008 for libchipcard2 by  doxygen 1.5.6