"Fossies" - the Fresh Open Source Software Archive

Member "neon-0.31.2/doc/man/ne_ssl_readable_dname.3" (20 Jun 2020, 2326 Bytes) of package /linux/www/neon-0.31.2.tar.gz:


Caution: As a special service "Fossies" has tried to format the requested manual source page into HTML format but links to other man pages may be missing or even erroneous. Alternatively you can here view or download the uninterpreted manual source code. A member file download can also be achieved by clicking within a package contents listing on the according byte size field. See also the latest Fossies "Diffs" side-by-side code changes report for "ne_ssl_readable_dname.3": 0.31.1_vs_0.31.2.

NE_SSL_DNAME

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUE
EXAMPLES
SEE ALSO
AUTHOR
COPYRIGHT

NAME

ne_ssl_readable_dname, ne_ssl_dname_cmp − 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 for an example use of ne_ssl_readable_dname.

SEE ALSO

ne_ssl_cert_subject

AUTHOR

Joe Orton <neon@lists.manyfish.co.uk>

Author.

COPYRIGHT