Share via


CertVerifyValidityNesting

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

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

Syntax

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 Value

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

Header wincrypt.h
Library crypt32.lib
Windows Embedded CE Windows CE 3.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

CertVerifyTimeValidity
CERT_INFO