1NE_SSL_DNAME(3)               neon API reference               NE_SSL_DNAME(3)
2
3
4

NAME

6       ne_ssl_readable_dname,  ne_ssl_dname_cmp  - SSL distinguished name han‐
7       dling
8

SYNOPSIS

10       #include <ne_ssl.h>
11
12
13       const char *ne_ssl_readable_dname (const ne_ssl_dname *dname);
14
15       int ne_ssl_dname_cmp (const ne_ssl_dname *dn1,
16                             const ne_ssl_dname *dn2);
17
18

DESCRIPTION

20       The  ne_ssl_readable_dname  function creates a single-line, human-read‐
21       able string out of an ne_ssl_dname object. The returned string is  mal‐
22       loc()-allocated, and must be free()d by the caller.
23
24
25       The ne_ssl_dname_cmp function compares two distinguished names, and re‐
26       turns zero if they are equal, or non-zero otherwise.
27
28

RETURN VALUE

30       ne_ssl_readable_dname returns  a  malloc-allocated  string,  and  never
31       NULL.
32
33

EXAMPLES

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

SEE ALSO

39       ne_ssl_cert_subject(3)
40
41

AUTHOR

43       Joe Orton <neon@webdav.org>.
44
45
46
47neon 0.25.5                     20 January 2006                NE_SSL_DNAME(3)
Impressum