ReactOS 0.4.16-dev-329-g9223134
mssign32_private.h
Go to the documentation of this file.
1/*
2 * Copyright 2019 Gijs Vermeulen
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 as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
8 *
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
13 *
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
17 */
18
19#include "windef.h"
20#include "winbase.h"
21#include "wincrypt.h"
22
23#define SPC_EXC_PE_PAGE_HASHES_FLAG 0x10
24#define SPC_INC_PE_IMPORT_ADDR_TABLE_FLAG 0x20
25#define SPC_INC_PE_DEBUG_INFO_FLAG 0x40
26#define SPC_INC_PE_RESOURCES_FLAG 0x80
27#define SPC_INC_PE_PAGE_HASHES_FLAG 0x100
28
29#define SIGNER_CERT_SPC_FILE 1
30#define SIGNER_CERT_STORE 2
31#define SIGNER_CERT_SPC_CHAIN 3
32
33#define SIGNER_CERT_POLICY_STORE 0x1
34#define SIGNER_CERT_POLICY_CHAIN 0x2
35#define SIGNER_CERT_POLICY_CHAIN_NO_ROOT 0x8
36
37#define SIGNER_NO_ATTR 0
38#define SIGNER_AUTHCODE_ATTR 1
39
40typedef struct _SIGNER_CONTEXT {
45
46typedef struct _SIGNER_FILE_INFO {
51
52typedef struct _SIGNER_BLOB_INFO {
59
60typedef struct _SIGNER_SUBJECT_INFO {
64 union {
67 };
69
76
77typedef struct _SIGNER_SPC_CHAIN_INFO {
83
84typedef struct _SIGNER_CERT {
87 union {
91 };
94
95typedef struct _SIGNER_ATTR_AUTHCODE {
102
107 union {
109 };
113
114typedef struct _SIGNER_PROVIDER_INFO {
120 union {
123 };
unsigned int BOOL
Definition: ntddk_ex.h:94
unsigned long DWORD
Definition: ntddk_ex.h:95
struct _SIGNER_ATTR_AUTHCODE * PSIGNER_ATTR_AUTHCODE
struct _SIGNER_BLOB_INFO SIGNER_BLOB_INFO
struct _SIGNER_SUBJECT_INFO SIGNER_SUBJECT_INFO
struct _SIGNER_BLOB_INFO * PSIGNER_BLOB_INFO
struct _SIGNER_PROVIDER_INFO * PSIGNER_PROVIDER_INFO
struct _SIGNER_SIGNATURE_INFO * PSIGNER_SIGNATURE_INFO
struct _SIGNER_SPC_CHAIN_INFO SIGNER_SPC_CHAIN_INFO
struct _SIGNER_FILE_INFO SIGNER_FILE_INFO
struct _SIGNER_CONTEXT * PSIGNER_CONTEXT
struct _SIGNER_CERT SIGNER_CERT
struct _SIGNER_SUBJECT_INFO * PSIGNER_SUBJECT_INFO
struct _SIGNER_CERT_STORE_INFO * PSIGNER_CERT_STORE_INFO
struct _SIGNER_ATTR_AUTHCODE SIGNER_ATTR_AUTHCODE
struct _SIGNER_FILE_INFO * PSIGNER_FILE_INFO
struct _SIGNER_SPC_CHAIN_INFO * PSIGNER_SPC_CHAIN_INFO
struct _SIGNER_CONTEXT SIGNER_CONTEXT
struct _SIGNER_CERT * PSIGNER_CERT
struct _SIGNER_PROVIDER_INFO SIGNER_PROVIDER_INFO
struct _SIGNER_CERT_STORE_INFO SIGNER_CERT_STORE_INFO
struct _SIGNER_SIGNATURE_INFO SIGNER_SIGNATURE_INFO
const WCHAR * pwszDisplayName
const CERT_CONTEXT * pSigningCert
SIGNER_SPC_CHAIN_INFO * pSpcChainInfo
const WCHAR * pwszSpcFile
SIGNER_CERT_STORE_INFO * pCertStoreInfo
const WCHAR * pwszFileName
const WCHAR * pwszProviderName
CRYPT_ATTRIBUTES * psUnauthenticated
SIGNER_ATTR_AUTHCODE * pAttrAuthcode
CRYPT_ATTRIBUTES * psAuthenticated
SIGNER_FILE_INFO * pSignerFileInfo
SIGNER_BLOB_INFO * pSignerBlobInfo
unsigned int ALG_ID
Definition: wincrypt.h:45
__wchar_t WCHAR
Definition: xmlstorage.h:180
unsigned char BYTE
Definition: xxhash.c:193