Gray C++ Libraries  0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
cWinCertStore.h
Go to the documentation of this file.
1 //
4 //
5 
6 #ifndef _INC_cWinCertStore_H
7 #define _INC_cWinCertStore_H
8 #ifndef NO_PRAGMA_ONCE
9 #pragma once
10 #endif
11 #include "cCertMgr.h"
12 
13 #ifdef _WIN32
14 #include <wincrypt.h>
15 
16 namespace GrayLib
17 {
18  class GRAYLIB_LINK cWinCertStore // public IX509VerifyCert
19  {
24 
25  private:
26  HCERTSTORE m_hCertStore;
27 
28  public:
29  cWinCertStore();
30  ~cWinCertStore();
31 
32  bool CloseStore(DWORD dwFlags = 0);
33  bool SetProperty(DWORD dwPropId, const void* pvData);
34 
35  UNITTEST_FRIEND(cWinCertStore);
36  };
37 }
38 #endif
39 #endif
#define GRAYLIB_LINK
Definition: GrayLibBase.h:35
#define UNITTEST_FRIEND(n)
Define this in the class body to be unit tested. Allow the unit test to access private/protected stuf...
Definition: cUnitTestDecl.h:17
Definition: cMesh.h:22