PFN_CERT_STORE_PROV_SET_CERT_PROPERTY fonction de rappel (wincrypt.h)

Fonction de rappel définie par l’application appelée par CertSetCertificateContextProperty avant de définir la propriété du certificat. Elle est également appelée par CertGetCertificateContextProperty lors de l’obtention d’une propriété de hachage qui doit être créée, puis conservée via l’ensemble.

Lors de l’entrée, la propriété n’a pas été définie pour le paramètre pCertContext .

Syntaxe

PFN_CERT_STORE_PROV_SET_CERT_PROPERTY PfnCertStoreProvSetCertProperty;

BOOL PfnCertStoreProvSetCertProperty(
  [in] HCERTSTOREPROV hStoreProv,
  [in] PCCERT_CONTEXT pCertContext,
  [in] DWORD dwPropId,
  [in] DWORD dwFlags,
  [in] const void *pvData
)
{...}

Paramètres

[in] hStoreProv

Valeur spécifique au fournisseur retournée dans CERT_STORE_PROV_INFO par CertDllOpenStoreProv.

[in] pCertContext

Consultez CertSetCertificateContextProperty.

[in] dwPropId

Consultez CertSetCertificateContextProperty.

[in] dwFlags

Copie des dwFlags passée en tant que paramètre à CertSetCertificateContextProperty.

[in] pvData

Consultez CertSetCertificateContextProperty.

Valeur retournée

Retourne TRUE s’il est acceptable de définir la propriété.

Configuration requise

Condition requise Valeur
Client minimal pris en charge Windows XP [applications de bureau uniquement]
Serveur minimal pris en charge Windows Server 2003 [applications de bureau uniquement]
Plateforme cible Windows
En-tête wincrypt.h

Voir aussi

CERT_STORE_PROV_INFO

Fonctions de rappel

CertDllOpenStoreProv

CertGetCertificateContextProperty

CertSetCertificateContextProperty