NPKIT_CRLEntryInfo
Obtains information about a revoked certificate.
#include "NPKIT_x509.h" NWRCODE NPKIT_CRLEntryInfo ( NPKIT_CRLContext context, const nuint32 index, nuint8 const **serialNumber, pnuint32 serialNumberLen, struct tm const **revocationDate, time_t const **revocationTime, pnuint32 numberOfCRLEntryExtensions );
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.
Returns the serial number, length of the serial number, the date and the time the certificate was revoked for the index specified. A successful call to NPKIT_CRLDecode must be made prior to making this call. Subsequent calls to NPKIT_CRLEntryExtensionInfo can be made to retrieve the CRL entry extension information for each of the CRL entry extensions identified in numberOfCRLEntryExtensions.