1NE_SSL_DNAME(3) neon API reference NE_SSL_DNAME(3)
2
3
4
6 ne_ssl_readable_dname, ne_ssl_dname_cmp - SSL distinguished name
7 handling
8
10 #include <ne_ssl.h>
11
12 const char *ne_ssl_readable_dname(const ne_ssl_dname *dname);
13
14 int ne_ssl_dname_cmp(const ne_ssl_dname *dn1, const ne_ssl_dname *dn2);
15
17 The ne_ssl_readable_dname function creates a single-line,
18 human-readable string out of an ne_ssl_dname object. The returned
19 string is malloc()-allocated, and must be free()d by the caller.
20
21 The ne_ssl_dname_cmp function compares two distinguished names, and
22 returns zero if they are equal, or non-zero otherwise.
23
25 ne_ssl_readable_dname returns a malloc-allocated string, and never
26 NULL.
27
29 See ne_ssl_cert_subject for an example use of ne_ssl_readable_dname.
30
32 ne_ssl_cert_subject
33
35 Joe Orton <neon@lists.manyfish.co.uk>
36 Author.
37
39neon 0.31.2 20 June 2020 NE_SSL_DNAME(3)