Go to main content

man pages section 3: Library Interfaces and Headers

Exit Print View

Updated: Thursday, June 13, 2019
 
 

ne_ssl_dname_cmp (3)

Name

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

NE_SSL_DNAME(3)               neon API reference               NE_SSL_DNAME(3)



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.


ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       +---------------+------------------+
       |ATTRIBUTE TYPE | ATTRIBUTE VALUE  |
       +---------------+------------------+
       |Availability   | library/neon     |
       +---------------+------------------+
       |Stability      | Volatile         |
       +---------------+------------------+
SEE ALSO
       ne_ssl_cert_subject

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

COPYRIGHT
NOTES
       This software was built from source available at
       https://github.com/oracle/solaris-userland.  The original community
       source was downloaded from
       http://www.webdav.org/neon/neon-0.30.1.tar.gz

       Further information about this software can be found on the open source
       community website at http://www.webdav.org/neon/.



neon 0.30.1                    23 September 2014               NE_SSL_DNAME(3)