ne_ssl_readable_dname - Man Page

SSL distinguished name handling

Synopsis

#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);

Description

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.

Return Value

ne_ssl_readable_dname returns a malloc-allocated string, and never NULL.

Examples

See ne_ssl_cert_subject(3) for an example use of ne_ssl_readable_dname.

See Also

ne_ssl_cert_subject(3)

Referenced By

ne_ssl_cert_identity(3), ne_ssl_set_verify(3).

The man page ne_ssl_dname_cmp(3) is an alias of ne_ssl_readable_dname(3).

1 March 2026 neon 0.37.0 neon API reference