NPKIGetTrustedRootInfo
Retrieves information about the specified trusted root (formerly NWPKIGetTrustedRootInfo).
#include "npki.h"
NWRCODE NPKIGetTrustedRootInfo(
const NPKIContext context,
nuint32 index,
unicode const **name,
unicode const **validFrom,
unicode const **validTo,
unicode const **subjectName,
nuit8 const **certificate,
pnuint32 certificateLen);
NOTE:index is 0 based.
Returns 0 if successful, or an eDirectory error code if not successful.
You must call NPKIFindTrustedRootsInContext successfully before calling NPKIGetTrustedRootInfo. Trusted Root containers and Trusted Root objects provide a method to logically group, manage and access X.509 root (or certificate authority) certificates within a directory service.