~ubuntu-branches/ubuntu/oneiric/seahorse/oneiric-proposed-201111150713

« back to all changes in this revision

Viewing changes to reference/libcryptui/html/libcryptui-CryptUIKeyStore.html

  • Committer: Bazaar Package Importer
  • Author(s): Jordi Mallach
  • Date: 2011-04-14 23:26:01 UTC
  • mto: (3.1.7 sid) (1.2.59 upstream)
  • mto: This revision was merged to the branch mainline in revision 97.
  • Revision ID: james.westby@ubuntu.com-20110414232601-a1f1ibqayicoj8sd
Import upstream version 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
 
<html>
3
 
<head>
4
 
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
 
<title>CryptUIKeyStore</title>
6
 
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
7
 
<link rel="home" href="index.html" title="libcryptui Reference Manual">
8
 
<link rel="up" href="ch01.html" title="libcryptui Objects and Functions">
9
 
<link rel="prev" href="libcryptui-CryptUIKeyChooser.html" title="CryptUIKeyChooser">
10
 
<link rel="next" href="libcryptui-cryptui.html" title="cryptui">
11
 
<meta name="generator" content="GTK-Doc V1.11 (XML mode)">
12
 
<link rel="stylesheet" href="style.css" type="text/css">
13
 
<link rel="chapter" href="ch01.html" title="libcryptui Objects and Functions">
14
 
<link rel="glossary" href="ch01.html#annotation-glossary" title="Annotation Glossary">
15
 
</head>
16
 
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
17
 
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
18
 
<tr valign="middle">
19
 
<td><a accesskey="p" href="libcryptui-CryptUIKeyChooser.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
20
 
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
21
 
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
22
 
<th width="100%" align="center">libcryptui Reference Manual</th>
23
 
<td><a accesskey="n" href="libcryptui-cryptui.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
24
 
</tr>
25
 
<tr><td colspan="5" class="shortcuts">
26
 
<a href="#libcryptui-CryptUIKeyStore.synopsis" class="shortcut">Top</a>
27
 
                 | 
28
 
                <a href="#libcryptui-CryptUIKeyStore.description" class="shortcut">Description</a>
29
 
</td></tr>
30
 
</table>
31
 
<div class="refentry" title="CryptUIKeyStore">
32
 
<a name="libcryptui-CryptUIKeyStore"></a><div class="titlepage"></div>
33
 
<div class="refnamediv"><table width="100%"><tr>
34
 
<td valign="top">
35
 
<h2><span class="refentrytitle"><a name="libcryptui-CryptUIKeyStore.top_of_page"></a>CryptUIKeyStore</span></h2>
36
 
<p>CryptUIKeyStore</p>
37
 
</td>
38
 
<td valign="top" align="right"></td>
39
 
</tr></table></div>
40
 
<div class="refsynopsisdiv" title="Synopsis">
41
 
<a name="libcryptui-CryptUIKeyStore.synopsis"></a><h2>Synopsis</h2>
42
 
<pre class="synopsis">
43
 
                    <a class="link" href="libcryptui-CryptUIKeyStore.html#CryptUIKeyStorePriv" title="CryptUIKeyStorePriv">CryptUIKeyStorePriv</a>;
44
 
                    <a class="link" href="libcryptui-CryptUIKeyStore.html#CryptUIKeyStore" title="CryptUIKeyStore">CryptUIKeyStore</a>;
45
 
enum                <a class="link" href="libcryptui-CryptUIKeyStore.html#CryptUIKeyStoreMode" title="enum CryptUIKeyStoreMode">CryptUIKeyStoreMode</a>;
46
 
<a
47
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
48
 
>gboolean</a>            (<a class="link" href="libcryptui-CryptUIKeyStore.html#CryptUIKeyStoreFilterFunc" title="CryptUIKeyStoreFilterFunc ()">*CryptUIKeyStoreFilterFunc</a>)        (<a class="link" href="libcryptui-CryptUIKeyset.html#CryptUIKeyset" title="CryptUIKeyset">CryptUIKeyset</a> *ckset,
49
 
                                                         const <a
50
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
51
 
>gchar</a> *key,
52
 
                                                         <a
53
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
54
 
>gpointer</a> user_data);
55
 
<a class="link" href="libcryptui-CryptUIKeyStore.html#CryptUIKeyStore" title="CryptUIKeyStore">CryptUIKeyStore</a>*    <a class="link" href="libcryptui-CryptUIKeyStore.html#cryptui-key-store-new" title="cryptui_key_store_new ()">cryptui_key_store_new</a>               (<a class="link" href="libcryptui-CryptUIKeyset.html#CryptUIKeyset" title="CryptUIKeyset">CryptUIKeyset</a> *keyset,
56
 
                                                         <a
57
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
58
 
>gboolean</a> use_checks,
59
 
                                                         const <a
60
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
61
 
>gchar</a> *none_option);
62
 
<a class="link" href="libcryptui-CryptUIKeyset.html#CryptUIKeyset" title="CryptUIKeyset">CryptUIKeyset</a>*      <a class="link" href="libcryptui-CryptUIKeyStore.html#cryptui-key-store-get-keyset" title="cryptui_key_store_get_keyset ()">cryptui_key_store_get_keyset</a>        (<a class="link" href="libcryptui-CryptUIKeyStore.html#CryptUIKeyStore" title="CryptUIKeyStore">CryptUIKeyStore</a> *ckstore);
63
 
