CertFindCertificateInCRL function
The CertFindCertificateInCRL function searches the certificate revocation list (CRL) for the specified certificate.
Syntax
BOOL WINAPI CertFindCertificateInCRL(
_In_ PCCERT_CONTEXT pCert,
_In_ PCCRL_CONTEXT pCrlContext,
_In_ DWORD dwFlags,
_In_opt_ void *pvReserved,
_Out_ PCRL_ENTRY *ppCrlEntry
);
Parameters
- pCert [in]
-
A pointer to a CERT_CONTEXT of the certificate to be searched for in the CRL.
- pCrlContext [in]
-
A pointer to the CRL_CONTEXT to be searched.
- dwFlags [in]
-
Reserved for future use. Must be set to zero.
- pvReserved [in, optional]
-
Reserved for future use. Must be set to zero.
- ppCrlEntry [out]
-
If the certificate is found in the CRL, this pointer is updated with a pointer to the entry. Otherwise, it is set to NULL. The returned entry is not allocated and must not be freed.
Return value
TRUE if the list was searched; otherwise FALSE.
Requirements
|
Minimum supported client |
Windows XP [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
Windows Server 2003 [desktop apps | Windows Store apps] |
|
Header |
|
|
Library |
|
|
DLL |
|