NPKIChainCertInfo
Obtains a pointer to the specified X.509 certificate in a certificate chain, and the size of the certificate (formerly NWPKIChainCertInfo).
#include "npki.h" NWRCODE NPKIChainCertInfo( const NPKIContext context, const nuint32 index, pnuint32 certSize, nuint8 const **cert, void *reserved1, void *reserved2);
NOTE:index is 0 based.
Returns 0 if successful, or an eDirectory or PKI error code if not successful.
A successful call to either NPKIGetCACertificates or NPKIGetServerCertificates must have been made before calling this function.