libchipcard 5.1.6
|
#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) |
SSD Data for the DF_SIG df | |
CHIPCARD_API GWEN_DB_NODE * | LC_ZkaCard_GetDfSigSsdDataAsDb (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 LC_CLIENT_RESULT | LC_ZkaCard_Decipher (LC_CARD *card, int globalKey, int keyId, int keyVersion, const uint8_t *ptr, unsigned int size, GWEN_BUFFER *outBuf) |
CHIPCARD_API int LC_ZkaCard_ExtendCard | ( | LC_CARD * | card | ) |
References CHIPCARD_API.
CHIPCARD_API int LC_ZkaCard_UnextendCard | ( | LC_CARD * | card | ) |
References CHIPCARD_API.
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.
References CHIPCARD_API.
CHIPCARD_API GWEN_DB_NODE * LC_ZkaCard_GetDfSigSsdDataAsDb | ( | const LC_CARD * | card | ) |
Returns the df sig ssd data (EF_SSD) parsed into a GWEN_DB.
References CHIPCARD_API.
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.
References CHIPCARD_API.
CHIPCARD_API const LC_PININFO * LC_ZkaCard_GetPinInfo | ( | const LC_CARD * | card, |
int | pid ) |
Returns the pin information read from EF_PWDD
References CHIPCARD_API.
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 ) |
References CHIPCARD_API.
CHIPCARD_API LC_CLIENT_RESULT LC_ZkaCard_Decipher | ( | LC_CARD * | card, |
int | globalKey, | ||
int | keyId, | ||
int | keyVersion, | ||
const uint8_t * | ptr, | ||
unsigned int | size, | ||
GWEN_BUFFER * | outBuf ) |