NPKICreateTrustedRootContainer

Creates a container where Trusted Root objects can be created (formerly NWPKICreateTrustedRootContainer).

Syntax

    #include "npki.h"
    
    NWRCODE NPKICreateTrustedRootContainer(
       const NPKIContext          context, 
       const unicode             *objectDN 
    );
    

Parameters

context
(IN) Specifies the NPKI context for the request.
objectDN
(IN) Specifies the eDirectory FDN of the Trusted Root container to be created.

Return Values

Returns 0 if successful or an eDirectory error code if not successful.

Remarks

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.

NOTE:For a sample implementation of this task, see CreateTrustedRootContainer.

See Also