Share via


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

OS Versions: Windows CE 3.0 and later.
Header: Wincrypt.h.
Link Library: Crypt32.lib.

See Also

CertVerifyTimeValidity | CERT_INFO

 Last updated on Thursday, April 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.