NPKIFindTrustedRootsInContext
Finds all of the Trusted Root objects within the specified Trusted Root container and returns the number found (formerly NWPKIFindTrustedRootsInContext).
#include "npki.h" NWRCODE NPKIFindTrustedRootsInContext( const NPKIContext context, const unicode *nameContextDN, pnuint32 numberOfTrustedRoots);
Returns 0 if successful or an eDirectory error code if not successful.
For each root found, a call to NPKIGetTrustedRootInfo can be made to retrieve the relevant information about the root.
Trusted Root containers along with Trusted Root objects provide a method of logically grouping, managing, and accessing X.509 root (or CA) certificates within a directory service.