Vanara.PInvoke.WinTrust 3.4.7

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Vanara.PInvoke.WinTrust --version 3.4.7                
NuGet\Install-Package Vanara.PInvoke.WinTrust -Version 3.4.7                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Vanara.PInvoke.WinTrust" Version="3.4.7" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Vanara.PInvoke.WinTrust --version 3.4.7                
#r "nuget: Vanara.PInvoke.WinTrust, 3.4.7"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Vanara.PInvoke.WinTrust as a Cake Addin
#addin nuget:?package=Vanara.PInvoke.WinTrust&version=3.4.7

// Install Vanara.PInvoke.WinTrust as a Cake Tool
#tool nuget:?package=Vanara.PInvoke.WinTrust&version=3.4.7                

Vanara

Vanara.PInvoke.WinTrust NuGet Package

Version Build status

PInvoke API (methods, structures and constants) imported from Windows WinTrust.dll.

What is Vanara?

Vanara is a community project that contains various .NET assemblies which have P/Invoke functions, interfaces, enums and structures from Windows libraries. Each assembly is associated with one or a few tightly related libraries.

Issues?

First check if it's already fixed by trying the AppVeyor build. If you're still running into problems, file an issue.

Included in Vanara.PInvoke.WinTrust

Functions Enumerations Structures
CryptCATAdminAcquireContext CryptCATAdminAcquireContext2 CryptCATAdminAddCatalog CryptCATAdminCalcHashFromFileHandle CryptCATAdminCalcHashFromFileHandle2 CryptCATAdminEnumCatalogFromHash CryptCATAdminReleaseCatalogContext CryptCATAdminReleaseContext CryptCATAdminRemoveCatalog CryptCATAdminResolveCatalogPath CryptCATCatalogInfoFromContext CryptCATCDFClose CryptCATCDFEnumCatAttributes CryptCATCDFOpen CryptCATClose CryptCATEnumerateAttr CryptCATEnumerateCatAttr CryptCATEnumerateMember CryptCATGetAttrInfo CryptCATGetMemberInfo CryptCATHandleFromStore CryptCATOpen CryptCATPersistStore CryptCATPutAttrInfo CryptCATPutCatAttrInfo CryptCATPutMemberInfo CryptCATStoreFromHandle CryptSIPAddProvider CryptSIPCreateIndirectData CryptSIPGetCaps CryptSIPGetSignedDataMsg CryptSIPLoad CryptSIPPutSignedDataMsg CryptSIPRemoveProvider CryptSIPRemoveSignedDataMsg CryptSIPRetrieveSubjectGuid CryptSIPRetrieveSubjectGuidForCatalogFile CryptSIPVerifyIndirectData IsCatalogFile OpenPersonalTrustDBDialog OpenPersonalTrustDBDialogEx WintrustAddActionID WintrustAddDefaultForUsage WintrustGetDefaultForUsage WintrustGetRegPolicyFlags WintrustLoadFunctionPointers WintrustRemoveActionID WintrustSetDefaultIncludePEPageHashes WintrustSetRegPolicyFlags WinVerifyTrust WinVerifyTrustEx WTHelperCertCheckValidSignature WTHelperCertFindIssuerCertificate WTHelperCertIsSelfSigned WTHelperGetFileHash WTHelperGetProvCertFromChain WTHelperGetProvPrivateDataFromChain WTHelperGetProvSignerFromChain WTHelperProvDataFromStateData CRYPTCAT_ATTR CRYPTCAT_E CRYPTCAT_OPEN CRYPTCAT_VERSION CCPI CertConfidence DWACTION WIN_CERT_TYPE WSS WSS_SUPPORT WT_TRUSTDBDIALOG WTD_CHOICE WTD_REVOKE WTD_STATEACTION WTD_TRUST WTD_UI WTD_UICONTEXT WTPF CATALOG_INFO CRYPTCATATTRIBUTE CRYPTCATCDF CRYPTCATMEMBER CRYPTCATSTORE HCATALOG HCATINFO MS_ADDINFO_BLOB MS_ADDINFO_CATALOGMEMBER MS_ADDINFO_FLAT SIP_ADD_NEWPROVIDER SIP_CAP_SET_V2 SIP_CAP_SET_V3 SIP_DISPATCH_INFO SIP_INDIRECT_DATA SIP_SUBJECTINFO CONFIG_CI_PROV_INFO CONFIG_CI_PROV_INFO_RESULT DRIVER_VER_INFO DRIVER_VER_MAJORMINOR WTD_GENERIC_CHAIN_POLICY_CREATE_INFO WTD_GENERIC_CHAIN_POLICY_DATA WTD_GENERIC_CHAIN_POLICY_SIGNER_INFO CRYPT_PROVIDER_CERT CRYPT_PROVIDER_DATA CRYPT_PROVIDER_DEFUSAGE CRYPT_PROVIDER_FUNCTIONS CRYPT_PROVIDER_PRIVDATA CRYPT_PROVIDER_REGDEFUSAGE CRYPT_PROVIDER_SGNR CRYPT_PROVIDER_SIGSTATE CRYPT_PROVUI_DATA CRYPT_PROVUI_FUNCS CRYPT_REGISTER_ACTIONID CRYPT_TRUST_REG_ENTRY HCATADMIN HCRYPTMSG SPC_INDIRECT_DATA_CONTENT WIN_CERTIFICATE WINTRUST_BLOB_INFO WINTRUST_CATALOG_INFO WINTRUST_CERT_INFO WINTRUST_FILE_INFO WINTRUST_SGNR_INFO WINTRUST_SIGNATURE_SETTINGS WINTRUST_DATA
Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 is compatible. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net45 is compatible.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 is compatible.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Vanara.PInvoke.WinTrust:

