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
7       handling
8

SYNOPSIS

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

DESCRIPTION

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

RETURN VALUE

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

EXAMPLES

29       See ne_ssl_cert_subject for an example use of ne_ssl_readable_dname.
30

SEE ALSO

32       ne_ssl_cert_subject
33

AUTHOR

35       Joe Orton <neon@lists.manyfish.co.uk>
36           Author.
37
39neon 0.29.3                     11 January 2010                NE_SSL_DNAME(3)
Impressum