wintrust: Add missing definitions.
This commit is contained in:
parent
eda48d8868
commit
3db50276ab
|
@ -136,6 +136,7 @@ typedef struct _WINTRUST_DATA
|
||||||
#define WTD_HASH_ONLY_FLAG 0x00000200
|
#define WTD_HASH_ONLY_FLAG 0x00000200
|
||||||
#define WTD_USE_DEFAULT_OSVER_CHECK 0x00000400
|
#define WTD_USE_DEFAULT_OSVER_CHECK 0x00000400
|
||||||
#define WTD_LIFETIME_SIGNING_FLAG 0x00000800
|
#define WTD_LIFETIME_SIGNING_FLAG 0x00000800
|
||||||
|
#define WTD_CACHE_ONLY_URL_RETRIEVAL 0x00001000
|
||||||
|
|
||||||
#define WTD_UICONTEXT_EXECUTE 0
|
#define WTD_UICONTEXT_EXECUTE 0
|
||||||
#define WTD_UICONTEXT_INSTALL 1
|
#define WTD_UICONTEXT_INSTALL 1
|
||||||
|
@ -199,6 +200,13 @@ typedef struct _CRYPT_PROVIDER_CERT {
|
||||||
PCERT_CHAIN_ELEMENT pChainElement;
|
PCERT_CHAIN_ELEMENT pChainElement;
|
||||||
} CRYPT_PROVIDER_CERT, *PCRYPT_PROVIDER_CERT;
|
} CRYPT_PROVIDER_CERT, *PCRYPT_PROVIDER_CERT;
|
||||||
|
|
||||||
|
#define CERT_CONFIDENCE_SIG 0x10000000
|
||||||
|
#define CERT_CONFIDENCE_TIME 0x01000000
|
||||||
|
#define CERT_CONFIDENCE_TIMENEST 0x00100000
|
||||||
|
#define CERT_CONFIDENCE_AUTHIDEXT 0x00010000
|
||||||
|
#define CERT_CONFIDENCE_HYGIENE 0x00001000
|
||||||
|
#define CERT_CONFIDENCE_HIGHEST 0x11111000
|
||||||
|
|
||||||
typedef struct _CRYPT_PROVIDER_SGNR {
|
typedef struct _CRYPT_PROVIDER_SGNR {
|
||||||
DWORD cbStruct;
|
DWORD cbStruct;
|
||||||
FILETIME sftVerifyAsOf;
|
FILETIME sftVerifyAsOf;
|
||||||
|
@ -212,6 +220,8 @@ typedef struct _CRYPT_PROVIDER_SGNR {
|
||||||
PCCERT_CHAIN_CONTEXT pChainContext;
|
PCCERT_CHAIN_CONTEXT pChainContext;
|
||||||
} CRYPT_PROVIDER_SGNR, *PCRYPT_PROVIDER_SGNR;
|
} CRYPT_PROVIDER_SGNR, *PCRYPT_PROVIDER_SGNR;
|
||||||
|
|
||||||
|
#define SGNR_TYPE_TIMESTAMP 0x00000010
|
||||||
|
|
||||||
typedef struct _CRYPT_PROVIDER_PRIVDATA {
|
typedef struct _CRYPT_PROVIDER_PRIVDATA {
|
||||||
DWORD cbStruct;
|
DWORD cbStruct;
|
||||||
GUID gProviderID;
|
GUID gProviderID;
|
||||||
|
@ -346,6 +356,19 @@ typedef struct _CRYPT_PROVIDER_DATA {
|
||||||
DWORD dwUIStateFlags;
|
DWORD dwUIStateFlags;
|
||||||
} CRYPT_PROVIDER_DATA, *PCRYPT_PROVIDER_DATA;
|
} CRYPT_PROVIDER_DATA, *PCRYPT_PROVIDER_DATA;
|
||||||
|
|
||||||
|
#define CPD_CHOICE_SIP 1
|
||||||
|
|
||||||
|
#define CPD_USE_NT5_CHAIN_FLAG 0x80000000
|
||||||
|
#define CPD_REVOCATION_CHECK_NONE 0x00010000
|
||||||
|
#define CPD_REVOCATION_CHECK_END_CERT 0x00020000
|
||||||
|
#define CPD_REVOCATION_CHECK_CHAIN 0x00040000
|
||||||
|
#define CPD_REVOCATION_CHECK_CHAIN_EXCLUDE_ROOT 0x00080000
|
||||||
|
|
||||||
|
#define CPD_UISTATE_MODE_PROMPT 0x00000000
|
||||||
|
#define CPD_UISTATE_MODE_BLOCK 0x00000001
|
||||||
|
#define CPD_UISTATE_MODE_ALLOW 0x00000002
|
||||||
|
#define CPD_UISTATE_MODE_MASK 0x00000003
|
||||||
|
|
||||||
typedef BOOL (*PFN_PROVUI_CALL)(HWND hWndSecurityDialog,
|
typedef BOOL (*PFN_PROVUI_CALL)(HWND hWndSecurityDialog,
|
||||||
struct _CRYPT_PROVIDER_DATA *pProvData);
|
struct _CRYPT_PROVIDER_DATA *pProvData);
|
||||||
|
|
||||||
|
@ -552,6 +575,36 @@ typedef struct _WIN_CERTIFICATE {
|
||||||
#define WIN_CERT_TYPE_RESERVED_1 0x0003 /* Reserved */
|
#define WIN_CERT_TYPE_RESERVED_1 0x0003 /* Reserved */
|
||||||
#define WIN_CERT_TYPE_TS_STACK_SIGNED 0x0004
|
#define WIN_CERT_TYPE_TS_STACK_SIGNED 0x0004
|
||||||
|
|
||||||
|
typedef LPVOID WIN_TRUST_SUBJECT;
|
||||||
|
|
||||||
|
typedef struct _WIN_TRUST_ACTDATA_CONTEXT_WITH_SUBJECT
|
||||||
|
{
|
||||||
|
HANDLE hClientToken;
|
||||||
|
GUID *SubjectType;
|
||||||
|
WIN_TRUST_SUBJECT Subject;
|
||||||
|
} WIN_TRUST_ACTDATA_CONTEXT_WITH_SUBJECT,
|
||||||
|
*LPWIN_TRUST_ACTDATA_CONTEXT_WITH_SUBJECT;
|
||||||
|
|
||||||
|
typedef struct _WIN_TRUST_ACTDATA_CONTEXT_SUBJECT_ONLY
|
||||||
|
{
|
||||||
|
GUID *SubjectType;
|
||||||
|
WIN_TRUST_SUBJECT Subject;
|
||||||
|
} WIN_TRUST_ACTDATA_CONTEXT_SUBJECT_ONLY,
|
||||||
|
*LPWIN_TRUST_ACTDATA_CONTEXT_SUBJECT_ONLY;
|
||||||
|
|
||||||
|
typedef struct _WIN_TRUST_SUBJECT_FILE
|
||||||
|
{
|
||||||
|
HANDLE hFile;
|
||||||
|
LPCWSTR lpPath;
|
||||||
|
} WIN_TRUST_SUBJECT_FILE, *LPWIN_TRUST_SUBJECT_FILE;
|
||||||
|
|
||||||
|
typedef struct _WIN_TRUST_SUBJECT_FILE_AND_DISPLAY
|
||||||
|
{
|
||||||
|
HANDLE hFile;
|
||||||
|
LPCWSTR lpPath;
|
||||||
|
LPCWSTR lpDisplayName;
|
||||||
|
} WIN_TRUST_SUBJECT_FILE_AND_DISPLAY, *LPWIN_TRUST_SUBJECT_FILE_AND_DISPLAY;
|
||||||
|
|
||||||
#define WIN_SPUB_ACTION_PUBLISHED_SOFTWARE \
|
#define WIN_SPUB_ACTION_PUBLISHED_SOFTWARE \
|
||||||
{ 0x64b9d180, 0x8da2, 0x11cf, { 0x87,0x36,0x00,0xaa,0x00,0xa4,0x85,0xeb }}
|
{ 0x64b9d180, 0x8da2, 0x11cf, { 0x87,0x36,0x00,0xaa,0x00,0xa4,0x85,0xeb }}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue