CertVerifyCRLTimeValidity function
The CertVerifyCRLTimeValidity function verifies the time validity of a CRL.
Syntax
LONG WINAPI CertVerifyCRLTimeValidity( _In_ LPFILETIME pTimeToVerify, _In_ PCRL_INFO pCrlInfo );
Parameters
- pTimeToVerify [in]
-
A pointer to FILETIME structure containing the time to be used in the verification. If set to NULL, the current time is used.
- pCrlInfo [in]
-
A pointer to a CRL_INFO structure containing the CRL for which the time is to be verified.
Return value
Returns a minus one (–1) if the comparison time is before the ThisUpdate member of the CRL_INFO pointed to by pCrlInfo. Returns a plus one (+1) if the comparison time is after the NextUpdate time. Returns zero for valid time for the CRL.
Requirements
|
Minimum supported client |
Windows XP [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2003 [desktop apps only] |
|
Header |
|
|
Library |
|
|
DLL |
|
See also