libchipcard  5.0.4
zkacard.h
Go to the documentation of this file.
1 /***************************************************************************
2  begin : Sat Nov 13 2010
3  copyright : (C) 2010 by Martin Preuss
4  email : martin@libchipcard.de
5 
6  ***************************************************************************
7  * Please see toplevel file COPYING for license details *
8  ***************************************************************************/
9 
10 
11 #ifndef CHIPCARD_CARD_ZKACARD_H
12 #define CHIPCARD_CARD_ZKACARD_H
13 
14 #include <chipcard/card.h>
15 #include <chipcard/sharedstuff/pininfo.h>
16 #include <gwenhywfar/db.h>
17 
18 
25 
33 CHIPCARD_API GWEN_DB_NODE *LC_ZkaCard_GetCardDataAsDb(const LC_CARD *card);
34 
40 CHIPCARD_API GWEN_BUFFER *LC_ZkaCard_GetCardDataAsBuffer(const LC_CARD *card);
41 
45 CHIPCARD_API const LC_PININFO *LC_ZkaCard_GetPinInfo(const LC_CARD *card, int pid);
46 
56  int globalKey,
57  int keyId,
58  int keyVersion,
59  const uint8_t *ptr,
60  unsigned int size,
61  GWEN_BUFFER *sigBuf);
62 
65 #endif
66 
CHIPCARD_API LC_CLIENT_RESULT LC_ZkaCard_Reopen(LC_CARD *card)
CHIPCARD_API GWEN_DB_NODE * LC_ZkaCard_GetCardDataAsDb(const LC_CARD *card)
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 const LC_PININFO * LC_ZkaCard_GetPinInfo(const LC_CARD *card, int pid)
#define CHIPCARD_API
Definition: chipcard.h:50
LC_CLIENT_RESULT
Definition: client.h:40
CHIPCARD_API int LC_ZkaCard_ExtendCard(LC_CARD *card)
CHIPCARD_API int LC_ZkaCard_UnextendCard(LC_CARD *card)
CHIPCARD_API GWEN_BUFFER * LC_ZkaCard_GetCardDataAsBuffer(const LC_CARD *card)
struct LC_CARD LC_CARD
Definition: card.h:25
struct LC_PININFO LC_PININFO
Definition: pininfo.h:77