Skip to content

Latest commit

 

History

History
71 lines (58 loc) · 2.91 KB

nf-wintrust-wthelpercertisselfsigned.md

File metadata and controls

71 lines (58 loc) · 2.91 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:wintrust.WTHelperCertIsSelfSigned
WTHelperCertIsSelfSigned function (wintrust.h)
Checks whether a certificate is self-signed.
WTHelperCertIsSelfSigned
WTHelperCertIsSelfSigned function [Security]
security.wthelpercertisselfsigned
wintrust/WTHelperCertIsSelfSigned
security\wthelpercertisselfsigned.htm
security
456b8c8c-6ca3-469a-a415-e72109696bf5
12/05/2018
WTHelperCertIsSelfSigned, WTHelperCertIsSelfSigned function [Security], security.wthelpercertisselfsigned, wintrust/WTHelperCertIsSelfSigned
wintrust.h
Windows
Windows XP [desktop apps only]
Windows Server 2003 [desktop apps only]
Wintrust.lib
Wintrust.dll
Windows
19H1
WTHelperCertIsSelfSigned
wintrust/WTHelperCertIsSelfSigned
c++
APIRef
kbSyntax
DllExport
Wintrust.dll
WTHelperCertIsSelfSigned

WTHelperCertIsSelfSigned function

-description

[The WTHelperCertIsSelfSigned 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.]

The WTHelperCertIsSelfSigned function checks whether a certificate is self-signed. This function has no associated import library. You must use the LoadLibrary and GetProcAddress functions to dynamically link to Wintrust.dll.

-parameters

-param dwEncoding [in]

A DWORD value that specifies the encoding types of the certificate to check. For information about possible encoding types, see Certificate and Message Encoding Types.

-param pCert [in]

A pointer to a CERT_INFO structure that contains information about the certificate to check.

-returns

If the function succeeds, the function returns TRUE.

If the function fails, it returns FALSE.