Process Hacker
verifyp.h
Go to the documentation of this file.
1 #ifndef _PH_VERIFYP_H
2 #define _PH_VERIFYP_H
3 
4 typedef struct _CATALOG_INFO
5 {
6  DWORD cbStruct;
7  WCHAR wszCatalogFile[MAX_PATH];
9 
11  DWORD dwSize;
12  HWND hwndParent;
13  DWORD dwFlags;
14  LPCTSTR szTitle;
15  CMSG_SIGNER_INFO *pSignerInfo;
16  HCRYPTMSG hMsg;
17  LPCSTR pszOID;
18  DWORD_PTR dwReserved;
19  DWORD cStores;
20  HCERTSTORE *rghStores;
22  LPCPROPSHEETPAGE rgPropSheetPages;
24 
26  HANDLE hFile,
27  DWORD *pcbHash,
28  BYTE *pbHash,
29  DWORD dwFlags
30  );
31 
33  HCATADMIN hCatAdmin,
34  HANDLE hFile,
35  DWORD *pcbHash,
36  BYTE *pbHash,
37  DWORD dwFlags
38  );
39 
41  HANDLE *phCatAdmin,
42  GUID *pgSubsystem,
43  DWORD dwFlags
44  );
45 
47  HCATADMIN *phCatAdmin,
48  const GUID *pgSubsystem,
49  PCWSTR pwszHashAlgorithm,
50  PCCERT_STRONG_SIGN_PARA pStrongHashPolicy,
51  DWORD dwFlags
52  );
53 
54 typedef HANDLE (WINAPI *_CryptCATAdminEnumCatalogFromHash)(
55  HANDLE hCatAdmin,
56  BYTE *pbHash,
57  DWORD cbHash,
58  DWORD dwFlags,
59  HANDLE *phPrevCatInfo
60  );
61 
63  HANDLE hCatInfo,
64  CATALOG_INFO *psCatInfo,
65  DWORD dwFlags
66  );
67 
69  HANDLE hCatAdmin,
70  HANDLE hCatInfo,
71  DWORD dwFlags
72  );
73 
75  HANDLE hCatAdmin,
76  DWORD dwFlags
77  );
78 
79 typedef PCRYPT_PROVIDER_DATA (WINAPI *_WTHelperProvDataFromStateData)(
80  HANDLE hStateData
81  );
82 
83 typedef PCRYPT_PROVIDER_SGNR (WINAPI *_WTHelperGetProvSignerFromChain)(
84  CRYPT_PROVIDER_DATA *pProvData,
85  DWORD idxSigner,
86  BOOL fCounterSigner,
87  DWORD idxCounterSigner
88  );
89 
90 typedef LONG (WINAPI *_WinVerifyTrust)(
91  HWND hWnd,
92  GUID *pgActionID,
93  LPVOID pWVTData
94  );
95 
96 typedef DWORD (WINAPI *_CertNameToStr)(
97  DWORD dwCertEncodingType,
98  PCERT_NAME_BLOB pName,
99  DWORD dwStrType,
100  LPTSTR psz,
101  DWORD csz
102  );
103 
104 typedef PCCERT_CONTEXT (WINAPI *_CertDuplicateCertificateContext)(
105  _In_ PCCERT_CONTEXT pCertContext
106  );
107 
109  _In_ PCCERT_CONTEXT pCertContext
110  );
111 
112 typedef BOOL (WINAPI *_CryptUIDlgViewSignerInfo)(
114  );
115 
116 #endif