/[openpgpmdrv]/trunk/OpenPGPminidriverTest/global.h
ViewVC logotype

Annotation of /trunk/OpenPGPminidriverTest/global.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 10 - (hide annotations)
Mon Mar 15 18:23:17 2010 UTC (15 years, 1 month ago) by vletoux
File MIME type: text/plain
File size: 1564 byte(s)
first beta 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     extern PCARD_DATA pCardData;
19     DWORD Connect(BOOL fSystemDll);
20     DWORD Disconnect();
21 vletoux 8 DWORD Authenticate(PSTR wszPin, PWSTR wszUserId, PDWORD pcAttemptsRemaining);
22     DWORD ResetPin(PSTR wszPin, PSTR wszPin2, BOOL fIsPUK, PDWORD pcAttemptsRemaining);
23     DWORD ChangePin(PSTR szPin, PSTR szPin2, PWSTR wszUserId, PDWORD pcAttemptsRemaining);
24     DWORD ListFiles(HWND hWnd);
25     DWORD ViewFile(HWND hWnd);
26     DWORD ListContainer(HWND hWnd);
27     DWORD ViewCertificate(HWND hWnd, PTSTR szContainer, DWORD dwKeySpec);
28 vletoux 1 DWORD Sign(PTSTR szContainer, DWORD dwKeySpec);
29     DWORD Decrypt(PTSTR szContainer, DWORD dwKeySpec);
30     DWORD GenerateNewKey(DWORD dwIndex);
31 vletoux 3 DWORD ImportKey(DWORD dwIndex);
32 vletoux 5 DWORD SetTheSameKeyForAllContainers();
33 vletoux 10 DWORD SetReadOnly(BOOL fSet);
34 vletoux 3 #define OPENPGP_TEST_CONTAINER TEXT("Test_OPENPGPG")

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26