NPKIT_CRLReasonCodeInfo
Returns the CRL invalidity reason code associated with the CRL entry (formerly NWx509CRLReasonCodeInfo).
#include "NPKIT_x509.h" NWRCODE NPKIT_CRLReasonCodeInfo ( NPKIT_CRLContext context, pnuint32 reason );
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_CRLEntryInfo. The reason code retrieved in this call is for the entry specified in your call to NPKIT_CRLEntryInfo. The reason code is an optional extension. Therefore, not all CRL entries have an associated reason code.