void                <a class="link" href="libcryptui-CryptUIKeyStore.html#cryptui-key-store-set-sortable" title="cryptui_key_store_set_sortable ()">cryptui_key_store_set_sortable</a>      (<a class="link" href="libcryptui-CryptUIKeyStore.html#CryptUIKeyStore" title="CryptUIKeyStore">CryptUIKeyStore</a> *ckstore,
64
 
                                                         <a
65
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
66
 
>gboolean</a> sortable);
67
 
<a
68
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
69
 
>gboolean</a>            <a class="link" href="libcryptui-CryptUIKeyStore.html#cryptui-key-store-get-sortable" title="cryptui_key_store_get_sortable ()">cryptui_key_store_get_sortable</a>      (<a class="link" href="libcryptui-CryptUIKeyStore.html#CryptUIKeyStore" title="CryptUIKeyStore">CryptUIKeyStore</a> *ckstore);
70
 
void                <a class="link" href="libcryptui-CryptUIKeyStore.html#cryptui-key-store-check-toggled" title="cryptui_key_store_check_toggled ()">cryptui_key_store_check_toggled</a>     (<a class="link" href="libcryptui-CryptUIKeyStore.html#CryptUIKeyStore" title="CryptUIKeyStore">CryptUIKeyStore</a> *ckstore,
71
 
                                                         GtkTreeView *view,
72
 
                                                         GtkTreeIter *iter);
73
 
<a
74
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
75
 
>gboolean</a>            <a class="link" href="libcryptui-CryptUIKeyStore.html#cryptui-key-store-get-iter-from-key" title="cryptui_key_store_get_iter_from_key ()">cryptui_key_store_get_iter_from_key</a> (<a class="link" href="libcryptui-CryptUIKeyStore.html#CryptUIKeyStore" title="CryptUIKeyStore">CryptUIKeyStore</a> *ckstore,
76
 
                                                         const <a
77
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
78
 
>gchar</a> *key,
79
 
                                                         GtkTreeIter *iter);
80
 
const <a
81
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
82
 
>gchar</a>*        <a class="link" href="libcryptui-CryptUIKeyStore.html#cryptui-key-store-get-key-from-iter" title="cryptui_key_store_get_key_from_iter ()">cryptui_key_store_get_key_from_iter</a> (<a class="link" href="libcryptui-CryptUIKeyStore.html#CryptUIKeyStore" title="CryptUIKeyStore">CryptUIKeyStore</a> *ckstore,
83
 
                                                         GtkTreeIter *iter);
84
 
const <a
85
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
86
 
>gchar</a>*        <a class="link" href="libcryptui-CryptUIKeyStore.html#cryptui-key-store-get-key-from-path" title="cryptui_key_store_get_key_from_path ()">cryptui_key_store_get_key_from_path</a> (<a class="link" href="libcryptui-CryptUIKeyStore.html#CryptUIKeyStore" title="CryptUIKeyStore">CryptUIKeyStore</a> *ckstore,
87
 
                                                         GtkTreePath *path);
88
 
<a
89
 
href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"
90
 
>GList</a>*              <a class="link" href="libcryptui-CryptUIKeyStore.html#cryptui-key-store-get-all-keys" title="cryptui_key_store_get_all_keys ()">cryptui_key_store_get_all_keys</a>      (<a class="link" href="libcryptui-CryptUIKeyStore.html#CryptUIKeyStore" title="CryptUIKeyStore">CryptUIKeyStore</a> *ckstore);
91
 
<a
92
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
93
 
>guint</a>               <a class="link" href="libcryptui-CryptUIKeyStore.html#cryptui-key-store-get-count" title="cryptui_key_store_get_count ()">cryptui_key_store_get_count</a>         (<a class="link" href="libcryptui-CryptUIKeyStore.html#CryptUIKeyStore" title="CryptUIKeyStore">CryptUIKeyStore</a> *ckstore);
94
 
<a
95
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
96
 
>gboolean</a>            <a class="link" href="libcryptui-CryptUIKeyStore.html#cryptui-key-store-have-selected-keys" title="cryptui_key_store_have_selected_keys ()">cryptui_key_store_have_selected_keys</a>
97
 
                                                        (<a class="link" href="libcryptui-CryptUIKeyStore.html#CryptUIKeyStore" title="CryptUIKeyStore">CryptUIKeyStore</a> *ckstore,
98
 
                                                         GtkTreeView *view);
99
 
<a
100
 
href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"
101
 
>GList</a>*              <a class="link" href="libcryptui-CryptUIKeyStore.html#cryptui-key-store-get-selected-keys" title="cryptui_key_store_get_selected_keys ()">cryptui_key_store_get_selected_keys</a> (<a class="link" href="libcryptui-CryptUIKeyStore.html#CryptUIKeyStore" title="CryptUIKeyStore">CryptUIKeyStore</a> *ckstore,
102
 
                                                         GtkTreeView *view);
103
 
void                <a class="link" href="libcryptui-CryptUIKeyStore.html#cryptui-key-store-set-selected-keys" title="cryptui_key_store_set_selected_keys ()">cryptui_key_store_set_selected_keys</a> (<a class="link" href="libcryptui-CryptUIKeyStore.html#CryptUIKeyStore" title="CryptUIKeyStore">CryptUIKeyStore</a> *ckstore,
104
 
                                                         GtkTreeView *view,
105
 
                                                         <a
106
 
href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"
107
 
>GList</a> *keys);
108
 
