This topic has not yet been rated - Rate this topic

WTHelperCertCheckValidSignature function

[The WTHelperCertCheckValidSignature function is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions. For certificate verification, use the CertGetCertificateChain and CertVerifyCertificateChainPolicy functions. For Microsoft Authenticode technology signature verification, use the .NET Framework.]

Applies to: desktop apps only

The WTHelperCertCheckValidSignature function checks whether a signature is valid. It can be used by trust providers to get an initial assessment of the validity of a signature before calling the function pointed to by the pfnFinalPolicy member of a CRYPT_PROVIDER_FUNCTIONS structure.

Syntax

HRESULT WINAPI WTHelperCertCheckValidSignature(
  CRYPT_PROVIDER_DATA *pProvData
);

Parameters

pProvData

A pointer to the CRYPT_PROVIDER_DATA structure that contains the signer and countersigner information.

Return value

If the function succeeds, the function returns S_OK.

If the function fails, it returns an HRESULT value that indicates the error. For a list of possible error values, see WinVerifyTrust.

Requirements

Minimum supported client

Windows Vista, Windows XP with SP2

Minimum supported server

Windows Server 2003

Header

Wintrust.h

Library

Wintrust.lib

DLL

Wintrust.dll

 

 

Send comments about this topic to Microsoft

Build date: 3/6/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