PFN_CERT_STORE_PROV_WRITE_CRL回呼函式 (wincrypt.h)

應用程式定義的回呼函式,由 CertAddEncodedCRLToStoreCertAddCRLCoNtextToStoreCertAddSerializedElementToStore 呼叫,再新增至存放區。 除了編碼 的 CRL之外,新增的 pCrlCoNtext 可能也有屬性。

語法

PFN_CERT_STORE_PROV_WRITE_CRL PfnCertStoreProvWriteCrl;

BOOL PfnCertStoreProvWriteCrl(
  [in] HCERTSTOREPROV hStoreProv,
  [in] PCCRL_CONTEXT pCrlContext,
  [in] DWORD dwFlags
)
{...}

參數

[in] hStoreProv

CertDllOpenStoreProv傳回CERT_STORE_PROV_INFO中傳回的提供者特定值。

[in] pCrlContext

請參閱 CertAddCRLCoNtextToStore

[in] dwFlags

CERT_STORE_PROV_WRITE_ADD_FLAG用於指定下列將 CRL 新增至存放區的函式呼叫此函式時:

CertAddEncodedCRLToStore

CertAddCRLCoNtextToStore

CertAddSerializedElementToStore

傳回值

如果可以更新存放區,則傳回 TRUE

規格需求

   
最低支援的用戶端 Windows XP [僅限傳統型應用程式]
最低支援的伺服器 Windows Server 2003 [僅限傳統型應用程式]
目標平台 Windows
標頭 wincrypt.h

另請參閱

CERT_STORE_PROV_INFO

回呼函式

CertAddCRLCoNtextToStore

CertAddEncodedCRLToStore

CertAddSerializedElementToStore

CertDllOpenStoreProv