const <a
109
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
110
 
>gchar</a>*        <a class="link" href="libcryptui-CryptUIKeyStore.html#cryptui-key-store-get-selected-key" title="cryptui_key_store_get_selected_key ()">cryptui_key_store_get_selected_key</a>  (<a class="link" href="libcryptui-CryptUIKeyStore.html#CryptUIKeyStore" title="CryptUIKeyStore">CryptUIKeyStore</a> *ckstore,
111
 
                                                         GtkTreeView *view);
112
 
void                <a class="link" href="libcryptui-CryptUIKeyStore.html#cryptui-key-store-set-selected-key" title="cryptui_key_store_set_selected_key ()">cryptui_key_store_set_selected_key</a>  (<a class="link" href="libcryptui-CryptUIKeyStore.html#CryptUIKeyStore" title="CryptUIKeyStore">CryptUIKeyStore</a> *ckstore,
113
 
                                                         GtkTreeView *view,
114
 
                                                         const <a
115
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
116
 
>gchar</a> *selkey);
117
 
void                <a class="link" href="libcryptui-CryptUIKeyStore.html#cryptui-key-store-set-search-mode" title="cryptui_key_store_set_search_mode ()">cryptui_key_store_set_search_mode</a>   (<a class="link" href="libcryptui-CryptUIKeyStore.html#CryptUIKeyStore" title="CryptUIKeyStore">CryptUIKeyStore</a> *ckstore,
118
 
                                                         <a class="link" href="libcryptui-CryptUIKeyStore.html#CryptUIKeyStoreMode" title="enum CryptUIKeyStoreMode">CryptUIKeyStoreMode</a> mode);
119
 
void                <a class="link" href="libcryptui-CryptUIKeyStore.html#cryptui-key-store-set-search-text" title="cryptui_key_store_set_search_text ()">cryptui_key_store_set_search_text</a>   (<a class="link" href="libcryptui-CryptUIKeyStore.html#CryptUIKeyStore" title="CryptUIKeyStore">CryptUIKeyStore</a> *ckstore,
120
 
                                                         const <a
121
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
122
 
>gchar</a> *search_text);
123
 
void                <a class="link" href="libcryptui-CryptUIKeyStore.html#cryptui-key-store-set-filter" title="cryptui_key_store_set_filter ()">cryptui_key_store_set_filter</a>        (<a class="link" href="libcryptui-CryptUIKeyStore.html#CryptUIKeyStore" title="CryptUIKeyStore">CryptUIKeyStore</a> *ckstore,
124
 
                                                         <a class="link" href="libcryptui-CryptUIKeyStore.html#CryptUIKeyStoreFilterFunc" title="CryptUIKeyStoreFilterFunc ()">CryptUIKeyStoreFilterFunc</a> func,
125
 
                                                         <a
126
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
127
 
>gpointer</a> user_data);
128
 
</pre>
129
 
</div>
130
 
<div class="refsect1" title="Description">
131
 
<a name="libcryptui-CryptUIKeyStore.description"></a><h2>Description</h2>
132
 
<p>
133
 
</p>
134
 
</div>
135
 
<div class="refsect1" title="Details">
136
 
<a name="libcryptui-CryptUIKeyStore.details"></a><h2>Details</h2>
137
 
<div class="refsect2" title="CryptUIKeyStorePriv">
138
 
<a name="CryptUIKeyStorePriv"></a><h3>CryptUIKeyStorePriv</h3>
139
 
<pre class="programlisting">typedef struct _CryptUIKeyStorePriv CryptUIKeyStorePriv;</pre>
140
 
<p>
141
 
</p>
142
 
</div>
143
 
<hr>
144
 
<div class="refsect2" title="CryptUIKeyStore">
145
 
<a name="CryptUIKeyStore"></a><h3>CryptUIKeyStore</h3>
146
 
<pre class="programlisting">typedef struct {
147
 
    GtkTreeModelSort       parent;
148
 
 
149
 
    CryptUIKeyset          *ckset;
150
 
} CryptUIKeyStore;
151
 
</pre>
152
 
<p>
153
 
</p>
154
 
</div>
155
 
<hr>
156
 
<div class="refsect2" title="enum CryptUIKeyStoreMode">
157
 
<a name="CryptUIKeyStoreMode"></a><h3>enum CryptUIKeyStoreMode</h3>
158
 
<pre class="programlisting">typedef enum _CryptUIKeyStoreMode {
159
 
    CRYPTUI_KEY_STORE_MODE_ALL,
160
 
    CRYPTUI_KEY_STORE_MODE_SELECTED,
161
 
    CRYPTUI_KEY_STORE_MODE_RESULTS
162
 
} CryptUIKeyStoreMode;
163
 
</pre>
164
 
<p>
165
 
</p>
166
 
</div>
167
 
<hr>
168
 
<div class="refsect2" title="CryptUIKeyStoreFilterFunc ()">
169
 
<a name="CryptUIKeyStoreFilterFunc"></a><h3>CryptUIKeyStoreFilterFunc ()</h3>
170
 
<pre class="programlisting"><a
171
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
172
 
