CertVerifyValidityNesting function (wincrypt.h)
The CertVerifyValidityNesting function verifies that a subject certificate's time validity nests correctly within its issuer's time validity.
Syntax
BOOL CertVerifyValidityNesting(
[in] PCERT_INFO pSubjectInfo,
[in] PCERT_INFO pIssuerInfo
);
Parameters
[in] pSubjectInfo
A pointer to the CERT_INFO structure of the subject certificate.
[in] pIssuerInfo
A 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 subject's certificate is not after the NotAfter time of the issuer's certificate. Otherwise, returns FALSE.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | wincrypt.h |
Library | Crypt32.lib |
DLL | Crypt32.dll |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for