11 #ifndef CHIPCARD_CLIENT_CARD_H
12 #define CHIPCARD_CLIENT_CARD_H
19 #include <gwenhywfar/inherit.h>
31 #include <chipcard/chipcard.h>
32 #include <chipcard/client.h>
33 #include <chipcard/sharedstuff/pininfo.h>
47 #define LC_CARD_ISO_FLAGS_EFID_MASK 0x00000001f
50 #define LC_CARD_ISO_FLAGS_RECSEL_MASK 0x0000000e0
53 #define LC_CARD_ISO_FLAGS_RECSEL_FIRST (0 << 5)
56 #define LC_CARD_ISO_FLAGS_RECSEL_LAST (1 << 5)
59 #define LC_CARD_ISO_FLAGS_RECSEL_NEXT (2 << 5)
62 #define LC_CARD_ISO_FLAGS_RECSEL_PREV (3 << 5)
65 #define LC_CARD_ISO_FLAGS_RECSEL_GIVEN (4 << 5)
147 const char *commandName,
148 GWEN_DB_NODE *cmdData,
149 GWEN_DB_NODE *rspData);
158 GWEN_DB_NODE *cmdData,
292 const unsigned char **pbuf);
324 const char *lastCommand,
373 unsigned char *buffer,
375 unsigned int *pinLength);
381 const unsigned char *ptr,
389 const unsigned char *oldptr,
390 unsigned int oldsize,
391 const unsigned char *newptr,
392 unsigned int newsize,
497 int tmpl,
int kids,
int kidp,
int ar);
503 GWEN_BUFFER *codeBuf);
509 GWEN_BUFFER *plainBuf);
515 GWEN_BUFFER *sigBuf);
522 unsigned int sigsize);
539 GWEN_DB_NODE *dbData);
545 GWEN_DB_NODE *dbData);
551 GWEN_DB_NODE *dbRecord);
557 GWEN_DB_NODE *dbRecord);