>gboolean</a>            (*CryptUIKeyStoreFilterFunc)        (<a class="link" href="libcryptui-CryptUIKeyset.html#CryptUIKeyset" title="CryptUIKeyset">CryptUIKeyset</a> *ckset,
173
 
                                                         const <a
174
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
175
 
>gchar</a> *key,
176
 
                                                         <a
177
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
178
 
>gpointer</a> user_data);</pre>
179
 
<p>
180
 
</p>
181
 
<div class="variablelist"><table border="0">
182
 
<col align="left" valign="top">
183
 
<tbody>
184
 
<tr>
185
 
<td><p><span class="term"><em class="parameter"><code>ckset</code></em> :</span></p></td>
186
 
<td>
187
 
</td>
188
 
</tr>
189
 
<tr>
190
 
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
191
 
<td>
192
 
</td>
193
 
</tr>
194
 
<tr>
195
 
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
196
 
<td>
197
 
</td>
198
 
</tr>
199
 
<tr>
200
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
201
 
<td>
202
 
</td>
203
 
</tr>
204
 
</tbody>
205
 
</table></div>
206
 
</div>
207
 
<hr>
208
 
<div class="refsect2" title="cryptui_key_store_new ()">
209
 
<a name="cryptui-key-store-new"></a><h3>cryptui_key_store_new ()</h3>
210
 
<pre class="programlisting"><a class="link" href="libcryptui-CryptUIKeyStore.html#CryptUIKeyStore" title="CryptUIKeyStore">CryptUIKeyStore</a>*    cryptui_key_store_new               (<a class="link" href="libcryptui-CryptUIKeyset.html#CryptUIKeyset" title="CryptUIKeyset">CryptUIKeyset</a> *keyset,
211
 
                                                         <a
212
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
213
 
>gboolean</a> use_checks,
214
 
                                                         const <a
215
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
216
 
>gchar</a> *none_option);</pre>
217
 
<p>
218
 
Creates a new libcryptui key store setting the keystore, use-checks and none-option
219
 
properties</p>
220
 
<p>
221
 
</p>
222
 
<div class="variablelist"><table border="0">
223
 
<col align="left" valign="top">
224
 
<tbody>
225
 
<tr>
226
 
<td><p><span class="term"><em class="parameter"><code>keyset</code></em> :</span></p></td>
227
 
<td> a libcryptui keyset
228
 
</td>
229
 
</tr>
230
 
<tr>
231
 
<td><p><span class="term"><em class="parameter"><code>use_checks</code></em> :</span></p></td>
232
 
<td> a gboolean
233
 
</td>
234
 
</tr>
235
 
<tr>
236
 
<td><p><span class="term"><em class="parameter"><code>none_option</code></em> :</span></p></td>
237
 
<td> a const gchar string
238
 
</td>
239
 
</tr>
240
 
<tr>
241
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
242
 
<td> the new libcryptui key store
243
 
</td>
244
 
</tr>
245
 
</tbody>
246
 
</table></div>
247
 
</div>
248
 
<hr>
249
 
<div class="refsect2" title="cryptui_key_store_get_keyset ()">
250
 
<a name="cryptui-key-store-get-keyset"></a><h3>cryptui_key_store_get_keyset ()</h3>
251
 
<pre class="programlisting"><a class="link" href="libcryptui-CryptUIKeyset.html#CryptUIKeyset" title="CryptUIKeyset">CryptUIKeyset</a>*      cryptui_key_store_get_keyset        (<a class="link" href="libcryptui-CryptUIKeyStore.html#CryptUIKeyStore" title="CryptUIKeyStore">CryptUIKeyStore</a> *ckstore);</pre>
252
 
<p>
253
 
Gets ckstore's internal keyset</p>
254
 
<p>
255
 
</p>
256
 
<div class="variablelist"><table border="0">
257
 
<col align="left" valign="top">
258
 
<tbody>
259
 
<tr>
260
 
<td><p><span class="term"><em class="parameter"><code>ckstore</code></em> :</span></p></td>
261
 
<td> a libcryptui key store
262
 
</td>
263
 
</tr>
264
 
<tr>
265
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
266
 
<td> the internal libcryptui keyset
267
 
</td>
268
 
</tr>
269
 
</tbody>
270
 
</table></div>
271
 
</div>
272
 
<hr>
273
 
<div class="refsect2" title="cryptui_key_store_set_sortable ()">
274
 
<a name="cryptui-key-store-set-sortable"></a><h3>cryptui_key_store_set_sortable ()</h3>
275
 
<pre class="programlisting">void                cryptui_key_store_set_sortable      (<a class="link" href="libcryptui-CryptUIKeyStore.html#CryptUIKeyStore" title="CryptUIKeyStore">CryptUIKeyStore</a> *ckstore,
276
 
                                                         <a
277
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
278
 
>gboolean</a> sortable);</pre>
279
 
<p>
280
 
Sets whether ckstore is sortable or not</p>
281
 
<p>
282
 
</p>
283
 
<div class="variablelist"><table border="0">
284
 
<col align="left" valign="top">
285
 
<tbody>
286
 
<tr>
287
 
<td><p><span class="term"><em class="parameter"><code>ckstore</code></em> :</span></p></td>
288
 
<td> a libcryptui key store
289
 
</td>
290
 
</tr>
291
 
<tr>
292
 
<td><p><span class="term"><em class="parameter"><code>sortable</code></em> :</span></p></td>
293
 
<td> a gboolean
294
 
</td>
295
 
</tr>
296
 
</tbody>
297
 
</table></div>
298
 
</div>
299
 
<hr>
300
 
