/[openpgpmdrv]/trunk/OpenPGPminidriver/PublicDataOperations.h
ViewVC logotype

Contents of /trunk/OpenPGPminidriver/PublicDataOperations.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 12 - (show annotations)
Wed Mar 31 08:58:46 2010 UTC (15 years, 1 month ago) by vletoux
File MIME type: text/plain
File size: 2433 byte(s)
first msi Release
1 /* OpenPGP Smart Card Mini Driver
2 Copyright (C) 2009 Vincent Le Toux
3
4 This library is Free software; you can redistribute it and/or
5 modify it under the terms of the GNU Lesser General Public
6 License version 2.1 as published by the Free Software Foundation.
7
8 This library is distributed in the hope that it will be useful,
9 but WITHOUT ANY WARRANTY; without even the implied warranty of
10 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 Lesser General Public License for more details.
12
13 You should have received a copy of the GNU Lesser General Public
14 License along with this library; if not, write to the Free Software
15 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
16 */
17
18 // max len = 8 bytes
19 #define szOpenPGPDir "openpgp"
20 #define szOpenPGPFingerprint "fingerpr"
21 #define szOpenPGPStatus "status"
22 #define szOpenPGPStatusPW1 "statusP1"
23 #define szOpenPGPApplicationIdentifier "aid"
24 #define szOpenPGPLogin "logindat"
25 #define szOpenPGPName "name"
26 #define szOpenPGPLanguage "language"
27 #define szOpenPGPSex "sex"
28 #define szOpenPGPUrl "url"
29 #define szOpenPGPHistoricalBytes "histo"
30 #define szOpenPGPCertificate "certific"
31 #define szOpenPGPExtendedCap "extcapab"
32 #define szOpenPGPAlgoAttributesSignature "algsign"
33 #define szOpenPGPAlgoAttributesDecryption "algcryp"
34 #define szOpenPGPAlgoAttributesAuthentication "algauth"
35 #define szOpenPGPPUK "puk"
36 #define szOpenPGPSecureMessaging "sm"
37 #define szOpenPGPSecureMessagingCryptographicCheksum "smmac"
38 #define szOpenPGPSecureMessagingCryptogram "smenc"
39
40
41 DWORD OCardReadFile(__in PCARD_DATA pCardData,
42 __in_opt PSTR szDirectory, __in PSTR file,
43 __in PBYTE* pbResponse, __in PDWORD pdwResponseSize);
44
45 DWORD OCardEnumFile(__in PCARD_DATA pCardData,
46 __in_opt PSTR szDirectory,
47 __in PBYTE* pbResponse, __in PDWORD pdwResponseSize);
48
49 DWORD OCardGetFileInfo(__in PCARD_DATA pCardData,
50 __in_opt PSTR szDirectory, __in PSTR szFile,
51 __inout PCARD_FILE_INFO pCardFileInfo);
52
53 DWORD OCardWriteFile(__in PCARD_DATA pCardData,
54 __in_opt PSTR szDirectory, __in PSTR szFile,
55 __in PBYTE pbData, __in DWORD dwSize);
56
57 DWORD OCardDeleteFile(__in PCARD_DATA pCardData,
58 __in_opt PSTR szDirectory, __in PSTR szFile);
59
60 DWORD OCardCreateFile(__in PCARD_DATA pCardData,
61 __in_opt PSTR szDirectory, __in PSTR szFile);

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26