ne_ssl_readable_dname.3 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. '\" t
  2. .\" Title: ne_ssl_dname
  3. .\" Author:
  4. .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
  5. .\" Date: 21 January 2023
  6. .\" Manual: neon API reference
  7. .\" Source: neon 0.32.5
  8. .\" Language: English
  9. .\"
  10. .TH "NE_SSL_DNAME" "3" "21 January 2023" "neon 0.32.5" "neon API reference"
  11. .\" -----------------------------------------------------------------
  12. .\" * Define some portability stuff
  13. .\" -----------------------------------------------------------------
  14. .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  15. .\" http://bugs.debian.org/507673
  16. .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
  17. .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  18. .ie \n(.g .ds Aq \(aq
  19. .el .ds Aq '
  20. .\" -----------------------------------------------------------------
  21. .\" * set default formatting
  22. .\" -----------------------------------------------------------------
  23. .\" disable hyphenation
  24. .nh
  25. .\" disable justification (adjust text to left margin only)
  26. .ad l
  27. .\" -----------------------------------------------------------------
  28. .\" * MAIN CONTENT STARTS HERE *
  29. .\" -----------------------------------------------------------------
  30. .SH "NAME"
  31. ne_ssl_readable_dname, ne_ssl_dname_cmp \- SSL distinguished name handling
  32. .SH "SYNOPSIS"
  33. .sp
  34. .ft B
  35. .nf
  36. #include <ne_ssl\&.h>
  37. .fi
  38. .ft
  39. .HP \w'const\ char\ *ne_ssl_readable_dname('u
  40. .BI "const char *ne_ssl_readable_dname(const\ ne_ssl_dname\ *" "dname" ");"
  41. .HP \w'int\ ne_ssl_dname_cmp('u
  42. .BI "int ne_ssl_dname_cmp(const\ ne_ssl_dname\ *" "dn1" ", const\ ne_ssl_dname\ *" "dn2" ");"
  43. .SH "DESCRIPTION"
  44. .PP
  45. The
  46. \fBne_ssl_readable_dname\fR
  47. function creates a single\-line, human\-readable string out of an
  48. \fBne_ssl_dname\fR
  49. object\&. The returned string is
  50. \fBmalloc\fR()\-allocated, and must be
  51. \fBfree\fR()d by the caller\&.
  52. .PP
  53. The
  54. \fBne_ssl_dname_cmp\fR
  55. function compares two distinguished names, and returns zero if they are equal, or non\-zero otherwise\&.
  56. .SH "RETURN VALUE"
  57. .PP
  58. \fBne_ssl_readable_dname\fR
  59. returns a
  60. \fBmalloc\fR\-allocated string, and never
  61. NULL\&.
  62. .SH "EXAMPLES"
  63. .PP
  64. See
  65. ne_ssl_cert_subject
  66. for an example use of
  67. \fBne_ssl_readable_dname\fR\&.
  68. .SH "SEE ALSO"
  69. .PP
  70. ne_ssl_cert_subject
  71. .SH "AUTHOR"
  72. .PP
  73. \fBJoe Orton\fR
  74. .RS 4
  75. Author.
  76. .RE
  77. .SH "COPYRIGHT"
  78. .br