<div class="refsect2" title="cryptui_key_store_get_sortable ()">
301
 
<a name="cryptui-key-store-get-sortable"></a><h3>cryptui_key_store_get_sortable ()</h3>
302
 
<pre class="programlisting"><a
303
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
304
 
>gboolean</a>            cryptui_key_store_get_sortable      (<a class="link" href="libcryptui-CryptUIKeyStore.html#CryptUIKeyStore" title="CryptUIKeyStore">CryptUIKeyStore</a> *ckstore);</pre>
305
 
<p>
306
 
Gets whether ckstore is sortable or not</p>
307
 
<p>
308
 
</p>
309
 
<div class="variablelist"><table border="0">
310
 
<col align="left" valign="top">
311
 
<tbody>
312
 
<tr>
313
 
<td><p><span class="term"><em class="parameter"><code>ckstore</code></em> :</span></p></td>
314
 
<td> a libcryptui key store
315
 
</td>
316
 
</tr>
317
 
<tr>
318
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
319
 
<td> TRUE if ckstore is sortable, FALSE otherwise
320
 
</td>
321
 
</tr>
322
 
</tbody>
323
 
</table></div>
324
 
</div>
325
 
<hr>
326
 
<div class="refsect2" title="cryptui_key_store_check_toggled ()">
327
 
<a name="cryptui-key-store-check-toggled"></a><h3>cryptui_key_store_check_toggled ()</h3>
328
 
<pre class="programlisting">void                cryptui_key_store_check_toggled     (<a class="link" href="libcryptui-CryptUIKeyStore.html#CryptUIKeyStore" title="CryptUIKeyStore">CryptUIKeyStore</a> *ckstore,
329
 
                                                         GtkTreeView *view,
330
 
                                                         GtkTreeIter *iter);</pre>
331
 
<p>
332
 
Gets whether the check at iter is toggled</p>
333
 
<p>
334
 
</p>
335
 
<div class="variablelist"><table border="0">
336
 
<col align="left" valign="top">
337
 
<tbody>
338
 
<tr>
339
 
<td><p><span class="term"><em class="parameter"><code>ckstore</code></em> :</span></p></td>
340
 
<td> a libcryptui key store
341
 
</td>
342
 
</tr>
343
 
<tr>
344
 
<td><p><span class="term"><em class="parameter"><code>view</code></em> :</span></p></td>
345
 
<td> a GtkTreeView
346
 
</td>
347
 
</tr>
348
 
<tr>
349
 
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
350
 
<td> a GtkTreeIter
351
 
</td>
352
 
</tr>
353
 
</tbody>
354
 
</table></div>
355
 
</div>
356
 
<hr>
357
 
<div class="refsect2" title="cryptui_key_store_get_iter_from_key ()">
358
 
<a name="cryptui-key-store-get-iter-from-key"></a><h3>cryptui_key_store_get_iter_from_key ()</h3>
359
 
<pre class="programlisting"><a
360
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
361
 
>gboolean</a>            cryptui_key_store_get_iter_from_key (<a class="link" href="libcryptui-CryptUIKeyStore.html#CryptUIKeyStore" title="CryptUIKeyStore">CryptUIKeyStore</a> *ckstore,
362
 
                                                         const <a
363
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
364
 
>gchar</a> *key,
365
 
                                                         GtkTreeIter *iter);</pre>
366
 
<p>
367
 
Get the iter that the key is stored at in ckstore</p>
368
 
<p>
369
 
</p>
370
 
<div class="variablelist"><table border="0">
371
 
<col align="left" valign="top">
372
 
<tbody>
373
 
<tr>
374
 
<td><p><span class="term"><em class="parameter"><code>ckstore</code></em> :</span></p></td>
375
 
<td> a libcryptui key store
376
 
</td>
377
 
</tr>
378
 
<tr>
379
 
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
380
 
<td> a libcryptui key
381
 
</td>
382
 
</tr>
383
 
<tr>
384
 
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
385
 
<td> a GtkTreeIter
386
 
</td>
387
 
</tr>
388
 
<tr>
389
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
390
 
<td> TRUE if the key is present in the ckstore and the value of iter
391
 
         has been modified to point to it, FALSE otherwise
392
 
</td>
393
 
</tr>
394
 
</tbody>
395
 
</table></div>
396
 
</div>
397
 
<hr>
398
 
<div class="refsect2" title="cryptui_key_store_get_key_from_iter ()">
399
 
<a name="cryptui-key-store-get-key-from-iter"></a><h3>cryptui_key_store_get_key_from_iter ()</h3>
400
 
<pre class="programlisting">const <a
401
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
402
 
>gchar</a>*        cryptui_key_store_get_key_from_iter (<a class="link" href="libcryptui-CryptUIKeyStore.html#CryptUIKeyStore" title="CryptUIKeyStore">CryptUIKeyStore</a> *ckstore,
403
 
                                                         GtkTreeIter *iter);</pre>
404
 
<p>
405
 
Gets the key stored at iter in ckstore</p>
406
 
<p>
407
 
</p>
408
 
<div class="variablelist"><table border="0">
409
 
<col align="left" valign="top">
410
 
<tbody>
411
 
<tr>
412
 
<td><p><span class="term"><em class="parameter"><code>ckstore</code></em> :</span></p></td>
413
 
<td> a libcryptui key store
414
 
</td>
415
 
</tr>
416
 