Package Downloads
Vanara.Library

The full set of packages associated with the Vanara PInvoke Libraries.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
4.0.4 16,933 9/13/2024
4.0.3 13,598 8/5/2024
4.0.2 6,012 6/24/2024
4.0.1 12,338 4/30/2024
4.0.0 10,347 3/29/2024
4.0.0-beta2 239 1/22/2024
4.0.0-beta 235 11/20/2023
3.4.17 31,292 10/18/2023
3.4.16 15,307 8/7/2023
3.4.15 15,643 5/18/2023
3.4.14 10,090 4/15/2023
3.4.13 13,525 2/4/2023
3.4.12 2,767 1/15/2023
3.4.11 2,857 11/15/2022
3.4.10 4,149 10/25/2022
3.4.9 2,989 10/3/2022
3.4.8 2,800 9/16/2022
3.4.7 2,229 9/3/2022
3.4.6 3,770 8/7/2022
3.4.5 2,233 7/17/2022
3.4.4 1,102 7/5/2022
3.4.3 4,123 6/14/2022
3.4.2 3,739 5/13/2022
3.4.1 2,362 5/5/2022
3.4.0 2,753 3/14/2022
3.3.15 853 12/27/2021
3.3.14 1,000 10/26/2021
3.3.13 891 9/30/2021
3.3.12 1,067 8/30/2021
3.3.11 6,947 7/22/2021
3.3.10 948 6/4/2021
3.3.9 885 5/7/2021
3.3.8 927 4/7/2021
3.3.7 915 3/24/2021
3.3.6 932 3/19/2021
3.3.5 877 3/1/2021
3.3.4 874 2/11/2021
3.3.3 840 2/3/2021
3.3.2 895 1/21/2021
3.3.1 931 1/20/2021
3.3.0 1,010 11/20/2020
3.2.21 918 11/13/2020
3.2.20 1,031 11/8/2020
3.2.19 969 10/23/2020
3.2.18 994 10/21/2020
3.2.17 1,095 9/20/2020
3.2.16 1,017 9/7/2020
3.2.15 1,057 8/30/2020
3.2.14 931 8/20/2020
3.2.13 1,073 7/27/2020
3.2.12 982 7/13/2020
3.2.11 1,067 6/28/2020
3.2.10 1,042 6/14/2020
3.2.9 1,043 6/3/2020
3.2.7 1,007 5/4/2020
3.2.6 963 4/21/2020
3.2.5 1,019 4/15/2020
3.2.4 1,023 4/12/2020
3.2.3 987 4/1/2020
3.2.2 930 3/24/2020
3.2.1 1,021 3/17/2020
3.2.0 1,254 2/27/2020
3.1.9 1,024 1/17/2020
3.1.8 1,062 1/13/2020
3.1.7 1,079 1/6/2020
3.1.6 1,097 12/12/2019
3.1.5 1,146 11/26/2019
3.1.4 1,033 11/25/2019
3.1.3 987 11/8/2019
3.1.2 1,026 11/4/2019
3.1.1 1,055 10/17/2019
3.1.0 1,043 10/3/2019
3.0.1 1,099 9/20/2019
3.0.0 903 8/27/2019
2.3.11 973 6/9/2019

