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

Annotation of /trunk/OpenPGPminidriver/PublicDataOperations.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 8 - (hide annotations)
Thu Mar 11 20:32:26 2010 UTC (15 years, 1 month ago) by vletoux
File MIME type: text/plain
File size: 2241 byte(s)
improvement of the quality of the project.
More test for the qualification of the driver success but not all ...

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     #define szOpenPGPApplicationIdentifier "aid"
23     #define szOpenPGPLogin "logindat"
24     #define szOpenPGPName "name"
25     #define szOpenPGPLanguage "language"
26     #define szOpenPGPSex "sex"
27     #define szOpenPGPUrl "url"
28     #define szOpenPGPHistoricalBytes "histo"
29     #define szOpenPGPCertificate "certific"
30     #define szOpenPGPExtendedCap "extcapab"
31     #define szOpenPGPAlgoAttributesSignature "algsign"
32     #define szOpenPGPAlgoAttributesDecryption "algcryp"
33     #define szOpenPGPAlgoAttributesAuthentication "algauth"
34 vletoux 8 #define szOpenPGPPUK "puk"
35 vletoux 1
36    
37 vletoux 8 DWORD OCardReadFile(__in PCARD_DATA pCardData,
38 vletoux 1 __in_opt PSTR szDirectory, __in PSTR file,
39 vletoux 6 __in PBYTE* pbResponse, __in PDWORD pdwResponseSize);
40 vletoux 1
41 vletoux 8 DWORD OCardEnumFile(__in PCARD_DATA pCardData,
42 vletoux 1 __in_opt PSTR szDirectory,
43     __in PBYTE* pbResponse, __in PDWORD pdwResponseSize);
44    
45 vletoux 8 DWORD OCardGetFileInfo(__in PCARD_DATA pCardData,
46 vletoux 1 __in_opt PSTR szDirectory, __in PSTR szFile,
47     __inout PCARD_FILE_INFO pCardFileInfo);
48    
49 vletoux 8 DWORD OCardWriteFile(__in PCARD_DATA pCardData,
50 vletoux 1 __in_opt PSTR szDirectory, __in PSTR szFile,
51     __in PBYTE pbData, __in DWORD dwSize);
52    
53 vletoux 8 DWORD OCardDeleteFile(__in PCARD_DATA pCardData,
54 vletoux 1 __in_opt PSTR szDirectory, __in PSTR szFile);
55    
56 vletoux 8 DWORD OCardCreateFile(__in PCARD_DATA pCardData,
57 vletoux 1 __in_opt PSTR szDirectory, __in PSTR szFile);

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26