<tr>
417
 
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
418
 
<td> a GtkTreeIter
419
 
</td>
420
 
</tr>
421
 
<tr>
422
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
423
 
<td> a libcryptui key
424
 
</td>
425
 
</tr>
426
 
</tbody>
427
 
</table></div>
428
 
</div>
429
 
<hr>
430
 
<div class="refsect2" title="cryptui_key_store_get_key_from_path ()">
431
 
<a name="cryptui-key-store-get-key-from-path"></a><h3>cryptui_key_store_get_key_from_path ()</h3>
432
 
<pre class="programlisting">const <a
433
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
434
 
>gchar</a>*        cryptui_key_store_get_key_from_path (<a class="link" href="libcryptui-CryptUIKeyStore.html#CryptUIKeyStore" title="CryptUIKeyStore">CryptUIKeyStore</a> *ckstore,
435
 
                                                         GtkTreePath *path);</pre>
436
 
<p>
437
 
Get the key at path in ckstore</p>
438
 
<p>
439
 
</p>
440
 
<div class="variablelist"><table border="0">
441
 
<col align="left" valign="top">
442
 
<tbody>
443
 
<tr>
444
 
<td><p><span class="term"><em class="parameter"><code>ckstore</code></em> :</span></p></td>
445
 
<td> a libcryptui key store
446
 
</td>
447
 
</tr>
448
 
<tr>
449
 
<td><p><span class="term"><em class="parameter"><code>path</code></em> :</span></p></td>
450
 
<td> a GtkTreePath
451
 
</td>
452
 
</tr>
453
 
<tr>
454
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
455
 
<td> a libcryptui key
456
 
</td>
457
 
</tr>
458
 
</tbody>
459
 
</table></div>
460
 
</div>
461
 
<hr>
462
 
<div class="refsect2" title="cryptui_key_store_get_all_keys ()">
463
 
<a name="cryptui-key-store-get-all-keys"></a><h3>cryptui_key_store_get_all_keys ()</h3>
464
 
<pre class="programlisting"><a
465
 
href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"
466
 
>GList</a>*              cryptui_key_store_get_all_keys      (<a class="link" href="libcryptui-CryptUIKeyStore.html#CryptUIKeyStore" title="CryptUIKeyStore">CryptUIKeyStore</a> *ckstore);</pre>
467
 
<p>
468
 
Get a list of all keys in ckstore</p>
469
 
<p>
470
 
</p>
471
 
<div class="variablelist"><table border="0">
472
 
<col align="left" valign="top">
473
 
<tbody>
474
 
<tr>
475
 
<td><p><span class="term"><em class="parameter"><code>ckstore</code></em> :</span></p></td>
476
 
<td> a libcryptui key store
477
 
</td>
478
 
</tr>
479
 
<tr>
480
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
481
 
<td> a list of libcryptui keys
482
 
</td>
483
 
</tr>
484
 
</tbody>
485
 
</table></div>
486
 
</div>
487
 
<hr>
488
 
<div class="refsect2" title="cryptui_key_store_get_count ()">
489
 
<a name="cryptui-key-store-get-count"></a><h3>cryptui_key_store_get_count ()</h3>
490
 
<pre class="programlisting"><a
491
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
492
 
>guint</a>               cryptui_key_store_get_count         (<a class="link" href="libcryptui-CryptUIKeyStore.html#CryptUIKeyStore" title="CryptUIKeyStore">CryptUIKeyStore</a> *ckstore);</pre>
493
 
<p>
494
 
Get the number of keys stored in ckstore</p>
495
 
<p>
496
 
</p>
497
 
<div class="variablelist"><table border="0">
498
 
<col align="left" valign="top">
499
 
<tbody>
500
 
<tr>
501
 
<td><p><span class="term"><em class="parameter"><code>ckstore</code></em> :</span></p></td>
502
 
<td> a libcryptui key store
503
 
</td>
504
 
</tr>
505
 
<tr>
506
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
507
 
<td> the number of keys
508
 
</td>
509
 
</tr>
510
 
</tbody>
511
 
</table></div>
512
 
</div>
513
 
<hr>
514
 
<div class="refsect2" title="cryptui_key_store_have_selected_keys ()">
515
 
<a name="cryptui-key-store-have-selected-keys"></a><h3>cryptui_key_store_have_selected_keys ()</h3>
516
 
<pre class="programlisting"><a
517
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
518
 
>gboolean</a>            cryptui_key_store_have_selected_keys
519
 
                                                        (<a class="link" href="libcryptui-CryptUIKeyStore.html#CryptUIKeyStore" title="CryptUIKeyStore">CryptUIKeyStore</a> *ckstore,
520
 
                                                         GtkTreeView *view);</pre>
521
 
<p>
522
 
Determines whether keys are selected or not.</p>
523
 
<p>
524
 
</p>
525
 
<div class="variablelist"><table border="0">
526
 
<col align="left" valign="top">
527
 
<tbody>
528
 
<tr>
529
 
<td><p><span class="term"><em class="parameter"><code>ckstore</code></em> :</span></p></td>
530
 
<td> a libcryptui key store
531
 
</td>
532
 
</tr>
533
 
<tr>
534
 
<td><p><span class="term"><em class="parameter"><code>view</code></em> :</span></p></td>
535
 
<td> a GtkTreeView
536
 
</td>
537
 
</tr>
538
 
<tr>
539
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
540
 
