NPKIT_CRLInvalidityDateInfo
Returns the invalidity date associated with the CRL (Certificate Revocation List) entry (formerly NWx509CRLInvalidityDateInfo).
#include "NPKIT_x509.h"
NWRCODE NPKIT_CRLInvalidityDateInfo
(
NPKIT_CRLContext context,
struct tm const **invalidityDate,
time_t const **invalidityDateTime
);
Returns 0 if successful or a PKI error code if not successful. For a listing of NPKIT error codes, see Certificate Server Error Code Constants.
Before calling this function, you must first successfully call NPKIT_CRLDecode followed by NPKIT_CRLEntryExtensionInfo. The invalidity date retrieved in this call is for the entry specified in your call to NPKIT_CRLEntryInfo. The invalidity date is an optional extension. Therefore, not all CRL entries will have an associated invalidity date.