sslcert2.xml 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <refentry id="refsslcert2">
  2. <refmeta>
  3. <refentrytitle>ne_ssl_cert_cmp</refentrytitle>
  4. <manvolnum>3</manvolnum>
  5. </refmeta>
  6. <refnamediv>
  7. <refname id="ne_ssl_cert_cmp">ne_ssl_cert_cmp</refname>
  8. <refname id="ne_ssl_cert_free">ne_ssl_cert_free</refname>
  9. <refpurpose>functions to operate on certificate objects</refpurpose>
  10. </refnamediv>
  11. <refsynopsisdiv>
  12. <funcsynopsis>
  13. <funcsynopsisinfo>#include &lt;ne_header.h&gt;</funcsynopsisinfo>
  14. <funcprototype>
  15. <funcdef>int <function>ne_ssl_cert_cmp</function></funcdef>
  16. <paramdef>const ne_ssl_certificate *<parameter>c1</parameter></paramdef>
  17. <paramdef>const ne_ssl_certificate *<parameter>c2</parameter></paramdef>
  18. </funcprototype>
  19. <funcprototype>
  20. <funcdef>void <function>ne_ssl_cert_free</function></funcdef>
  21. <paramdef>ne_ssl_certificate *<parameter>cert</parameter></paramdef>
  22. </funcprototype>
  23. </funcsynopsis>
  24. </refsynopsisdiv>
  25. <refsect1>
  26. <title>Description</title>
  27. <para>The <function>ne_ssl_cert_cmp</function> function can be
  28. used to compare two certificate objects; it returns zero if they
  29. refer to the same certificate, and non-zero otherwise.</para>
  30. <para>The <function>ne_ssl_cert_free</function> function can be
  31. used to destroy a certificate object when it is no longer
  32. needed.</para>
  33. </refsect1>
  34. </refentry>