NPKIUserCertInfo
Obtains information about a user certificate (formerly NWPKIUserCertInfo).
#include "npki.h"
NWRCODE NPKIUserCertInfo(
const NPKIContext context,
const nuint32 index,
unicode const **nickName,
pnuint32 certSize,
nuint8 const **cert,
pnuint32 certStatus,
pnuint32 certChainSize,
nuint8 const **certChain,
pnuint32 vendorID,
void *reserved1,
void *reserved2);
NOTE:index is 0 based.
Returns 0 if successful, or a PKI error code if not successful.
You must call either NPKICreateUserCertificate or NPKIFindUserCertificates successfully immediately before calling this function.