libchipcard 5.1.6
|
#include <chipcard/card.h>
#include <chipcard/sharedstuff/pininfo.h>
#include <gwenhywfar/ct.h>
Go to the source code of this file.
Functions | |
Functions for Inheriting Classes | |
Functions in this group can be used by other card based CryptToken plugins. | |
CHIPCARD_API int | LC_Crypt_Token_VerifyPin (GWEN_CRYPT_TOKEN *ct, LC_CARD *hcard, GWEN_CRYPT_PINTYPE pt, uint32_t guiid) |
CHIPCARD_API int | LC_Crypt_Token_VerifyPinWithPinInfo (GWEN_CRYPT_TOKEN *ct, LC_CARD *hcard, GWEN_CRYPT_PINTYPE pt, const LC_PININFO *pi, uint32_t guiid) |
CHIPCARD_API int | LC_Crypt_Token_ChangePin (GWEN_CRYPT_TOKEN *ct, LC_CARD *hcard, GWEN_CRYPT_PINTYPE pt, int initial, uint32_t guiid) |
CHIPCARD_API int | LC_Crypt_Token_ResultToError (LC_CLIENT_RESULT res) |
CHIPCARD_API int LC_Crypt_Token_VerifyPin | ( | GWEN_CRYPT_TOKEN * | ct, |
LC_CARD * | hcard, | ||
GWEN_CRYPT_PINTYPE | pt, | ||
uint32_t | guiid ) |
Let the chipcard verify a pin. If the card reader has a keypad then secure input will be used. Otherwise the user will be asked to enter a pin which is then relayed to the card.
References CHIPCARD_API.
CHIPCARD_API int LC_Crypt_Token_VerifyPinWithPinInfo | ( | GWEN_CRYPT_TOKEN * | ct, |
LC_CARD * | hcard, | ||
GWEN_CRYPT_PINTYPE | pt, | ||
const LC_PININFO * | pi, | ||
uint32_t | guiid ) |
References CHIPCARD_API.
CHIPCARD_API int LC_Crypt_Token_ChangePin | ( | GWEN_CRYPT_TOKEN * | ct, |
LC_CARD * | hcard, | ||
GWEN_CRYPT_PINTYPE | pt, | ||
int | initial, | ||
uint32_t | guiid ) |
Let the chipcard change a pin. If the card reader has a keypad then secure input will be used. Otherwise the user will be asked to enter a pin which is then relayed to the card.
References CHIPCARD_API.
CHIPCARD_API int LC_Crypt_Token_ResultToError | ( | LC_CLIENT_RESULT | res | ) |
Convert the given client result code to one of Gwenhywfars error codes.