Export (0) Print
Expand All
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

CertVerifyTimeValidity

Windows CE 3.0

This function verifies the time validity of a certificate.

LONG WINAPI CertVerifyTimeValidity(
LPFILETIME pTimeToVerify,
PCERT_INFO pCertInfo
);

Parameters

pTimeToVerify
[in] Pointer to a FILETIME structure containing the comparison time. If NULL, the current time is used.
pCertInfo
[in] Pointer to the CERT_INFO structure of the certificate for which the time is being verified.

Return Values

Returns a minus one if the comparison time is before the NotBefore member of the CERT_INFO structure. Returns a plus one if the comparison time is after the NotAfter member. Returns zero for the valid time for the certificate.

Requirements

Runs on Versions Defined in Include Link to
Windows CE OS 3.0 or later Wincrypt.h   Crypt32.lib
Note   This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.

See Also

CertVerifyValidityNesting, CERT_INFO, FILETIME


 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.

Show:
© 2015 Microsoft