Expand Minimize
EN
Tätä sisältöä ei ole saatavilla kielelläsi. Tässä on englanninkielinen versio.

CertIsValidCRLForCertificate function

The CertIsValidCRLForCertificate function checks a CRL to find out if it is a CRL that would include a specific certificate if that certificate were revoked. If the CRL has an issuing distribution point (IDP) extension, the function checks whether that IDP is valid for the certificate being checked.

Syntax


BOOL WINAPI CertIsValidCRLForCertificate(
  _In_  PCCERT_CONTEXT pCert,
  _In_  PCCRL_CONTEXT pCRL,
  _In_  DWORD dwFlags,
  _In_  void *pvReserved
);

Parameters

pCert [in]

A pointer to a certificate context.

pCRL [in]

A pointer to a CRL. The function checks this CRL to determine whether it could contain the certificate context pointed to by pCert. The function does not look for the certificate in the CRL.

dwFlags [in]

Currently not used and must be set to zero.

pvReserved [in]

Currently not used and must be set to NULL.

Return value

The function returns TRUE if the CRL is a valid CRL to be searched for the specific certificate. It returns FALSE if the CRL is not a valid CRL for searching for the certificate.

Remarks

For the CRL to be valid for the certificate, the CertIsValidCRLForCertificate function does not require the CRL to be issued by the same certification authority (CA) as the issuer of the certificate.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Wincrypt.h

Library

Crypt32.lib

DLL

Crypt32.dll

 

 

Yhteisösisältö

Lisää
Näytä:
© 2014 Microsoft