31
37
<h2><span class="refentrytitle"><a name="telepathy-glib-svc-tls.top_of_page"></a>Service-side TLS interfaces</span></h2>
32
38
<p>Service-side TLS interfaces — GInterfaces to implement Chan.T.ServerTLSConnection</p>
34
<td class="gallery_image" valign="top" align="right"></td>
40
<td valign="top" align="right"></td>
35
41
</tr></table></div>
42
<div class="refsynopsisdiv">
43
<a name="telepathy-glib-svc-tls.synopsis"></a><h2>Synopsis</h2>
44
<a name="TpSvcChannelTypeServerTLSConnection"></a><a name="TpSvcAuthenticationTLSCertificate"></a><pre class="synopsis">
45
#include <telepathy-glib/telepathy-glib-dbus.h>
47
<a class="link" href="telepathy-glib-svc-tls.html#TpSvcChannelTypeServerTLSConnection-struct" title="TpSvcChannelTypeServerTLSConnection">TpSvcChannelTypeServerTLSConnection</a>;
48
<a class="link" href="telepathy-glib-svc-tls.html#TpSvcChannelTypeServerTLSConnectionClass" title="TpSvcChannelTypeServerTLSConnectionClass">TpSvcChannelTypeServerTLSConnectionClass</a>;
50
<a class="link" href="telepathy-glib-svc-tls.html#TpSvcAuthenticationTLSCertificate-struct" title="TpSvcAuthenticationTLSCertificate">TpSvcAuthenticationTLSCertificate</a>;
51
<a class="link" href="telepathy-glib-svc-tls.html#TpSvcAuthenticationTLSCertificateClass" title="TpSvcAuthenticationTLSCertificateClass">TpSvcAuthenticationTLSCertificateClass</a>;
52
<span class="returnvalue">void</span> (<a class="link" href="telepathy-glib-svc-tls.html#tp-svc-authentication-tls-certificate-accept-impl" title="tp_svc_authentication_tls_certificate_accept_impl ()">*tp_svc_authentication_tls_certificate_accept_impl</a>)
53
(<em class="parameter"><code><a class="link" href="telepathy-glib-svc-tls.html#TpSvcAuthenticationTLSCertificate"><span class="type">TpSvcAuthenticationTLSCertificate</span></a> *self</code></em>,
54
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/dbus-glib/dbus-glib-DBusGMethod.html#DBusGMethodInvocation"><span class="type">DBusGMethodInvocation</span></a> *context</code></em>);
55
<span class="returnvalue">void</span> <a class="link" href="telepathy-glib-svc-tls.html#tp-svc-authentication-tls-certificate-return-from-accept" title="tp_svc_authentication_tls_certificate_return_from_accept ()">tp_svc_authentication_tls_certificate_return_from_accept</a>
56
(<em class="parameter"><code><a href="/usr/share/gtk-doc/html/dbus-glib/dbus-glib-DBusGMethod.html#DBusGMethodInvocation"><span class="type">DBusGMethodInvocation</span></a> *context</code></em>);
57
<span class="returnvalue">void</span> <a class="link" href="telepathy-glib-svc-tls.html#tp-svc-authentication-tls-certificate-implement-accept" title="tp_svc_authentication_tls_certificate_implement_accept ()">tp_svc_authentication_tls_certificate_implement_accept</a>
58
(<em class="parameter"><code><a class="link" href="telepathy-glib-svc-tls.html#TpSvcAuthenticationTLSCertificateClass" title="TpSvcAuthenticationTLSCertificateClass"><span class="type">TpSvcAuthenticationTLSCertificateClass</span></a> *klass</code></em>,
59
<em class="parameter"><code><a class="link" href="telepathy-glib-svc-tls.html#tp-svc-authentication-tls-certificate-accept-impl" title="tp_svc_authentication_tls_certificate_accept_impl ()"><span class="type">tp_svc_authentication_tls_certificate_accept_impl</span></a> impl</code></em>);
60
<span class="returnvalue">void</span> <a class="link" href="telepathy-glib-svc-tls.html#tp-svc-authentication-tls-certificate-emit-accepted" title="tp_svc_authentication_tls_certificate_emit_accepted ()">tp_svc_authentication_tls_certificate_emit_accepted</a>
61
(<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>);
62
<span class="returnvalue">void</span> (<a class="link" href="telepathy-glib-svc-tls.html#tp-svc-authentication-tls-certificate-reject-impl" title="tp_svc_authentication_tls_certificate_reject_impl ()">*tp_svc_authentication_tls_certificate_reject_impl</a>)
63
(<em class="parameter"><code><a class="link" href="telepathy-glib-svc-tls.html#TpSvcAuthenticationTLSCertificate"><span class="type">TpSvcAuthenticationTLSCertificate</span></a> *self</code></em>,
64
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Pointer-Arrays.html#GPtrArray"><span class="type">GPtrArray</span></a> *in_Rejections</code></em>,
65
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/dbus-glib/dbus-glib-DBusGMethod.html#DBusGMethodInvocation"><span class="type">DBusGMethodInvocation</span></a> *context</code></em>);
66
<span class="returnvalue">void</span> <a class="link" href="telepathy-glib-svc-tls.html#tp-svc-authentication-tls-certificate-return-from-reject" title="tp_svc_authentication_tls_certificate_return_from_reject ()">tp_svc_authentication_tls_certificate_return_from_reject</a>
67
(<em class="parameter"><code><a href="/usr/share/gtk-doc/html/dbus-glib/dbus-glib-DBusGMethod.html#DBusGMethodInvocation"><span class="type">DBusGMethodInvocation</span></a> *context</code></em>);
68
<span class="returnvalue">void</span> <a class="link" href="telepathy-glib-svc-tls.html#tp-svc-authentication-tls-certificate-implement-reject" title="tp_svc_authentication_tls_certificate_implement_reject ()">tp_svc_authentication_tls_certificate_implement_reject</a>
69
(<em class="parameter"><code><a class="link" href="telepathy-glib-svc-tls.html#TpSvcAuthenticationTLSCertificateClass" title="TpSvcAuthenticationTLSCertificateClass"><span class="type">TpSvcAuthenticationTLSCertificateClass</span></a> *klass</code></em>,
70
<em class="parameter"><code><a class="link" href="telepathy-glib-svc-tls.html#tp-svc-authentication-tls-certificate-reject-impl" title="tp_svc_authentication_tls_certificate_reject_impl ()"><span class="type">tp_svc_authentication_tls_certificate_reject_impl</span></a> impl</code></em>);
71
<span class="returnvalue">void</span> <a class="link" href="telepathy-glib-svc-tls.html#tp-svc-authentication-tls-certificate-emit-rejected" title="tp_svc_authentication_tls_certificate_emit_rejected ()">tp_svc_authentication_tls_certificate_emit_rejected</a>
72
(<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>,
73
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Pointer-Arrays.html#GPtrArray"><span class="type">GPtrArray</span></a> *arg_Rejections</code></em>);
36
76
<div class="refsect1">
37
<a name="telepathy-glib-svc-tls.functions"></a><h2>Functions</h2>
38
<div class="informaltable"><table width="100%" border="0">
40
<col width="150px" class="functions_return">
41
<col class="functions_name">
45
<td class="function_type">
46
<span class="returnvalue">void</span>
48
<td class="function_name">
49
<span class="c_punctuation">(</span><a class="link" href="telepathy-glib-svc-tls.html#tp-svc-authentication-tls-certificate-accept-impl" title="tp_svc_authentication_tls_certificate_accept_impl ()">*tp_svc_authentication_tls_certificate_accept_impl</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
53
<td class="function_type">
54
<span class="returnvalue">void</span>
56
<td class="function_name">
57
<a class="link" href="telepathy-glib-svc-tls.html#tp-svc-authentication-tls-certificate-return-from-accept" title="tp_svc_authentication_tls_certificate_return_from_accept ()">tp_svc_authentication_tls_certificate_return_from_accept</a> <span class="c_punctuation">()</span>
61
<td class="function_type">
62
<span class="returnvalue">void</span>
64
<td class="function_name">
65
<a class="link" href="telepathy-glib-svc-tls.html#tp-svc-authentication-tls-certificate-implement-accept" title="tp_svc_authentication_tls_certificate_implement_accept ()">tp_svc_authentication_tls_certificate_implement_accept</a> <span class="c_punctuation">()</span>
69
<td class="function_type">
70
<span class="returnvalue">void</span>
72
<td class="function_name">
73
<a class="link" href="telepathy-glib-svc-tls.html#tp-svc-authentication-tls-certificate-emit-accepted" title="tp_svc_authentication_tls_certificate_emit_accepted ()">tp_svc_authentication_tls_certificate_emit_accepted</a> <span class="c_punctuation">()</span>
77
<td class="function_type">
78
<span class="returnvalue">void</span>
80
<td class="function_name">
81
<span class="c_punctuation">(</span><a class="link" href="telepathy-glib-svc-tls.html#tp-svc-authentication-tls-certificate-reject-impl" title="tp_svc_authentication_tls_certificate_reject_impl ()">*tp_svc_authentication_tls_certificate_reject_impl</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
85
<td class="function_type">
86
<span class="returnvalue">void</span>
88
<td class="function_name">
89
<a class="link" href="telepathy-glib-svc-tls.html#tp-svc-authentication-tls-certificate-return-from-reject" title="tp_svc_authentication_tls_certificate_return_from_reject ()">tp_svc_authentication_tls_certificate_return_from_reject</a> <span class="c_punctuation">()</span>
93
<td class="function_type">
94
<span class="returnvalue">void</span>
96
<td class="function_name">
97
<a class="link" href="telepathy-glib-svc-tls.html#tp-svc-authentication-tls-certificate-implement-reject" title="tp_svc_authentication_tls_certificate_implement_reject ()">tp_svc_authentication_tls_certificate_implement_reject</a> <span class="c_punctuation">()</span>
101
<td class="function_type">
102
<span class="returnvalue">void</span>
104
<td class="function_name">
105
<a class="link" href="telepathy-glib-svc-tls.html#tp-svc-authentication-tls-certificate-emit-rejected" title="tp_svc_authentication_tls_certificate_emit_rejected ()">tp_svc_authentication_tls_certificate_emit_rejected</a> <span class="c_punctuation">()</span>
77
<a name="telepathy-glib-svc-tls.object-hierarchy"></a><h2>Object Hierarchy</h2>
78
<pre class="synopsis">
80
+----TpSvcChannelTypeServerTLSConnection
82
<pre class="synopsis">
84
+----TpSvcAuthenticationTLSCertificate
111
87
<div class="refsect1">
112
88
<a name="telepathy-glib-svc-tls.signals"></a><h2>Signals</h2>
113
<div class="informaltable"><table border="0">
115
<col width="150px" class="signals_return">
116
<col width="300px" class="signals_name">
117
<col width="200px" class="signals_flags">
121
<td class="signal_type"><span class="returnvalue">void</span></td>
122
<td class="signal_name"><a class="link" href="telepathy-glib-svc-tls.html#TpSvcAuthenticationTLSCertificate-accepted" title="The “accepted” signal">accepted</a></td>
123
<td class="signal_flags">Has Details</td>
126
<td class="signal_type"><span class="returnvalue">void</span></td>
127
<td class="signal_name"><a class="link" href="telepathy-glib-svc-tls.html#TpSvcAuthenticationTLSCertificate-rejected" title="The “rejected” signal">rejected</a></td>
128
<td class="signal_flags">Has Details</td>
133
<a name="TpSvcChannelTypeServerTLSConnection"></a><a name="TpSvcAuthenticationTLSCertificate"></a><div class="refsect1">
134
<a name="telepathy-glib-svc-tls.other"></a><h2>Types and Values</h2>
135
<div class="informaltable"><table width="100%" border="0">
137
<col width="150px" class="name">
138
<col class="description">
142
<td class="datatype_keyword"> </td>
143
<td class="function_name"><a class="link" href="telepathy-glib-svc-tls.html#TpSvcChannelTypeServerTLSConnection-struct" title="TpSvcChannelTypeServerTLSConnection">TpSvcChannelTypeServerTLSConnection</a></td>
146
<td class="datatype_keyword"> </td>
147
<td class="function_name"><a class="link" href="telepathy-glib-svc-tls.html#TpSvcChannelTypeServerTLSConnectionClass" title="TpSvcChannelTypeServerTLSConnectionClass">TpSvcChannelTypeServerTLSConnectionClass</a></td>
150
<td class="datatype_keyword"> </td>
151
<td class="function_name"><a class="link" href="telepathy-glib-svc-tls.html#TpSvcAuthenticationTLSCertificate-struct" title="TpSvcAuthenticationTLSCertificate">TpSvcAuthenticationTLSCertificate</a></td>
154
<td class="datatype_keyword"> </td>
155
<td class="function_name"><a class="link" href="telepathy-glib-svc-tls.html#TpSvcAuthenticationTLSCertificateClass" title="TpSvcAuthenticationTLSCertificateClass">TpSvcAuthenticationTLSCertificateClass</a></td>
160
<div class="refsect1">
161
<a name="telepathy-glib-svc-tls.object-hierarchy"></a><h2>Object Hierarchy</h2>
162
<pre class="screen"> GInterface
163
<span class="lineart">├──</span> TpSvcAuthenticationTLSCertificate
164
<span class="lineart">╰──</span> TpSvcChannelTypeServerTLSConnection
167
<div class="refsect1">
168
<a name="telepathy-glib-svc-tls.includes"></a><h2>Includes</h2>
169
<pre class="synopsis">#include <telepathy-glib/telepathy-glib-dbus.h>
89
<pre class="synopsis">
90
"<a class="link" href="telepathy-glib-svc-tls.html#TpSvcAuthenticationTLSCertificate-accepted" title='The "accepted" signal'>accepted</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-DETAILED:CAPS"><code class="literal">Has Details</code></a>
91
"<a class="link" href="telepathy-glib-svc-tls.html#TpSvcAuthenticationTLSCertificate-rejected" title='The "rejected" signal'>rejected</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-DETAILED:CAPS"><code class="literal">Has Details</code></a>
172
94
<div class="refsect1">
173
95
<a name="telepathy-glib-svc-tls.description"></a><h2>Description</h2>
174
<p>Channel.Type.ServerTLSConnection can be handled by clients to check
97
Channel.Type.ServerTLSConnection can be handled by clients to check
175
98
servers' TLS certificates interactively. The actual certificates are
176
represented by a separate TLSCertificate object.</p>
178
<div class="refsect1">
179
<a name="telepathy-glib-svc-tls.functions_details"></a><h2>Functions</h2>
180
<div class="refsect2">
181
<a name="tp-svc-authentication-tls-certificate-accept-impl"></a><h3>tp_svc_authentication_tls_certificate_accept_impl ()</h3>
182
<pre class="programlisting"><span class="returnvalue">void</span>
183
<span class="c_punctuation">(</span>*tp_svc_authentication_tls_certificate_accept_impl<span class="c_punctuation">)</span>
184
(<em class="parameter"><code><a class="link" href="telepathy-glib-svc-tls.html#TpSvcAuthenticationTLSCertificate"><span class="type">TpSvcAuthenticationTLSCertificate</span></a> *self</code></em>,
185
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/dbus-glib/dbus-glib-DBusGMethod.html#DBusGMethodInvocation"><span class="type">DBusGMethodInvocation</span></a> *context</code></em>);</pre>
186
<p>The signature of an implementation of the D-Bus method
187
Accept on interface org.freedesktop.Telepathy.Authentication.TLSCertificate.</p>
188
<div class="refsect3">
189
<a name="id-1.5.32.11.2.5"></a><h4>Parameters</h4>
190
<div class="informaltable"><table width="100%" border="0">
192
<col width="150px" class="parameters_name">
193
<col class="parameters_description">
194
<col width="200px" class="parameters_annotations">
198
<td class="parameter_name"><p>self</p></td>
199
<td class="parameter_description"><p>The object implementing this interface</p></td>
200
<td class="parameter_annotations"> </td>
203
<td class="parameter_name"><p>context</p></td>
204
<td class="parameter_description"><p>Used to return values or throw an error</p></td>
205
<td class="parameter_annotations"> </td>
212
<div class="refsect2">
213
<a name="tp-svc-authentication-tls-certificate-return-from-accept"></a><h3>tp_svc_authentication_tls_certificate_return_from_accept ()</h3>
214
<pre class="programlisting"><span class="returnvalue">void</span>
215
tp_svc_authentication_tls_certificate_return_from_accept
216
(<em class="parameter"><code><a href="/usr/share/gtk-doc/html/dbus-glib/dbus-glib-DBusGMethod.html#DBusGMethodInvocation"><span class="type">DBusGMethodInvocation</span></a> *context</code></em>);</pre>
217
<p>Return successfully by calling <a href="/usr/share/gtk-doc/html/dbus-glib/dbus-glib-DBusGMethod.html#dbus-g-method-return"><code class="function">dbus_g_method_return()</code></a>.
218
This inline function exists only to provide type-safety.</p>
219
<div class="refsect3">
220
<a name="id-1.5.32.11.3.5"></a><h4>Parameters</h4>
221
<div class="informaltable"><table width="100%" border="0">
223
<col width="150px" class="parameters_name">
224
<col class="parameters_description">
225
<col width="200px" class="parameters_annotations">
228
<td class="parameter_name"><p>context</p></td>
229
<td class="parameter_description"><p>The D-Bus method invocation context</p></td>
230
<td class="parameter_annotations"> </td>
236
<div class="refsect2">
237
<a name="tp-svc-authentication-tls-certificate-implement-accept"></a><h3>tp_svc_authentication_tls_certificate_implement_accept ()</h3>
238
<pre class="programlisting"><span class="returnvalue">void</span>
239
tp_svc_authentication_tls_certificate_implement_accept
240
(<em class="parameter"><code><a class="link" href="telepathy-glib-svc-tls.html#TpSvcAuthenticationTLSCertificateClass" title="TpSvcAuthenticationTLSCertificateClass"><span class="type">TpSvcAuthenticationTLSCertificateClass</span></a> *klass</code></em>,
241
<em class="parameter"><code><a class="link" href="telepathy-glib-svc-tls.html#tp-svc-authentication-tls-certificate-accept-impl" title="tp_svc_authentication_tls_certificate_accept_impl ()"><span class="type">tp_svc_authentication_tls_certificate_accept_impl</span></a> impl</code></em>);</pre>
242
<p>Register an implementation for the Accept method in the vtable
243
of an implementation of this interface. To be called from
244
the interface init function.</p>
245
<div class="refsect3">
246
<a name="id-1.5.32.11.4.5"></a><h4>Parameters</h4>
247
<div class="informaltable"><table width="100%" border="0">
249
<col width="150px" class="parameters_name">
250
<col class="parameters_description">
251
<col width="200px" class="parameters_annotations">
255
<td class="parameter_name"><p>klass</p></td>
256
<td class="parameter_description"><p>A class whose instances implement this interface</p></td>
257
<td class="parameter_annotations"> </td>
260
<td class="parameter_name"><p>impl</p></td>
261
<td class="parameter_description"><p>A callback used to implement the Accept D-Bus method</p></td>
262
<td class="parameter_annotations"> </td>
269
<div class="refsect2">
270
<a name="tp-svc-authentication-tls-certificate-emit-accepted"></a><h3>tp_svc_authentication_tls_certificate_emit_accepted ()</h3>
271
<pre class="programlisting"><span class="returnvalue">void</span>
272
tp_svc_authentication_tls_certificate_emit_accepted
273
(<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>);</pre>
274
<p>Type-safe wrapper around g_signal_emit to emit the
275
Accepted signal on interface org.freedesktop.Telepathy.Authentication.TLSCertificate.</p>
276
<div class="refsect3">
277
<a name="id-1.5.32.11.5.5"></a><h4>Parameters</h4>
278
<div class="informaltable"><table width="100%" border="0">
280
<col width="150px" class="parameters_name">
281
<col class="parameters_description">
282
<col width="200px" class="parameters_annotations">
285
<td class="parameter_name"><p>instance</p></td>
286
<td class="parameter_description"><p>The object implementing this interface</p></td>
287
<td class="parameter_annotations"> </td>
293
<div class="refsect2">
294
<a name="tp-svc-authentication-tls-certificate-reject-impl"></a><h3>tp_svc_authentication_tls_certificate_reject_impl ()</h3>
295
<pre class="programlisting"><span class="returnvalue">void</span>
296
<span class="c_punctuation">(</span>*tp_svc_authentication_tls_certificate_reject_impl<span class="c_punctuation">)</span>
297
(<em class="parameter"><code><a class="link" href="telepathy-glib-svc-tls.html#TpSvcAuthenticationTLSCertificate"><span class="type">TpSvcAuthenticationTLSCertificate</span></a> *self</code></em>,
298
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Pointer-Arrays.html#GPtrArray"><span class="type">GPtrArray</span></a> *in_Rejections</code></em>,
299
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/dbus-glib/dbus-glib-DBusGMethod.html#DBusGMethodInvocation"><span class="type">DBusGMethodInvocation</span></a> *context</code></em>);</pre>
300
<p>The signature of an implementation of the D-Bus method
301
Reject on interface org.freedesktop.Telepathy.Authentication.TLSCertificate.</p>
302
<div class="refsect3">
303
<a name="id-1.5.32.11.6.5"></a><h4>Parameters</h4>
304
<div class="informaltable"><table width="100%" border="0">
306
<col width="150px" class="parameters_name">
307
<col class="parameters_description">
308
<col width="200px" class="parameters_annotations">
312
<td class="parameter_name"><p>self</p></td>
313
<td class="parameter_description"><p>The object implementing this interface</p></td>
314
<td class="parameter_annotations"> </td>
317
<td class="parameter_name"><p>in_Rejections</p></td>
318
<td class="parameter_description"><p>const GPtrArray * (FIXME, generate documentation)</p></td>
319
<td class="parameter_annotations"> </td>
322
<td class="parameter_name"><p>context</p></td>
323
<td class="parameter_description"><p>Used to return values or throw an error</p></td>
324
<td class="parameter_annotations"> </td>
331
<div class="refsect2">
332
<a name="tp-svc-authentication-tls-certificate-return-from-reject"></a><h3>tp_svc_authentication_tls_certificate_return_from_reject ()</h3>
333
<pre class="programlisting"><span class="returnvalue">void</span>
334
tp_svc_authentication_tls_certificate_return_from_reject
335
(<em class="parameter"><code><a href="/usr/share/gtk-doc/html/dbus-glib/dbus-glib-DBusGMethod.html#DBusGMethodInvocation"><span class="type">DBusGMethodInvocation</span></a> *context</code></em>);</pre>
336
<p>Return successfully by calling <a href="/usr/share/gtk-doc/html/dbus-glib/dbus-glib-DBusGMethod.html#dbus-g-method-return"><code class="function">dbus_g_method_return()</code></a>.
337
This inline function exists only to provide type-safety.</p>
338
<div class="refsect3">
339
<a name="id-1.5.32.11.7.5"></a><h4>Parameters</h4>
340
<div class="informaltable"><table width="100%" border="0">
342
<col width="150px" class="parameters_name">
343
<col class="parameters_description">
344
<col width="200px" class="parameters_annotations">
347
<td class="parameter_name"><p>context</p></td>
348
<td class="parameter_description"><p>The D-Bus method invocation context</p></td>
349
<td class="parameter_annotations"> </td>
355
<div class="refsect2">
356
<a name="tp-svc-authentication-tls-certificate-implement-reject"></a><h3>tp_svc_authentication_tls_certificate_implement_reject ()</h3>
357
<pre class="programlisting"><span class="returnvalue">void</span>
358
tp_svc_authentication_tls_certificate_implement_reject
359
(<em class="parameter"><code><a class="link" href="telepathy-glib-svc-tls.html#TpSvcAuthenticationTLSCertificateClass" title="TpSvcAuthenticationTLSCertificateClass"><span class="type">TpSvcAuthenticationTLSCertificateClass</span></a> *klass</code></em>,
360
<em class="parameter"><code><a class="link" href="telepathy-glib-svc-tls.html#tp-svc-authentication-tls-certificate-reject-impl" title="tp_svc_authentication_tls_certificate_reject_impl ()"><span class="type">tp_svc_authentication_tls_certificate_reject_impl</span></a> impl</code></em>);</pre>
361
<p>Register an implementation for the Reject method in the vtable
362
of an implementation of this interface. To be called from
363
the interface init function.</p>
364
<div class="refsect3">
365
<a name="id-1.5.32.11.8.5"></a><h4>Parameters</h4>
366
<div class="informaltable"><table width="100%" border="0">
368
<col width="150px" class="parameters_name">
369
<col class="parameters_description">
370
<col width="200px" class="parameters_annotations">
374
<td class="parameter_name"><p>klass</p></td>
375
<td class="parameter_description"><p>A class whose instances implement this interface</p></td>
376
<td class="parameter_annotations"> </td>
379
<td class="parameter_name"><p>impl</p></td>
380
<td class="parameter_description"><p>A callback used to implement the Reject D-Bus method</p></td>
381
<td class="parameter_annotations"> </td>
388
<div class="refsect2">
389
<a name="tp-svc-authentication-tls-certificate-emit-rejected"></a><h3>tp_svc_authentication_tls_certificate_emit_rejected ()</h3>
390
<pre class="programlisting"><span class="returnvalue">void</span>
391
tp_svc_authentication_tls_certificate_emit_rejected
392
(<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>,
393
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Pointer-Arrays.html#GPtrArray"><span class="type">GPtrArray</span></a> *arg_Rejections</code></em>);</pre>
394
<p>Type-safe wrapper around g_signal_emit to emit the
395
Rejected signal on interface org.freedesktop.Telepathy.Authentication.TLSCertificate.</p>
396
<div class="refsect3">
397
<a name="id-1.5.32.11.9.5"></a><h4>Parameters</h4>
398
<div class="informaltable"><table width="100%" border="0">
400
<col width="150px" class="parameters_name">
401
<col class="parameters_description">
402
<col width="200px" class="parameters_annotations">
406
<td class="parameter_name"><p>instance</p></td>
407
<td class="parameter_description"><p>The object implementing this interface</p></td>
408
<td class="parameter_annotations"> </td>
411
<td class="parameter_name"><p>arg_Rejections</p></td>
412
<td class="parameter_description"><p>const GPtrArray * (FIXME, generate documentation)</p></td>
413
<td class="parameter_annotations"> </td>
420
<div class="refsect1">
421
<a name="telepathy-glib-svc-tls.other_details"></a><h2>Types and Values</h2>
99
represented by a separate TLSCertificate object.
102
<div class="refsect1">
103
<a name="telepathy-glib-svc-tls.details"></a><h2>Details</h2>
422
104
<div class="refsect2">
423
105
<a name="TpSvcChannelTypeServerTLSConnection-struct"></a><h3>TpSvcChannelTypeServerTLSConnection</h3>
424
106
<pre class="programlisting">typedef struct _TpSvcChannelTypeServerTLSConnection TpSvcChannelTypeServerTLSConnection;</pre>
425
<p>Dummy typedef representing any implementation of this interface.</p>
108
Dummy typedef representing any implementation of this interface.
428
112
<div class="refsect2">
429
113
<a name="TpSvcChannelTypeServerTLSConnectionClass"></a><h3>TpSvcChannelTypeServerTLSConnectionClass</h3>
430
114
<pre class="programlisting">typedef struct _TpSvcChannelTypeServerTLSConnectionClass TpSvcChannelTypeServerTLSConnectionClass;</pre>
431
<p>The class of TpSvcChannelTypeServerTLSConnection.
116
The class of TpSvcChannelTypeServerTLSConnection.
432
117
This interface has no D-Bus methods, so an
433
118
implementation can typically pass <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to
434
119
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#G-IMPLEMENT-INTERFACE:CAPS"><code class="function">G_IMPLEMENT_INTERFACE()</code></a> as the interface
435
initialization function.</p>
120
initialization function.
438
124
<div class="refsect2">
439
125
<a name="TpSvcAuthenticationTLSCertificate-struct"></a><h3>TpSvcAuthenticationTLSCertificate</h3>
440
126
<pre class="programlisting">typedef struct _TpSvcAuthenticationTLSCertificate TpSvcAuthenticationTLSCertificate;</pre>
441
<p>Dummy typedef representing any implementation of this interface.</p>
128
Dummy typedef representing any implementation of this interface.
444
132
<div class="refsect2">
445
133
<a name="TpSvcAuthenticationTLSCertificateClass"></a><h3>TpSvcAuthenticationTLSCertificateClass</h3>
446
134
<pre class="programlisting">typedef struct _TpSvcAuthenticationTLSCertificateClass TpSvcAuthenticationTLSCertificateClass;</pre>
447
<p>The class of TpSvcAuthenticationTLSCertificate.</p>
448
<p>In a full implementation of this interface (i.e. all
136
The class of TpSvcAuthenticationTLSCertificate.
139
In a full implementation of this interface (i.e. all
449
140
methods implemented), the interface initialization
450
141
function used in <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#G-IMPLEMENT-INTERFACE:CAPS"><code class="function">G_IMPLEMENT_INTERFACE()</code></a> would
451
typically look like this:</p>
142
typically look like this:
452
146
<pre class="programlisting">
454
148
implement_authentication_tls_certificate (gpointer klass,
162
<div class="refsect2">
163
<a name="tp-svc-authentication-tls-certificate-accept-impl"></a><h3>tp_svc_authentication_tls_certificate_accept_impl ()</h3>
164
<pre class="programlisting"><span class="returnvalue">void</span> (*tp_svc_authentication_tls_certificate_accept_impl)
165
(<em class="parameter"><code><a class="link" href="telepathy-glib-svc-tls.html#TpSvcAuthenticationTLSCertificate"><span class="type">TpSvcAuthenticationTLSCertificate</span></a> *self</code></em>,
166
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/dbus-glib/dbus-glib-DBusGMethod.html#DBusGMethodInvocation"><span class="type">DBusGMethodInvocation</span></a> *context</code></em>);</pre>
168
The signature of an implementation of the D-Bus method
169
Accept on interface org.freedesktop.Telepathy.Authentication.TLSCertificate.
171
<div class="variablelist"><table border="0" class="variablelist">
173
<col align="left" valign="top">
178
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
179
<td>The object implementing this interface</td>
182
<td><p><span class="term"><em class="parameter"><code>context</code></em> :</span></p></td>
183
<td>Used to return values or throw an error</td>
189
<div class="refsect2">
190
<a name="tp-svc-authentication-tls-certificate-return-from-accept"></a><h3>tp_svc_authentication_tls_certificate_return_from_accept ()</h3>
191
<pre class="programlisting"><span class="returnvalue">void</span> tp_svc_authentication_tls_certificate_return_from_accept
192
(<em class="parameter"><code><a href="/usr/share/gtk-doc/html/dbus-glib/dbus-glib-DBusGMethod.html#DBusGMethodInvocation"><span class="type">DBusGMethodInvocation</span></a> *context</code></em>);</pre>
194
Return successfully by calling <a href="/usr/share/gtk-doc/html/dbus-glib/dbus-glib-DBusGMethod.html#dbus-g-method-return"><code class="function">dbus_g_method_return()</code></a>.
195
This inline function exists only to provide type-safety.
197
<div class="variablelist"><table border="0" class="variablelist">
199
<col align="left" valign="top">
203
<td><p><span class="term"><em class="parameter"><code>context</code></em> :</span></p></td>
204
<td>The D-Bus method invocation context</td>
209
<div class="refsect2">
210
<a name="tp-svc-authentication-tls-certificate-implement-accept"></a><h3>tp_svc_authentication_tls_certificate_implement_accept ()</h3>
211
<pre class="programlisting"><span class="returnvalue">void</span> tp_svc_authentication_tls_certificate_implement_accept
212
(<em class="parameter"><code><a class="link" href="telepathy-glib-svc-tls.html#TpSvcAuthenticationTLSCertificateClass" title="TpSvcAuthenticationTLSCertificateClass"><span class="type">TpSvcAuthenticationTLSCertificateClass</span></a> *klass</code></em>,
213
<em class="parameter"><code><a class="link" href="telepathy-glib-svc-tls.html#tp-svc-authentication-tls-certificate-accept-impl" title="tp_svc_authentication_tls_certificate_accept_impl ()"><span class="type">tp_svc_authentication_tls_certificate_accept_impl</span></a> impl</code></em>);</pre>
215
Register an implementation for the Accept method in the vtable
216
of an implementation of this interface. To be called from
217
the interface init function.
219
<div class="variablelist"><table border="0" class="variablelist">
221
<col align="left" valign="top">
226
<td><p><span class="term"><em class="parameter"><code>klass</code></em> :</span></p></td>
227
<td>A class whose instances implement this interface</td>
230
<td><p><span class="term"><em class="parameter"><code>impl</code></em> :</span></p></td>
231
<td>A callback used to implement the Accept D-Bus method</td>
237
<div class="refsect2">
238
<a name="tp-svc-authentication-tls-certificate-emit-accepted"></a><h3>tp_svc_authentication_tls_certificate_emit_accepted ()</h3>
239
<pre class="programlisting"><span class="returnvalue">void</span> tp_svc_authentication_tls_certificate_emit_accepted
240
(<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>);</pre>
242
Type-safe wrapper around g_signal_emit to emit the
243
Accepted signal on interface org.freedesktop.Telepathy.Authentication.TLSCertificate.
245
<div class="variablelist"><table border="0" class="variablelist">
247
<col align="left" valign="top">
251
<td><p><span class="term"><em class="parameter"><code>instance</code></em> :</span></p></td>
252
<td>The object implementing this interface</td>
257
<div class="refsect2">
258
<a name="tp-svc-authentication-tls-certificate-reject-impl"></a><h3>tp_svc_authentication_tls_certificate_reject_impl ()</h3>
259
<pre class="programlisting"><span class="returnvalue">void</span> (*tp_svc_authentication_tls_certificate_reject_impl)
260
(<em class="parameter"><code><a class="link" href="telepathy-glib-svc-tls.html#TpSvcAuthenticationTLSCertificate"><span class="type">TpSvcAuthenticationTLSCertificate</span></a> *self</code></em>,
261
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Pointer-Arrays.html#GPtrArray"><span class="type">GPtrArray</span></a> *in_Rejections</code></em>,
262
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/dbus-glib/dbus-glib-DBusGMethod.html#DBusGMethodInvocation"><span class="type">DBusGMethodInvocation</span></a> *context</code></em>);</pre>
264
The signature of an implementation of the D-Bus method
265
Reject on interface org.freedesktop.Telepathy.Authentication.TLSCertificate.
267
<div class="variablelist"><table border="0" class="variablelist">
269
<col align="left" valign="top">
274
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
275
<td>The object implementing this interface</td>
278
<td><p><span class="term"><em class="parameter"><code>in_Rejections</code></em> :</span></p></td>
279
<td>const GPtrArray * (FIXME, generate documentation)</td>
282
<td><p><span class="term"><em class="parameter"><code>context</code></em> :</span></p></td>
283
<td>Used to return values or throw an error</td>
289
<div class="refsect2">
290
<a name="tp-svc-authentication-tls-certificate-return-from-reject"></a><h3>tp_svc_authentication_tls_certificate_return_from_reject ()</h3>
291
<pre class="programlisting"><span class="returnvalue">void</span> tp_svc_authentication_tls_certificate_return_from_reject
292
(<em class="parameter"><code><a href="/usr/share/gtk-doc/html/dbus-glib/dbus-glib-DBusGMethod.html#DBusGMethodInvocation"><span class="type">DBusGMethodInvocation</span></a> *context</code></em>);</pre>
294
Return successfully by calling <a href="/usr/share/gtk-doc/html/dbus-glib/dbus-glib-DBusGMethod.html#dbus-g-method-return"><code class="function">dbus_g_method_return()</code></a>.
295
This inline function exists only to provide type-safety.
297
<div class="variablelist"><table border="0" class="variablelist">
299
<col align="left" valign="top">
303
<td><p><span class="term"><em class="parameter"><code>context</code></em> :</span></p></td>
304
<td>The D-Bus method invocation context</td>
309
<div class="refsect2">
310
<a name="tp-svc-authentication-tls-certificate-implement-reject"></a><h3>tp_svc_authentication_tls_certificate_implement_reject ()</h3>
311
<pre class="programlisting"><span class="returnvalue">void</span> tp_svc_authentication_tls_certificate_implement_reject
312
(<em class="parameter"><code><a class="link" href="telepathy-glib-svc-tls.html#TpSvcAuthenticationTLSCertificateClass" title="TpSvcAuthenticationTLSCertificateClass"><span class="type">TpSvcAuthenticationTLSCertificateClass</span></a> *klass</code></em>,
313
<em class="parameter"><code><a class="link" href="telepathy-glib-svc-tls.html#tp-svc-authentication-tls-certificate-reject-impl" title="tp_svc_authentication_tls_certificate_reject_impl ()"><span class="type">tp_svc_authentication_tls_certificate_reject_impl</span></a> impl</code></em>);</pre>
315
Register an implementation for the Reject method in the vtable
316
of an implementation of this interface. To be called from
317
the interface init function.
319
<div class="variablelist"><table border="0" class="variablelist">
321
<col align="left" valign="top">
326
<td><p><span class="term"><em class="parameter"><code>klass</code></em> :</span></p></td>
327
<td>A class whose instances implement this interface</td>
330
<td><p><span class="term"><em class="parameter"><code>impl</code></em> :</span></p></td>
331
<td>A callback used to implement the Reject D-Bus method</td>
337
<div class="refsect2">
338
<a name="tp-svc-authentication-tls-certificate-emit-rejected"></a><h3>tp_svc_authentication_tls_certificate_emit_rejected ()</h3>
339
<pre class="programlisting"><span class="returnvalue">void</span> tp_svc_authentication_tls_certificate_emit_rejected
340
(<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>,
341
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Pointer-Arrays.html#GPtrArray"><span class="type">GPtrArray</span></a> *arg_Rejections</code></em>);</pre>
343
Type-safe wrapper around g_signal_emit to emit the
344
Rejected signal on interface org.freedesktop.Telepathy.Authentication.TLSCertificate.
346
<div class="variablelist"><table border="0" class="variablelist">
348
<col align="left" valign="top">
353
<td><p><span class="term"><em class="parameter"><code>instance</code></em> :</span></p></td>
354
<td>The object implementing this interface</td>
357
<td><p><span class="term"><em class="parameter"><code>arg_Rejections</code></em> :</span></p></td>
358
<td>const GPtrArray * (FIXME, generate documentation)</td>
466
364
<div class="refsect1">
467
365
<a name="telepathy-glib-svc-tls.signal-details"></a><h2>Signal Details</h2>
468
366
<div class="refsect2">
469
<a name="TpSvcAuthenticationTLSCertificate-accepted"></a><h3>The <code class="literal">“accepted”</code> signal</h3>
470
<pre class="programlisting"><span class="returnvalue">void</span>
471
user_function (<a class="link" href="telepathy-glib-svc-tls.html#TpSvcAuthenticationTLSCertificate"><span class="type">TpSvcAuthenticationTLSCertificate</span></a> *self,
472
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
473
<p>The Accepted D-Bus signal is emitted whenever this GObject signal is.</p>
474
<div class="refsect3">
475
<a name="id-1.5.32.13.2.5"></a><h4>Parameters</h4>
476
<div class="informaltable"><table width="100%" border="0">
367
<a name="TpSvcAuthenticationTLSCertificate-accepted"></a><h3>The <code class="literal">"accepted"</code> signal</h3>
368
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="telepathy-glib-svc-tls.html#TpSvcAuthenticationTLSCertificate"><span class="type">TpSvcAuthenticationTLSCertificate</span></a> *self,
369
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-DETAILED:CAPS"><code class="literal">Has Details</code></a></pre>
371
The Accepted D-Bus signal is emitted whenever this GObject signal is.
373
<div class="variablelist"><table border="0" class="variablelist">
478
<col width="150px" class="parameters_name">
479
<col class="parameters_description">
480
<col width="200px" class="parameters_annotations">
375
<col align="left" valign="top">
484
<td class="parameter_name"><p>self</p></td>
485
<td class="parameter_description"><p>an object</p></td>
486
<td class="parameter_annotations"> </td>
380
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
489
<td class="parameter_name"><p>user_data</p></td>
490
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
491
<td class="parameter_annotations"> </td>
384
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
385
<td>user data set when the signal handler was connected.</td>
496
<p>Flags: Has Details</p>
499
391
<div class="refsect2">
500
<a name="TpSvcAuthenticationTLSCertificate-rejected"></a><h3>The <code class="literal">“rejected”</code> signal</h3>
501
<pre class="programlisting"><span class="returnvalue">void</span>
502
user_function (<a class="link" href="telepathy-glib-svc-tls.html#TpSvcAuthenticationTLSCertificate"><span class="type">TpSvcAuthenticationTLSCertificate</span></a> *self,
503
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
504
<p>The Rejected D-Bus signal is emitted whenever this GObject signal is.</p>
505
<div class="refsect3">
506
<a name="id-1.5.32.13.3.5"></a><h4>Parameters</h4>
507
<div class="informaltable"><table width="100%" border="0">
392
<a name="TpSvcAuthenticationTLSCertificate-rejected"></a><h3>The <code class="literal">"rejected"</code> signal</h3>
393
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="telepathy-glib-svc-tls.html#TpSvcAuthenticationTLSCertificate"><span class="type">TpSvcAuthenticationTLSCertificate</span></a> *self,
394
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-DETAILED:CAPS"><code class="literal">Has Details</code></a></pre>
396
The Rejected D-Bus signal is emitted whenever this GObject signal is.
398
<div class="variablelist"><table border="0" class="variablelist">
509
<col width="150px" class="parameters_name">
510
<col class="parameters_description">
511
<col width="200px" class="parameters_annotations">
400
<col align="left" valign="top">
515
<td class="parameter_name"><p>self</p></td>
516
<td class="parameter_description"><p>an object</p></td>
517
<td class="parameter_annotations"> </td>
520
<td class="parameter_name"><p>arg_Rejections</p></td>
521
<td class="parameter_description"><p>const GPtrArray * (FIXME, generate documentation)</p></td>
522
<td class="parameter_annotations"> </td>
525
<td class="parameter_name"><p>user_data</p></td>
526
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
527
<td class="parameter_annotations"> </td>
405
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
409
<td><p><span class="term"><em class="parameter"><code>arg_Rejections</code></em> :</span></p></td>
410
<td>const GPtrArray * (FIXME, generate documentation)</td>
413
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
414
<td>user data set when the signal handler was connected.</td>
532
<p>Flags: Has Details</p>
536
421
<div class="footer">
538
Generated by GTK-Doc V1.20</div>
423
Generated by GTK-Doc V1.19</div>
b'\\ No newline at end of file'