Currently implements:

Functions
CryptCATAdminAcquireContext CryptCATAdminAcquireContext2 CryptCATAdminAddCatalog CryptCATAdminCalcHashFromFileHandle CryptCATAdminCalcHashFromFileHandle2 CryptCATAdminEnumCatalogFromHash CryptCATAdminReleaseCatalogContext CryptCATAdminReleaseContext CryptCATAdminRemoveCatalog CryptCATAdminResolveCatalogPath CryptCATCatalogInfoFromContext CryptCATCDFClose CryptCATCDFEnumCatAttributes CryptCATCDFOpen CryptCATClose CryptCATEnumerateAttr CryptCATEnumerateCatAttr CryptCATEnumerateMember CryptCATGetAttrInfo CryptCATGetMemberInfo CryptCATHandleFromStore CryptCATOpen CryptCATPersistStore CryptCATPutAttrInfo CryptCATPutCatAttrInfo CryptCATPutMemberInfo CryptCATStoreFromHandle CryptSIPAddProvider CryptSIPCreateIndirectData CryptSIPGetCaps CryptSIPGetSignedDataMsg CryptSIPLoad CryptSIPPutSignedDataMsg CryptSIPRemoveProvider CryptSIPRemoveSignedDataMsg CryptSIPRetrieveSubjectGuid CryptSIPRetrieveSubjectGuidForCatalogFile CryptSIPVerifyIndirectData IsCatalogFile OpenPersonalTrustDBDialog OpenPersonalTrustDBDialogEx WintrustAddActionID WintrustAddDefaultForUsage WintrustGetDefaultForUsage WintrustGetRegPolicyFlags WintrustLoadFunctionPointers WintrustRemoveActionID WintrustSetDefaultIncludePEPageHashes WintrustSetRegPolicyFlags WinVerifyTrust WinVerifyTrustEx WTHelperCertCheckValidSignature WTHelperCertFindIssuerCertificate WTHelperCertIsSelfSigned WTHelperGetFileHash WTHelperGetProvCertFromChain WTHelperGetProvPrivateDataFromChain WTHelperGetProvSignerFromChain WTHelperProvDataFromStateData

Structures
CATALOG_INFO CONFIG_CI_PROV_INFO CONFIG_CI_PROV_INFO_RESULT CRYPTCATATTRIBUTE CRYPTCATCDF CRYPTCATMEMBER CRYPTCATSTORE CRYPT_PROVIDER_CERT CRYPT_PROVIDER_DATA CRYPT_PROVIDER_DEFUSAGE CRYPT_PROVIDER_FUNCTIONS CRYPT_PROVIDER_PRIVDATA CRYPT_PROVIDER_REGDEFUSAGE CRYPT_PROVIDER_SGNR CRYPT_PROVIDER_SIGSTATE CRYPT_PROVUI_DATA CRYPT_PROVUI_FUNCS CRYPT_REGISTER_ACTIONID CRYPT_TRUST_REG_ENTRY DRIVER_VER_INFO DRIVER_VER_MAJORMINOR HCATADMIN HCATALOG HCATINFO HCRYPTMSG MS_ADDINFO_BLOB MS_ADDINFO_CATALOGMEMBER MS_ADDINFO_FLAT SIP_ADD_NEWPROVIDER SIP_CAP_SET_V2 SIP_CAP_SET_V3 SIP_DISPATCH_INFO SIP_INDIRECT_DATA SIP_SUBJECTINFO SPC_INDIRECT_DATA_CONTENT WINTRUST_BLOB_INFO WINTRUST_CATALOG_INFO WINTRUST_CERT_INFO WINTRUST_DATA WINTRUST_FILE_INFO WINTRUST_SGNR_INFO WINTRUST_SIGNATURE_SETTINGS WIN_CERTIFICATE WTD_GENERIC_CHAIN_POLICY_CREATE_INFO WTD_GENERIC_CHAIN_POLICY_DATA WTD_GENERIC_CHAIN_POLICY_SIGNER_INFO