Query: ne_ssl_readable_dname
OS: opensolaris
Section: 3
Links: opensolaris man pages all man pages
Forums: forum home forum categories
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
NE_SSL_DNAME(3) neon API reference NE_SSL_DNAME(3)NAMEne_ssl_readable_dname, ne_ssl_dname_cmp - SSL distinguished name handlingSYNOPSIS#include <ne_ssl.h> const char *ne_ssl_readable_dname (const ne_ssl_dname *dname); int ne_ssl_dname_cmp (const ne_ssl_dname *dn1, const ne_ssl_dname *dn2);DESCRIPTIONThe ne_ssl_readable_dname function creates a single-line, human-readable string out of an ne_ssl_dname object. The returned string is mal- loc()-allocated, and must be free()d by the caller. The ne_ssl_dname_cmp function compares two distinguished names, and returns zero if they are equal, or non-zero otherwise.RETURN VALUEne_ssl_readable_dname returns a malloc-allocated string, and never NULL.EXAMPLESSee ne_ssl_cert_subject(3) for an example use of ne_ssl_readable_dname.SEE ALSOne_ssl_cert_subject(3)AUTHORJoe Orton <neon@webdav.org>.ATTRIBUTESSee attributes(5) for descriptions of the following attributes: +--------------------+-----------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +--------------------+-----------------+ |Availability | SUNWneon | +--------------------+-----------------+ |Interface Stability | Volatile | +--------------------+-----------------+NOTESSource for Neon is available on http://opensolaris.org. neon 0.25.5 20 January 2006 NE_SSL_DNAME(3)