2 * defines the entry point for the cac card. Only used by cac.c anc
5 * This work is licensed under the terms of the GNU LGPL, version 2.1 or later.
6 * See the COPYING.LIB file in the top-level directory.
13 #define CAC_GET_PROPERTIES 0x56
14 #define CAC_GET_ACR 0x4c
15 #define CAC_READ_BUFFER 0x52
16 #define CAC_UPDATE_BUFFER 0x58
17 #define CAC_SIGN_DECRYPT 0x42
18 #define CAC_GET_CERTIFICATE 0x36
21 * Initialize the cac card. This is the only public function in this file. All
22 * the rest are connected through function pointers.
24 VCardStatus
cac_card_init(VReader
*reader
, VCard
*card
, const char *params
,
25 unsigned char * const *cert
, int cert_len
[],
26 VCardKey
*key
[] /* adopt the keys*/,
29 /* not yet implemented */
30 VCardStatus
cac_is_cac_card(VReader
*reader
);