NPKIT_CRLEntryExtensionInfo
Obtains the specified ASN.1 encoded extension for the CRL entry (formerly NWx509CRLEntryExtensionInfo).
#include "NPKIT_x509.h"
NWRCODE NPKIT_CRLEntryExtensionInfo
(
NPKIT_CRLContext context,
const nuint32 extensionIndex,
enum NPKIT_509Extension *type,
unicode const **OID,
pnbool8 critical,
pnuint32 valueLen,
nuint8 const **value
);
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 extension retrieved in this call is for the entry specified in your call to NPKIT_CRLEntryInfo.