CertVerifyValidityNesting

This function verifies that a subject certificate's time validity nests correctly within its issuer's time validity.

BOOL WINAPI CertVerifyValidityNesting(
PCERT_INFO pSubjectInfo,
PCERT_INFO pIssuerInfo
);

Parameters

  • pSubjectInfo
    [in] Pointer to the CERT_INFO structure of the subject certificate.
  • pIssuerInfo
    [in] Pointer to the CERT_INFO structure of the issuer certificate.

Return Values

Returns TRUE if the NotBefore time of the subject's certificate is after the NotBefore time of the issuer's certificate and the NotAfter time of the subjects certificate is not after the NotAfter time of the issuer's certificate. Otherwise, returns FALSE.

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

CertVerifyTimeValidity, CERT_INFO

 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.