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