This file is indexed.

/usr/share/gtk-doc/html/libinfgtk-0.5/InfGtkCertificateManager.html is in libinfinity-0.5-doc 0.5.5-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>InfGtkCertificateManager</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="libinfgtk-0.5 Reference Manual">
<link rel="up" href="ch01.html" title="libinfgtk API">
<link rel="prev" href="InfGtkBrowserModelSort.html" title="InfGtkBrowserModelSort">
<link rel="next" href="InfGtkCertificateDialog.html" title="InfGtkCertificateDialog">
<meta name="generator" content="GTK-Doc V1.19 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="InfGtkBrowserModelSort.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">libinfgtk-0.5 Reference Manual</th>
<td><a accesskey="n" href="InfGtkCertificateDialog.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#InfGtkCertificateManager.synopsis" class="shortcut">Top</a>
                   | 
                  <a href="#InfGtkCertificateManager.description" class="shortcut">Description</a>
                   | 
                  <a href="#InfGtkCertificateManager.object-hierarchy" class="shortcut">Object Hierarchy</a>
                   | 
                  <a href="#InfGtkCertificateManager.properties" class="shortcut">Properties</a>
</td></tr>
</table>
<div class="refentry">
<a name="InfGtkCertificateManager"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="InfGtkCertificateManager.top_of_page"></a>InfGtkCertificateManager</span></h2>
<p>InfGtkCertificateManager</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="InfGtkCertificateManager.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">                    <a class="link" href="InfGtkCertificateManager.html#InfGtkCertificateManager-struct" title="InfGtkCertificateManager">InfGtkCertificateManager</a>;
<a class="link" href="InfGtkCertificateManager.html" title="InfGtkCertificateManager"><span class="returnvalue">InfGtkCertificateManager</span></a> * <a class="link" href="InfGtkCertificateManager.html#inf-gtk-certificate-manager-new" title="inf_gtk_certificate_manager_new ()">inf_gtk_certificate_manager_new</a>
                                                        (<em class="parameter"><code><span class="type">GtkWindow</span> *parent_window</code></em>,
                                                         <em class="parameter"><code><a href="../libinfinity-0.5/InfXmppManager.html"><span class="type">InfXmppManager</span></a> *xmpp_manager</code></em>,
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *trust_file</code></em>,
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *known_hosts_file</code></em>);
</pre>
</div>
<div class="refsect1">
<a name="InfGtkCertificateManager.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
  GObject
   +----InfGtkCertificateManager
</pre>
</div>
<div class="refsect1">
<a name="InfGtkCertificateManager.properties"></a><h2>Properties</h2>
<pre class="synopsis">
  "<a class="link" href="InfGtkCertificateManager.html#InfGtkCertificateManager--known-hosts-file" title='The "known-hosts-file" property'>known-hosts-file</a>"         <span class="type">gchar</span>*                : Read / Write
  "<a class="link" href="InfGtkCertificateManager.html#InfGtkCertificateManager--parent-window" title='The "parent-window" property'>parent-window</a>"            <span class="type">GtkWindow</span>*            : Read / Write / Construct Only
  "<a class="link" href="InfGtkCertificateManager.html#InfGtkCertificateManager--trust-file" title='The "trust-file" property'>trust-file</a>"               <span class="type">gchar</span>*                : Read / Write
  "<a class="link" href="InfGtkCertificateManager.html#InfGtkCertificateManager--xmpp-manager" title='The "xmpp-manager" property'>xmpp-manager</a>"             <a href="../libinfinity-0.5/InfXmppManager.html"><span class="type">InfXmppManager</span></a>*       : Read / Write / Construct Only
