14 #ifndef CHIPCARD_CLIENT_CARD_IMP_H 15 #define CHIPCARD_CLIENT_CARD_IMP_H 22 #include <chipcard/card.h> 46 unsigned char *buffer,
48 unsigned int *pinLength);
109 const
unsigned char *ptr,
117 const
unsigned char *oldptr,
118 unsigned int oldsize,
119 const
unsigned char *newptr,
120 unsigned int newsize,
146 GWEN_BUFFER *sigBuf);
153 unsigned int sigsize);
159 GWEN_BUFFER *codeBuf);
165 GWEN_BUFFER *codeBuf);
170 const
unsigned char *ptr,
LC_CLIENT_RESULT CHIPCARD_CB(* LC_CARD_ISOWRITEBINARY_FN)(LC_CARD *card, uint32_t flags, int offset, const char *ptr, unsigned int size)
Definition: card_imp.h:59
LC_CLIENT_RESULT CHIPCARD_CB(* LC_CARD_ISOPERFORMVERIFICATION_FN)(LC_CARD *card, uint32_t flags, const LC_PININFO *pi, int *triesLeft)
Definition: card_imp.h:124
LC_CLIENT_RESULT CHIPCARD_CB(* LC_CARD_ISOERASEBINARY_FN)(LC_CARD *card, uint32_t flags, int offset, unsigned int size)
Definition: card_imp.h:74
CHIPCARD_API void LC_Card_SetIsoSignFn(LC_CARD *card, LC_CARD_ISOSIGN_FN f)
LC_CLIENT_RESULT CHIPCARD_CB(* LC_CARD_ISOINTERNALAUTH_FN)(LC_CARD *card, int kid, const unsigned char *ptr, unsigned int size, GWEN_BUFFER *rBuf)
Definition: card_imp.h:168
CHIPCARD_API void LC_Card_SetIsoReadRecordFn(LC_CARD *card, LC_CARD_ISOREADRECORD_FN f)
CHIPCARD_API void LC_Card_SetIsoWriteBinaryFn(LC_CARD *card, LC_CARD_ISOWRITEBINARY_FN f)
CHIPCARD_API void LC_Card_SetCloseFn(LC_CARD *card, LC_CARD_CLOSE_FN fn)
CHIPCARD_API void LC_Card_SetIsoVerifyPinFn(LC_CARD *card, LC_CARD_ISOVERIFYPIN_FN f)
LC_CLIENT_RESULT CHIPCARD_CB(* LC_CARD_ISOREADBINARY_FN)(LC_CARD *card, uint32_t flags, int offset, int size, GWEN_BUFFER *buf)
Definition: card_imp.h:52
CHIPCARD_API void LC_Card_SetIsoManageSeFn(LC_CARD *card, LC_CARD_ISOMANAGESE_FN f)
CHIPCARD_API void LC_Card_SetIsoReadBinaryFn(LC_CARD *card, LC_CARD_ISOREADBINARY_FN f)
LC_CLIENT_RESULT CHIPCARD_CB(* LC_CARD_CLOSE_FN)(LC_CARD *card)
Definition: card_imp.h:35
CHIPCARD_API void LC_Card_SetGetPinStatusFn(LC_CARD *card, LC_CARD_GETPINSTATUS_FN fn)
CHIPCARD_API void LC_Card_SetIsoAppendRecordFn(LC_CARD *card, LC_CARD_ISOAPPENDRECORD_FN f)
CHIPCARD_API void LC_Card_SetIsoEraseBinaryFn(LC_CARD *card, LC_CARD_ISOERASEBINARY_FN f)
LC_CLIENT_RESULT CHIPCARD_CB(* LC_CARD_ISOPERFORMMODIFICATION_FN)(LC_CARD *card, uint32_t flags, const LC_PININFO *pi, int *triesLeft)
Definition: card_imp.h:130
CHIPCARD_API void LC_Card_SetOpenFn(LC_CARD *card, LC_CARD_OPEN_FN fn)
LC_CLIENT_RESULT CHIPCARD_CB(* LC_CARD_ISOVERIFY_FN)(LC_CARD *card, const char *dptr, unsigned int dsize, const char *sigptr, unsigned int sigsize)
Definition: card_imp.h:149
CHIPCARD_API void LC_Card_SetIsoPerformModificationFn(LC_CARD *card, LC_CARD_ISOPERFORMMODIFICATION_FN f)
LC_CLIENT_RESULT CHIPCARD_CB(* LC_CARD_ISOMODIFYPIN_FN)(LC_CARD *card, uint32_t flags, const LC_PININFO *pi, const unsigned char *oldptr, unsigned int oldsize, const unsigned char *newptr, unsigned int newsize, int *triesLeft)
Definition: card_imp.h:114
LC_CLIENT_RESULT CHIPCARD_CB(* LC_CARD_ISOAPPENDRECORD_FN)(LC_CARD *card, uint32_t flags, const char *ptr, unsigned int size)
Definition: card_imp.h:93
LC_CLIENT_RESULT CHIPCARD_CB(* LC_CARD_ISOWRITERECORD_FN)(LC_CARD *card, uint32_t flags, int recNum, const char *ptr, unsigned int size)
Definition: card_imp.h:86
LC_CLIENT_RESULT CHIPCARD_CB(* LC_CARD_ISOMANAGESE_FN)(LC_CARD *card, int tmpl, int kids, int kidp, int ar)
Definition: card_imp.h:137
CHIPCARD_API LC_CARD_CLOSE_FN LC_Card_GetCloseFn(const LC_CARD *card)
#define CHIPCARD_API
Definition: chipcard.h:50
CHIPCARD_API void LC_Card_SetIsoWriteRecordFn(LC_CARD *card, LC_CARD_ISOWRITERECORD_FN f)
LC_CLIENT_RESULT
Definition: client.h:40
LC_CLIENT_RESULT CHIPCARD_CB(* LC_CARD_ISOREADRECORD_FN)(LC_CARD *card, uint32_t flags, int recNum, GWEN_BUFFER *buf)
Definition: card_imp.h:80
CHIPCARD_API void LC_Card_SetGetInitialPinFn(LC_CARD *card, LC_CARD_GETINITIALPIN_FN fn)
CHIPCARD_API void LC_Card_SetIsoDecipherFn(LC_CARD *card, LC_CARD_ISODECIPHER_FN f)
CHIPCARD_API void LC_Card_SetIsoEncipherFn(LC_CARD *card, LC_CARD_ISOENCIPHER_FN f)
CHIPCARD_API void LC_Card_SetIsoModifyPinFn(LC_CARD *card, LC_CARD_ISOMODIFYPIN_FN f)
LC_CLIENT_RESULT CHIPCARD_CB(* LC_CARD_ISOENCIPHER_FN)(LC_CARD *card, const char *ptr, unsigned int size, GWEN_BUFFER *codeBuf)
Definition: card_imp.h:156
CHIPCARD_API void LC_Card_ResetCardId(LC_CARD *cd)
LC_CLIENT_RESULT CHIPCARD_CB(* LC_CARD_OPEN_FN)(LC_CARD *card)
Definition: card_imp.h:34
LC_CLIENT_RESULT CHIPCARD_CB(* LC_CARD_ISOSIGN_FN)(LC_CARD *card, const char *ptr, unsigned int size, GWEN_BUFFER *sigBuf)
Definition: card_imp.h:143
CHIPCARD_API void LC_Card_SetReaderType(LC_CARD *cd, const char *s)
CHIPCARD_API void LC_Card_SetIsoUpdateRecordFn(LC_CARD *card, LC_CARD_ISOUPDATERECORD_FN f)
LC_CLIENT_RESULT CHIPCARD_CB(* LC_CARD_ISOVERIFYPIN_FN)(LC_CARD *card, uint32_t flags, const LC_PININFO *pi, const unsigned char *ptr, unsigned int size, int *triesLeft)
Definition: card_imp.h:106
LC_CLIENT_RESULT CHIPCARD_CB(* LC_CARD_GETPINSTATUS_FN)(LC_CARD *card, unsigned int pid, int *maxErrors, int *currentErrors)
Definition: card_imp.h:38
#define CHIPCARD_CB
Definition: chipcard.h:67
CHIPCARD_API void LC_Card_SetIsoPerformVerificationFn(LC_CARD *card, LC_CARD_ISOPERFORMVERIFICATION_FN f)
CHIPCARD_API LC_CARD_OPEN_FN LC_Card_GetOpenFn(const LC_CARD *card)
CHIPCARD_API void LC_Card_SetDriverType(LC_CARD *cd, const char *s)
CHIPCARD_API void LC_Card_SetLastResult(LC_CARD *cd, const char *result, const char *text, int sw1, int sw2)
CHIPCARD_API void LC_Card_SetIsoVerifyFn(LC_CARD *card, LC_CARD_ISOVERIFY_FN f)
CHIPCARD_API void LC_Card_SetIsoInternalAuthFn(LC_CARD *card, LC_CARD_ISOINTERNALAUTH_FN f)
LC_CLIENT_RESULT CHIPCARD_CB(* LC_CARD_ISODECIPHER_FN)(LC_CARD *card, const char *ptr, unsigned int size, GWEN_BUFFER *codeBuf)
Definition: card_imp.h:162
CHIPCARD_API void LC_Card_SetIsoUpdateBinaryFn(LC_CARD *card, LC_CARD_ISOUPDATEBINARY_FN f)
CHIPCARD_API int LC_Card_AddCardType(LC_CARD *cd, const char *s)
struct LC_CARD LC_CARD
Definition: card.h:25
LC_CLIENT_RESULT CHIPCARD_CB(* LC_CARD_GETINITIALPIN_FN)(LC_CARD *card, int id, unsigned char *buffer, unsigned int maxLen, unsigned int *pinLength)
Definition: card_imp.h:44
LC_CLIENT_RESULT CHIPCARD_CB(* LC_CARD_ISOUPDATEBINARY_FN)(LC_CARD *card, uint32_t flags, int offset, const char *ptr, unsigned int size)
Definition: card_imp.h:67
struct LC_PININFO LC_PININFO
Definition: pininfo.h:77
LC_CLIENT_RESULT CHIPCARD_CB(* LC_CARD_ISOUPDATERECORD_FN)(LC_CARD *card, uint32_t flags, int recNum, const char *ptr, unsigned int size)
Definition: card_imp.h:99