<td> TRUE if keys have been selected, FALSE otherwise
541
 
</td>
542
 
</tr>
543
 
</tbody>
544
 
</table></div>
545
 
</div>
546
 
<hr>
547
 
<div class="refsect2" title="cryptui_key_store_get_selected_keys ()">
548
 
<a name="cryptui-key-store-get-selected-keys"></a><h3>cryptui_key_store_get_selected_keys ()</h3>
549
 
<pre class="programlisting"><a
550
 
href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"
551
 
>GList</a>*              cryptui_key_store_get_selected_keys (<a class="link" href="libcryptui-CryptUIKeyStore.html#CryptUIKeyStore" title="CryptUIKeyStore">CryptUIKeyStore</a> *ckstore,
552
 
                                                         GtkTreeView *view);</pre>
553
 
<p>
554
 
Get the currently selected keys</p>
555
 
<p>
556
 
</p>
557
 
<div class="variablelist"><table border="0">
558
 
<col align="left" valign="top">
559
 
<tbody>
560
 
<tr>
561
 
<td><p><span class="term"><em class="parameter"><code>ckstore</code></em> :</span></p></td>
562
 
<td> a libcryptui key store
563
 
</td>
564
 
</tr>
565
 
<tr>
566
 
<td><p><span class="term"><em class="parameter"><code>view</code></em> :</span></p></td>
567
 
<td> a GtkTreeView
568
 
</td>
569
 
</tr>
570
 
<tr>
571
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
572
 
<td> a list of libcryptui keys
573
 
</td>
574
 
</tr>
575
 
</tbody>
576
 
</table></div>
577
 
</div>
578
 
<hr>
579
 
<div class="refsect2" title="cryptui_key_store_set_selected_keys ()">
580
 
<a name="cryptui-key-store-set-selected-keys"></a><h3>cryptui_key_store_set_selected_keys ()</h3>
581
 
<pre class="programlisting">void                cryptui_key_store_set_selected_keys (<a class="link" href="libcryptui-CryptUIKeyStore.html#CryptUIKeyStore" title="CryptUIKeyStore">CryptUIKeyStore</a> *ckstore,
582
 
                                                         GtkTreeView *view,
583
 
                                                         <a
584
 
href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"
585
 
>GList</a> *keys);</pre>
586
 
<p>
587
 
Set the current selection to be the list of keys</p>
588
 
<p>
589
 
</p>
590
 
<div class="variablelist"><table border="0">
591
 
<col align="left" valign="top">
592
 
<tbody>
593
 
<tr>
594
 
<td><p><span class="term"><em class="parameter"><code>ckstore</code></em> :</span></p></td>
595
 
<td> a libcryptui key store
596
 
</td>
597
 
</tr>
598
 
<tr>
599
 
<td><p><span class="term"><em class="parameter"><code>view</code></em> :</span></p></td>
600
 
<td> a GtkTreeView
601
 
</td>
602
 
</tr>
603
 
<tr>
604
 
<td><p><span class="term"><em class="parameter"><code>keys</code></em> :</span></p></td>
605
 
<td> a list of libcryptui keys
606
 
</td>
607
 
</tr>
608
 
</tbody>
609
 
</table></div>
610
 
</div>
611
 
<hr>
612
 
<div class="refsect2" title="cryptui_key_store_get_selected_key ()">
613
 
<a name="cryptui-key-store-get-selected-key"></a><h3>cryptui_key_store_get_selected_key ()</h3>
614
 
<pre class="programlisting">const <a
615
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
616
 
>gchar</a>*        cryptui_key_store_get_selected_key  (<a class="link" href="libcryptui-CryptUIKeyStore.html#CryptUIKeyStore" title="CryptUIKeyStore">CryptUIKeyStore</a> *ckstore,
617
 
                                                         GtkTreeView *view);</pre>
618
 
<p>
619
 
Get the currently selected key</p>
620
 
<p>
621
 
</p>
622
 
<div class="variablelist"><table border="0">
623
 
<col align="left" valign="top">
624
 
<tbody>
625
 
<tr>
626
 
<td><p><span class="term"><em class="parameter"><code>ckstore</code></em> :</span></p></td>
627
 
<td> a libcryptui key store
628
 
</td>
629
 
</tr>
630
 
<tr>
631
 
<td><p><span class="term"><em class="parameter"><code>view</code></em> :</span></p></td>
632
 
<td> a GtkTreeView
633
 
</td>
634
 
</tr>
635
 
<tr>
636
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
637
 
<td> a libcryptui key
638
 
</td>
639
 
</tr>
640
 
</tbody>
641
 
</table></div>
642
 
</div>
643
 
<hr>
644
 
<div class="refsect2" title="cryptui_key_store_set_selected_key ()">
645
 
<a name="cryptui-key-store-set-selected-key"></a><h3>cryptui_key_store_set_selected_key ()</h3>
646
 
<pre class="programlisting">void                cryptui_key_store_set_selected_key  (<a class="link" href="libcryptui-CryptUIKeyStore.html#CryptUIKeyStore" title="CryptUIKeyStore">CryptUIKeyStore</a> *ckstore,
647
 
                                                         GtkTreeView *view,
648
 
                                                         const <a
649
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
650
 
>gchar</a> *selkey);</pre>
651
 
<p>
652
 
Marks the given key as selected</p>
653
 
<p>
654
 
</p>
655
 