</pre>
</div>
<div class="refsect1">
<a name="InfGtkCertificateManager.description"></a><h2>Description</h2>
<p>
</p>
</div>
<div class="refsect1">
<a name="InfGtkCertificateManager.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="InfGtkCertificateManager-struct"></a><h3>InfGtkCertificateManager</h3>
<pre class="programlisting">typedef struct _InfGtkCertificateManager InfGtkCertificateManager;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="inf-gtk-certificate-manager-new"></a><h3>inf_gtk_certificate_manager_new ()</h3>
<pre class="programlisting"><a class="link" href="InfGtkCertificateManager.html" title="InfGtkCertificateManager"><span class="returnvalue">InfGtkCertificateManager</span></a> * inf_gtk_certificate_manager_new
                                                        (<em class="parameter"><code><span class="type">GtkWindow</span> *parent_window</code></em>,
                                                         <em class="parameter"><code><a href="../libinfinity-0.5/InfXmppManager.html"><span class="type">InfXmppManager</span></a> *xmpp_manager</code></em>,
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *trust_file</code></em>,
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *known_hosts_file</code></em>);</pre>
<p>
Creates a new <a class="link" href="InfGtkCertificateManager.html" title="InfGtkCertificateManager"><span class="type">InfGtkCertificateManager</span></a>. For each new client-side
<a href="../libinfinity-0.5/InfXmppConnection.html"><span class="type">InfXmppConnection</span></a> in <em class="parameter"><code>xmpp_manager</code></em>, the certificate manager will verify
the server's certificate.
</p>
<p>
If the root CA of that certificate is contained in <em class="parameter"><code>trust_file</code></em>, or the
server certificate itself is known already (meaning it is contained in
<em class="parameter"><code>known_hosts_file</code></em>), then the certificate is accepted automatically.
Otherwise, the user is asked for approval. If the user approves the
certificate, then it is inserted into the <em class="parameter"><code>known_hosts_file</code></em>.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>parent_window</code></em> :</span></p></td>
<td>The <span class="type">GtkWindow</span> to which to make certificate approval
dialogs transient to.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>xmpp_manager</code></em> :</span></p></td>
<td>The <a href="../libinfinity-0.5/InfXmppManager.html"><span class="type">InfXmppManager</span></a> whose <a href="../libinfinity-0.5/InfXmppConnection.html"><span class="type">InfXmppConnection</span></a>s to
manage the certificates for.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>trust_file</code></em> :</span></p></td>
<td>Path pointing to a file that contains trusted root CAs, or
<code class="literal">NULL</code>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>known_hosts_file</code></em> :</span></p></td>
<td>Path pointing to a file that contains certificates of
known hosts, or <code class="literal">NULL</code>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A new <a class="link" href="InfGtkCertificateManager.html" title="InfGtkCertificateManager"><span class="type">InfGtkCertificateManager</span></a>.</td>
</tr>
</tbody>
</table></div>
</div>
</div>
<div class="refsect1">
<a name="InfGtkCertificateManager.property-details"></a><h2>Property Details</h2>
<div class="refsect2">
<a name="InfGtkCertificateManager--known-hosts-file"></a><h3>The <code class="literal">"known-hosts-file"</code> property</h3>
<pre class="programlisting">  "known-hosts-file"         <span class="type">gchar</span>*                : Read / Write</pre>
<p>File containing certificates of known hosts.</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2">
<a name="InfGtkCertificateManager--parent-window"></a><h3>The <code class="literal">"parent-window"</code> property</h3>
<pre class="programlisting">  "parent-window"            <span class="type">GtkWindow</span>*            : Read / Write / Construct Only</pre>
<p>The parent window for certificate approval dialogs.</p>
</div>
<hr>
<div class="refsect2">
<a name="InfGtkCertificateManager--trust-file"></a><h3>The <code class="literal">"trust-file"</code> property</h3>
<pre class="programlisting">  "trust-file"               <span class="type">gchar</span>*                : Read / Write</pre>
<p>File containing trusted root CAs.</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2">
<a name="InfGtkCertificateManager--xmpp-manager"></a><h3>The <code class="literal">"xmpp-manager"</code> property</h3>
<pre class="programlisting">  "xmpp-manager"             <a href="../libinfinity-0.5/InfXmppManager.html"><span class="type">InfXmppManager</span></a>*       : Read / Write / Construct Only</pre>
<p>The XMPP manager of registered connections.</p>
</div>
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.19</div>
</body>
</html>