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

Annotation of /trunk/OpenPGPminidriver/PublicDataOperations.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 11 - (hide annotations)
Thu Mar 18 16:03:39 2010 UTC (15 years, 1 month ago) by vletoux
File MIME type: text/plain
File size: 2280 byte(s)
first working & stable version
1 vletoux 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 vletoux 11 #define szOpenPGPStatusPW1 "statusP1"
23 vletoux 1 #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 vletoux 8 #define szOpenPGPPUK "puk"
36 vletoux 1
37    
38 vletoux 8 DWORD OCardReadFile(__in PCARD_DATA pCardData,
39 vletoux 1 __in_opt PSTR szDirectory, __in PSTR file,
40 vletoux 6 __in PBYTE* pbResponse, __in PDWORD pdwResponseSize);
41 vletoux 1
42 vletoux 8 DWORD OCardEnumFile(__in PCARD_DATA pCardData,
43 vletoux 1 __in_opt PSTR szDirectory,
44     __in PBYTE* pbResponse, __in PDWORD pdwResponseSize);
45    
46 vletoux 8 DWORD OCardGetFileInfo(__in PCARD_DATA pCardData,
47 vletoux 1 __in_opt PSTR szDirectory, __in PSTR szFile,
48     __inout PCARD_FILE_INFO pCardFileInfo);
49    
50 vletoux 8 DWORD OCardWriteFile(__in PCARD_DATA pCardData,
51 vletoux 1 __in_opt PSTR szDirectory, __in PSTR szFile,
52     __in PBYTE pbData, __in DWORD dwSize);
53    
54 vletoux 8 DWORD OCardDeleteFile(__in PCARD_DATA pCardData,
55 vletoux 1 __in_opt PSTR szDirectory, __in PSTR szFile);
56    
57 vletoux 8 DWORD OCardCreateFile(__in PCARD_DATA pCardData,
58 vletoux 1 __in_opt PSTR szDirectory, __in PSTR szFile);

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26