libchipcard
5.0.4
|
#include <chipcard/card.h>
#include <chipcard/sharedstuff/pininfo.h>
#include <gwenhywfar/db.h>
Go to the source code of this file.
Functions | |
CHIPCARD_API int | LC_ZkaCard_ExtendCard (LC_CARD *card) |
CHIPCARD_API int | LC_ZkaCard_UnextendCard (LC_CARD *card) |
CHIPCARD_API LC_CLIENT_RESULT | LC_ZkaCard_Reopen (LC_CARD *card) |
General Card Data | |
CHIPCARD_API GWEN_DB_NODE * | LC_ZkaCard_GetCardDataAsDb (const LC_CARD *card) |
CHIPCARD_API GWEN_BUFFER * | LC_ZkaCard_GetCardDataAsBuffer (const LC_CARD *card) |
CHIPCARD_API const LC_PININFO * | LC_ZkaCard_GetPinInfo (const LC_CARD *card, int pid) |
Cryptographic Functions | |
CHIPCARD_API LC_CLIENT_RESULT | LC_ZkaCard_Sign (LC_CARD *card, int globalKey, int keyId, int keyVersion, const uint8_t *ptr, unsigned int size, GWEN_BUFFER *sigBuf) |
CHIPCARD_API int LC_ZkaCard_ExtendCard | ( | LC_CARD * | card | ) |
CHIPCARD_API int LC_ZkaCard_UnextendCard | ( | LC_CARD * | card | ) |
CHIPCARD_API LC_CLIENT_RESULT LC_ZkaCard_Reopen | ( | LC_CARD * | card | ) |
CHIPCARD_API GWEN_DB_NODE* LC_ZkaCard_GetCardDataAsDb | ( | const LC_CARD * | card | ) |
Returns the card data (EF_ID) parsed into a GWEN_DB.
CHIPCARD_API GWEN_BUFFER* LC_ZkaCard_GetCardDataAsBuffer | ( | const LC_CARD * | card | ) |
Returns the raw card data (content of EF_ID). The card object remains the owner of the object returned (if any), so you must not manipulate or free it.
CHIPCARD_API const LC_PININFO* LC_ZkaCard_GetPinInfo | ( | const LC_CARD * | card, |
int | pid | ||
) |
Returns the pin information read from EF_PWDD
CHIPCARD_API LC_CLIENT_RESULT LC_ZkaCard_Sign | ( | LC_CARD * | card, |
int | globalKey, | ||
int | keyId, | ||
int | keyVersion, | ||
const uint8_t * | ptr, | ||
unsigned int | size, | ||
GWEN_BUFFER * | sigBuf | ||
) |