/usr/include/libchipcard5/chipcard/ct/ct_card.h is in libchipcard-dev 5.1.0beta-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 | /***************************************************************************
begin : Mon Mar 01 2004
copyright : (C) 2004-2010 by Martin Preuss
email : martin@libchipcard.de
***************************************************************************
* Please see toplevel file COPYING for license details *
***************************************************************************/
#ifndef LC_CT_CARD_H
#define LC_CT_CARD_H
#include <chipcard/card.h>
#include <chipcard/sharedstuff/pininfo.h>
#include <gwenhywfar/ct.h>
/** @addtogroup chipcardc_client_ct
* @short Chipcard-based CryptTokens
*
* Libchipcard2 provides CryptToken plugins for Gwenhywfar. These plugins
* can be used by AqBanking.
*
* The following CryptToken plugins are provided:
* <ul>
* <li>DdvCard (supports DDV0 and DDV1 cards)</li>
* <li>
* StarcosCard (with subtypes <i>starcoscard-vr</i> and
* <i>starcoscard-hvb</i>)
* </li>
* </ul>
*/
/*@{*/
/** @name Functions for Inheriting Classes
*
* Functions in this group can be used by other card based CryptToken
* plugins.
*/
/*@{*/
/**
* 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.
*/
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);
/**
* 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.
*/
CHIPCARD_API
int LC_Crypt_Token_ChangePin(GWEN_CRYPT_TOKEN *ct,
LC_CARD *hcard,
GWEN_CRYPT_PINTYPE pt,
int initial,
uint32_t guiid);
/**
* Convert the given client result code to one of Gwenhywfars error codes.
*/
CHIPCARD_API
int LC_Crypt_Token_ResultToError(LC_CLIENT_RESULT res);
/*@}*/
/*@}*/ /* addtogroup */
#endif
|