4 * DESCRIPTION: ReactOS wintrust lib
5 * DATE : 25.08.2004 (My birthday!)
6 * AUTHOR : Semyon Novikov <tappak@freemail.ru>
8 * --------------------------------------------------------------------
9 * Copyright (c) 1998, 2004
10 * ReactOS developers team. All rights reserved.
12 * Redistribution and use in source and binary forms, with or without
13 * modification, are permitted provided that the following conditions
15 * 1. Redistributions of source code must retain the above copyright
16 * notice, this list of conditions and the following disclaimer.
17 * 2. Redistributions in binary form must reproduce the above copyright
18 * notice, this list of conditions and the following disclaimer in the
19 * documentation and/or other materials provided with the distribution.
20 * 3. All advertising materials mentioning features or use of this software
21 * must display the following acknowledgement:
22 * This product includes software developed by the ReactOS developers team
23 * 4. Neither the name of project nor the names of its developers
24 * may be used to endorse or promote products derived from this software
25 * without specific prior written permission.
27 * THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS OR
28 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
29 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
30 * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY DIRECT, INDIRECT,
31 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
32 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
33 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
34 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
35 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
36 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
39 typedef struct _CRYPT_TRUST_REG_ENTRY
44 WCHAR
* pwszFunctionName
;
45 } CRYPT_TRUST_REG_ENTRY
,*PCRYPT_TRUST_REG_ENTRY
;
47 typedef struct _WINTRUST_DATA
51 LPVOID pPolicyCallbackData
;
52 LPVOID pSIPClientData
;
54 DWORD fdwRevocationChecks
;
58 struct WINTRUST_SGNR_INFO_
* pSgnr
;
59 struct WINTRUST_CERT_INFO_
* pCert
;
60 struct WINTRUST_FILE_INFO_
* pFile
;
61 struct WINTRUST_CATALOG_INFO_
* pCatalog
;
62 struct WINTRUST_BLOB_INFO_
* pBlob
;
69 WCHAR
* pwszURLReference
;
71 } WINTRUST_DATA
,*PWINTRUST_DATA
;
73 typedef struct _CRYPT_REGISTER_ACTIONID
77 CRYPT_TRUST_REG_ENTRY sInitProvider
;
78 CRYPT_TRUST_REG_ENTRY sObjectProvider
;
79 CRYPT_TRUST_REG_ENTRY sSignatureProvider
;
80 CRYPT_TRUST_REG_ENTRY sCertificateProvider
;
81 CRYPT_TRUST_REG_ENTRY sCertificatePolicyProvider
;
82 CRYPT_TRUST_REG_ENTRY sFinalPolicyProvider
;
83 CRYPT_TRUST_REG_ENTRY sTestPolicyProvider
;
84 CRYPT_TRUST_REG_ENTRY sCleanupProvider
;
86 } CRYPT_REGISTER_ACTIONID
,*PCRYPT_REGISTER_ACTIONID
;