NPKIT_x509IssuerAltName
Retrieves the specified Issuer Alternative Name and related information (formerly NWx509IssuerAltName).
#include "NPKIT_x509.h" NWRCODE NPKIT_x509IssuerAltName ( NPKIT_x509Context context, nuint32 index, nuint8 *type, nuint8 const **value, pnuint32 length, unicode const **name );
NOTE:This field is only set when the issuer alternative name is one of the following extension types:
For more details, see Section 4.3, General Name Type Extensions.
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_x509DecodeCertificate. You should call NPKIT_x509IssuerAltNamesInfo before calling this function to determine how many issuer alternative names are encoded in the certificate. For more details about issuer alternative names, see Section 4.3, General Name Type Extensions. The issuer alternative names extension is optional. Therefore, not all certificates have issuer alternative names.