NPKIT_x509BasicConstraintsInfo
Retrieves the details about the Basic Constraints extension, if the extension exists on the certificate (formerly NWx509BasicConstraintsInfo).
#include "NPKIT_x509.h"
NWRCODE NPKIT_x509BasicConstraintsInfo
(
NPKIT_x509Context context,
nuint8 const **cA,
nuint32 const **pathLenConstraint
);
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_x509BasicConstraintsInfo. The Basic Constraints extension is an optional extension. Therefore, not all certificates have Basic Constraints information.