NE_SSL_DNAMESection: neon API reference (3)Updated: 5 July 2004 |
NE_SSL_DNAMESection: neon API reference (3)Updated: 5 July 2004 |
#include <ne_ssl.h>
The ne_ssl_readable_dname function creates a single-line, human-readable string out of an ne_ssl_dname object. The returned string is malloc()-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.
ne_ssl_readable_dname returns a malloc-allocated string, and never NULL.
See ne_ssl_cert_subject(3) for an example use of ne_ssl_readable_dname.