Edit

Share via


wintrust.h header

This header is used by Security and Identity. For more information, see:

wintrust.h contains the following programming interfaces:

Functions

 
OpenPersonalTrustDBDialog

Displays the Certificates dialog box. (OpenPersonalTrustDBDialog)
OpenPersonalTrustDBDialogEx

Displays the Certificates dialog box. (OpenPersonalTrustDBDialogEx)
WintrustAddActionID

Adds a trust provider action to the user's system.
WintrustAddDefaultForUsage

Specifies the default usage identifier and callback information for a provider.
WintrustGetDefaultForUsage

Retrieves the default usage identifier and callback information.
WintrustGetRegPolicyFlags

Retrieves policy flags for a policy provider.
WintrustLoadFunctionPointers

Loads function entry points for a specified action GUID. This function has no associated import library.
WintrustRemoveActionID

Removes an action added by the WintrustAddActionID function. This function has no associated import library.
WintrustSetDefaultIncludePEPageHashes

Sets the default setting that determines whether page hashes are included when creating subject interface package (SIP) indirect data for PE files.
WintrustSetRegPolicyFlags

Sets policy flags for a policy provider.
WinVerifyTrust

Performs a trust verification action on a specified object.
WinVerifyTrustEx

Performs a trust verification action on a specified object and takes a pointer to a WINTRUST_DATA structure.
WTHelperCertCheckValidSignature

Checks whether a signature is valid.
WTHelperCertIsSelfSigned

Checks whether a certificate is self-signed.
WTHelperGetProvCertFromChain

Retrieves a trust provider certificate from the certificate chain.
WTHelperGetProvPrivateDataFromChain

Receives a CRYPT_PROVIDER_PRIVDATA structure from the chain by using the provider ID.
WTHelperGetProvSignerFromChain

Retrieves a signer or countersigner by index from the chain.
WTHelperProvDataFromStateData

Retrieves trust provider information from a specified handle.

Structures

 
CRYPT_PROVIDER_CERT

Provides information about a provider certificate.
CRYPT_PROVIDER_DATA

Used to pass data between WinVerifyTrust and trust providers.
CRYPT_PROVIDER_DEFUSAGE

Used by the WintrustGetDefaultForUsage function to retrieve callback information for a provider's default usage.
CRYPT_PROVIDER_FUNCTIONS

Defines the functions used by a cryptographic service provider (CSP) for WinTrust operations.
CRYPT_PROVIDER_PRIVDATA

Contains private data to be used by a provider.
CRYPT_PROVIDER_REGDEFUSAGE

Used by the WintrustAddDefaultForUsage function to register callback information about a provider's default usage.
CRYPT_PROVIDER_SGNR

Provides information about a signer or countersigner.
CRYPT_PROVIDER_SIGSTATE

Is used to communicate between policy providers and Wintrust.
CRYPT_PROVUI_DATA

Provides user interface (UI) data for a provider. This structure is used by the CRYPT_PROVUI_FUNCS structure.
CRYPT_PROVUI_FUNCS

Provides information about the user interface (UI) functions of a provider. This structure is used by the CRYPT_PROVIDER_FUNCTIONS structure.
CRYPT_REGISTER_ACTIONID

Provides information about the functions of a provider.
CRYPT_TRUST_REG_ENTRY

Identifies a provider function by DLL name and function name.
SPC_INDIRECT_DATA_CONTENT

Is used in Authenticode signatures to store the digest and other attributes of the signed file.
WIN_CERTIFICATE

This structure encapsulates a signature used in verifying executable files.
WINTRUST_BLOB_INFO

Used when calling WinVerifyTrust to verify a memory BLOB.
WINTRUST_CATALOG_INFO

The WINTRUST_CATALOG_INFO structure is used when calling WinVerifyTrust to verify a member of a Microsoft catalog.
WINTRUST_CERT_INFO

Used when calling WinVerifyTrust to verify a CERT_CONTEXT.
WINTRUST_DATA

Used when calling WinVerifyTrust to pass necessary information into the trust providers.
WINTRUST_FILE_INFO

The WINTRUST_FILE_INFO structure is used when calling WinVerifyTrust to verify an individual file.
WINTRUST_SGNR_INFO

Used when calling WinVerifyTrust to verify a CMSG_SIGNER_INFO structure.
WINTRUST_SIGNATURE_SETTINGS

Can be used to specify the signatures on a file.