NPKIT_x509CRLDistributionPointsInfo

Obtains the number of CRL distribution points encoded in the certificate (formerly NWx509CRLDistributionPointsInfo).

Syntax

   #include "NPKIT_x509.h"
   
   NWRCODE NPKIT_x509CRLDistributionPointsInfo
   (
      NPKIT_x509Context    context,
      pnuint32             numCRLDistributionPoints
   );
   

Parameters

context
(IN) Specifies the NPKIT_x509 context handle for the request. This is a nuint32 value.
numCRLDistributionPoints
(OUT) Specifies the number of CRL distribution points encoded in the certificate.

Return Values

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.

Remarks

Before calling this function, you must first successfully call NPKIT_x509DecodeCertificate. The CRL distribution points extension is an optional extension. Therefore, not all certificates have CRL distribution points information.

See Also

NPKIT_x509CRLDistributionPoint, NPKIT_x509DecodeCertificate