[Previous] [Next]

ldapu_issuer_certinfo()

Gets the handle on the internal structure representing an entry in the certmap.conf file. Call this function and the ldapu_certmap_info_attrval() function if you want to get the value of a setting for a CA in the certmap.conf file.

Syntax
NSAPI_PUBLIC 
int ldapu_issuer_certinfo (const char *issuerDN,
      void **certmap_info);
Parameters
This function has the following parameters:
Name Description
issuerDN
DN of the CA for whom the handle on internal structure is requested. If NULL, the handle to the default configuration information is returned.

certmap_info
Structure containing the entry for the specified CA from the certmap.conf file.

Pass this structure to the function ldapu_certmap_info_attrval() to get value for a particular configuration attribute (or a property).

Returns
Returns one of the following values:

Description
This function gets the internal structure containing the information read from the certmap.conf file. You can pass the handle of this structure to the ldapu_certmap_info_attrval() function to get information from a CA's entry in the certmap.conf file.

Do not free the certmap_info structure.

See Also
ldapu_certmap_info_attrval().


[Previous] [Next]


Copyright ⌐ 1997 Netscape Communications Corporation