Skip to content

Latest commit

 

History

History
99 lines (70 loc) · 3.42 KB

nc-wincrypt-pfn_cert_store_prov_read_cert.md

File metadata and controls

99 lines (70 loc) · 3.42 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
NC:wincrypt.PFN_CERT_STORE_PROV_READ_CERT
PFN_CERT_STORE_PROV_READ_CERT (wincrypt.h)
An application-defined callback function that reads the provider's copy of the certificate context.
CertStoreProvReadCertCallback
PFN_CERT_STORE_PROV_READ_CERT
PFN_CERT_STORE_PROV_READ_CERT callback
PFN_CERT_STORE_PROV_READ_CERT callback function [Security]
_crypto2_certstoreprovreadcertcallback
security.certstoreprovreadcertcallback
wincrypt/PFN_CERT_STORE_PROV_READ_CERT
security\certstoreprovreadcertcallback.htm
security
9073f41e-19cd-46af-9e05-3f55607802c3
12/05/2018
CertStoreProvReadCertCallback, PFN_CERT_STORE_PROV_READ_CERT, PFN_CERT_STORE_PROV_READ_CERT callback, PFN_CERT_STORE_PROV_READ_CERT callback function [Security], _crypto2_certstoreprovreadcertcallback, security.certstoreprovreadcertcallback, wincrypt/PFN_CERT_STORE_PROV_READ_CERT
wincrypt.h
Windows
Windows XP [desktop apps only]
Windows Server 2003 [desktop apps only]
Windows
19H1
PFN_CERT_STORE_PROV_READ_CERT
wincrypt/PFN_CERT_STORE_PROV_READ_CERT
c++
APIRef
kbSyntax
UserDefined
Wincrypt.h
PFN_CERT_STORE_PROV_READ_CERT

PFN_CERT_STORE_PROV_READ_CERT callback function

-description

An application-defined callback function that reads the provider's copy of the certificate context. If one exists, a new certificate context is created. Currently not called directly by the certificate store functions. However, it might be exported to support other providers.

-parameters

-param hStoreProv [in]

Provider-specific value returned in CERT_STORE_PROV_INFO by CertDllOpenStoreProv.

-param pStoreCertContext [in]

A pointer to the CERT_CONTEXT of the certificate to be read.

-param dwFlags [in]

Reserved for future use and is set to zero.

-param ppProvCertContext [out]

A pointer to a pointer to provider's copy of the certificate context. The context will be freed by calling CertFreeCertificateContext.

-returns

Returns TRUE if the certificate was successfully read.

-see-also

CERT_CONTEXT

CERT_STORE_PROV_INFO

Callback Functions

CertDllOpenStoreProv

CertFreeCertificateContext