blob: a2ee1f4beea142ab4de6752942f6999034724d39 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#ifndef DigiCryptH
#define DigiCryptH
#ifdef __cplusplus
extern "C" {
#endif
#include <windows.h>
#include <wincrypt.h>
#define dDigiCrypt_Okey 0
#define dDigiCrypt_Error_NotFoundCSP 1
#define dDigiCrypt_Error_UserCancel 2
#define dDigiCrypt_Error_NoDefaultKey 3
#define dDIgiCrypt_Error_NotFoundCert 4
PCCERT_CONTEXT DigiCrypt_FindContext(BOOL fByKeyContainer, DWORD *dwResult);
char *DigiCrypt_FindContext_GetCSPName(void);
char *DigiCrypt_FindContext_GetKeyName(void);
DWORD DigiCrypt_FindContext_GetCSPType(char *psCSPName);
void LOG(char *psMsgFmt, ...);
#ifdef __cplusplus
}
#endif
#endif
|