<div class="variablelist"><table border="0">
656
 
<col align="left" valign="top">
657
 
<tbody>
658
 
<tr>
659
 
<td><p><span class="term"><em class="parameter"><code>ckstore</code></em> :</span></p></td>
660
 
<td> a libcryptui key store
661
 
</td>
662
 
</tr>
663
 
<tr>
664
 
<td><p><span class="term"><em class="parameter"><code>view</code></em> :</span></p></td>
665
 
<td> a GtkTreeView
666
 
</td>
667
 
</tr>
668
 
<tr>
669
 
<td><p><span class="term"><em class="parameter"><code>selkey</code></em> :</span></p></td>
670
 
<td> a libcryptui key
671
 
</td>
672
 
</tr>
673
 
</tbody>
674
 
</table></div>
675
 
</div>
676
 
<hr>
677
 
<div class="refsect2" title="cryptui_key_store_set_search_mode ()">
678
 
<a name="cryptui-key-store-set-search-mode"></a><h3>cryptui_key_store_set_search_mode ()</h3>
679
 
<pre class="programlisting">void                cryptui_key_store_set_search_mode   (<a class="link" href="libcryptui-CryptUIKeyStore.html#CryptUIKeyStore" title="CryptUIKeyStore">CryptUIKeyStore</a> *ckstore,
680
 
                                                         <a class="link" href="libcryptui-CryptUIKeyStore.html#CryptUIKeyStoreMode" title="enum CryptUIKeyStoreMode">CryptUIKeyStoreMode</a> mode);</pre>
681
 
<p>
682
 
Sets whether the keys returned will be all, just those searched for, or
683
 
those selected.</p>
684
 
<p>
685
 
</p>
686
 
<div class="variablelist"><table border="0">
687
 
<col align="left" valign="top">
688
 
<tbody>
689
 
<tr>
690
 
<td><p><span class="term"><em class="parameter"><code>ckstore</code></em> :</span></p></td>
691
 
<td> a libcryptui key store
692
 
</td>
693
 
</tr>
694
 
<tr>
695
 
<td><p><span class="term"><em class="parameter"><code>mode</code></em> :</span></p></td>
696
 
<td> search mode
697
 
</td>
698
 
</tr>
699
 
</tbody>
700
 
</table></div>
701
 
</div>
702
 
<hr>
703
 
<div class="refsect2" title="cryptui_key_store_set_search_text ()">
704
 
<a name="cryptui-key-store-set-search-text"></a><h3>cryptui_key_store_set_search_text ()</h3>
705
 
<pre class="programlisting">void                cryptui_key_store_set_search_text   (<a class="link" href="libcryptui-CryptUIKeyStore.html#CryptUIKeyStore" title="CryptUIKeyStore">CryptUIKeyStore</a> *ckstore,
706
 
                                                         const <a
707
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
708
 
>gchar</a> *search_text);</pre>
709
 
<p>
710
 
Filters the keys in the store by the text in search_text.</p>
711
 
<p>
712
 
</p>
713
 
<div class="variablelist"><table border="0">
714
 
<col align="left" valign="top">
715
 
<tbody>
716
 
<tr>
717
 
<td><p><span class="term"><em class="parameter"><code>ckstore</code></em> :</span></p></td>
718
 
<td> a libcryptui key store
719
 
</td>
720
 
</tr>
721
 
<tr>
722
 
<td><p><span class="term"><em class="parameter"><code>search_text</code></em> :</span></p></td>
723
 
<td> a string
724
 
</td>
725
 
</tr>
726
 
</tbody>
727
 
</table></div>
728
 
</div>
729
 
<hr>
730
 
<div class="refsect2" title="cryptui_key_store_set_filter ()">
731
 
<a name="cryptui-key-store-set-filter"></a><h3>cryptui_key_store_set_filter ()</h3>
732
 
<pre class="programlisting">void                cryptui_key_store_set_filter        (<a class="link" href="libcryptui-CryptUIKeyStore.html#CryptUIKeyStore" title="CryptUIKeyStore">CryptUIKeyStore</a> *ckstore,
733
 
                                                         <a class="link" href="libcryptui-CryptUIKeyStore.html#CryptUIKeyStoreFilterFunc" title="CryptUIKeyStoreFilterFunc ()">CryptUIKeyStoreFilterFunc</a> func,
734
 
                                                         <a
735
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
736
 
>gpointer</a> user_data);</pre>
737
 
<p>
738
 
Filters the key store's keys with the given filter function.</p>
739
 
<p>
740
 
</p>
741
 
<div class="variablelist"><table border="0">
742
 
<col align="left" valign="top">
743
 
<tbody>
744
 
<tr>
745
 
<td><p><span class="term"><em class="parameter"><code>ckstore</code></em> :</span></p></td>
746
 
<td> a libcryptui key store
747
 
</td>
748
 
</tr>
749
 
<tr>
750
 
<td><p><span class="term"><em class="parameter"><code>func</code></em> :</span></p></td>
751
 
<td> a filter function
752
 
</td>
753
 
</tr>
754
 
<tr>
755
 
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
756
 
<td> a generic pointer
757
 
</td>
758
 
</tr>
759
 
</tbody>
760
 
</table></div>
761
 
</div>
762
 
</div>
763
 
</div>
764
 
<div class="footer">
765
 
<hr>
766
 
          Generated by GTK-Doc V1.11</div>
767
 
</body>
768
 
</html>