CertVerifyValidityNesting function
The CertVerifyValidityNesting function verifies that a subject certificate's time validity nests correctly within its issuer's time validity.
Syntax
BOOL WINAPI CertVerifyValidityNesting( _In_ PCERT_INFO pSubjectInfo, _In_ PCERT_INFO pIssuerInfo );
Parameters
- pSubjectInfo [in]
-
A pointer to the CERT_INFO structure of the subject certificate.
- pIssuerInfo [in]
-
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
|
Minimum supported client |
Windows XP [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2003 [desktop apps only] |
|
Header |
|
|
Library |
|
|
DLL |
|
See also