1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
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">
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">
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>
25
<tr><td colspan="5" class="shortcuts">
26
<a href="#libcryptui-CryptUIKeyStore.synopsis" class="shortcut">Top</a>
28
<a href="#libcryptui-CryptUIKeyStore.description" class="shortcut">Description</a>
31
<div class="refentry" title="CryptUIKeyStore">
32
<a name="libcryptui-CryptUIKeyStore"></a><div class="titlepage"></div>
33
<div class="refnamediv"><table width="100%"><tr>
35
<h2><span class="refentrytitle"><a name="libcryptui-CryptUIKeyStore.top_of_page"></a>CryptUIKeyStore</span></h2>
36
<p>CryptUIKeyStore</p>
38
<td valign="top" align="right"></td>
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>;
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,
50
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
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,
57
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
58
>gboolean</a> use_checks,
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,
65
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
66
>gboolean</a> sortable);
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,
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,
77
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
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,
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,
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);
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);
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,
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,
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,
106
href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"
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,
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,
115
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
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,
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,
126
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
127
>gpointer</a> user_data);
130
<div class="refsect1" title="Description">
131
<a name="libcryptui-CryptUIKeyStore.description"></a><h2>Description</h2>
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>
144
<div class="refsect2" title="CryptUIKeyStore">
145
<a name="CryptUIKeyStore"></a><h3>CryptUIKeyStore</h3>
146
<pre class="programlisting">typedef struct {
147
GtkTreeModelSort parent;
149
CryptUIKeyset *ckset;
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;
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,
174
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
177
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
178
>gpointer</a> user_data);</pre>
181
<div class="variablelist"><table border="0">
182
<col align="left" valign="top">
185
<td><p><span class="term"><em class="parameter"><code>ckset</code></em> :</span></p></td>
190
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
195
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
200
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
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,
212
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
213
>gboolean</a> use_checks,
215
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
216
>gchar</a> *none_option);</pre>
218
Creates a new libcryptui key store setting the keystore, use-checks and none-option
222
<div class="variablelist"><table border="0">
223
<col align="left" valign="top">
226
<td><p><span class="term"><em class="parameter"><code>keyset</code></em> :</span></p></td>
227
<td> a libcryptui keyset
231
<td><p><span class="term"><em class="parameter"><code>use_checks</code></em> :</span></p></td>
236
<td><p><span class="term"><em class="parameter"><code>none_option</code></em> :</span></p></td>
237
<td> a const gchar string
241
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
242
<td> the new libcryptui key store
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>
253
Gets ckstore's internal keyset</p>
256
<div class="variablelist"><table border="0">
257
<col align="left" valign="top">
260
<td><p><span class="term"><em class="parameter"><code>ckstore</code></em> :</span></p></td>
261
<td> a libcryptui key store
265
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
266
<td> the internal libcryptui keyset
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,
277
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
278
>gboolean</a> sortable);</pre>
280
Sets whether ckstore is sortable or not</p>
283
<div class="variablelist"><table border="0">
284
<col align="left" valign="top">
287
<td><p><span class="term"><em class="parameter"><code>ckstore</code></em> :</span></p></td>
288
<td> a libcryptui key store
292
<td><p><span class="term"><em class="parameter"><code>sortable</code></em> :</span></p></td>
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>
306
Gets whether ckstore is sortable or not</p>
309
<div class="variablelist"><table border="0">
310
<col align="left" valign="top">
313
<td><p><span class="term"><em class="parameter"><code>ckstore</code></em> :</span></p></td>
314
<td> a libcryptui key store
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
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,
330
GtkTreeIter *iter);</pre>
332
Gets whether the check at iter is toggled</p>
335
<div class="variablelist"><table border="0">
336
<col align="left" valign="top">
339
<td><p><span class="term"><em class="parameter"><code>ckstore</code></em> :</span></p></td>
340
<td> a libcryptui key store
344
<td><p><span class="term"><em class="parameter"><code>view</code></em> :</span></p></td>
349
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
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,
363
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
365
GtkTreeIter *iter);</pre>
367
Get the iter that the key is stored at in ckstore</p>
370
<div class="variablelist"><table border="0">
371
<col align="left" valign="top">
374
<td><p><span class="term"><em class="parameter"><code>ckstore</code></em> :</span></p></td>
375
<td> a libcryptui key store
379
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
380
<td> a libcryptui key
384
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
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
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>
405
Gets the key stored at iter in ckstore</p>
408
<div class="variablelist"><table border="0">
409
<col align="left" valign="top">
412
<td><p><span class="term"><em class="parameter"><code>ckstore</code></em> :</span></p></td>
413
<td> a libcryptui key store
417
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
422
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
423
<td> a libcryptui key
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>
437
Get the key at path in ckstore</p>
440
<div class="variablelist"><table border="0">
441
<col align="left" valign="top">
444
<td><p><span class="term"><em class="parameter"><code>ckstore</code></em> :</span></p></td>
445
<td> a libcryptui key store
449
<td><p><span class="term"><em class="parameter"><code>path</code></em> :</span></p></td>
454
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
455
<td> a libcryptui key
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>
468
Get a list of all keys in ckstore</p>
471
<div class="variablelist"><table border="0">
472
<col align="left" valign="top">
475
<td><p><span class="term"><em class="parameter"><code>ckstore</code></em> :</span></p></td>
476
<td> a libcryptui key store
480
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
481
<td> a list of libcryptui keys
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>
494
Get the number of keys stored in ckstore</p>
497
<div class="variablelist"><table border="0">
498
<col align="left" valign="top">
501
<td><p><span class="term"><em class="parameter"><code>ckstore</code></em> :</span></p></td>
502
<td> a libcryptui key store
506
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
507
<td> the number of keys
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>
522
Determines whether keys are selected or not.</p>
525
<div class="variablelist"><table border="0">
526
<col align="left" valign="top">
529
<td><p><span class="term"><em class="parameter"><code>ckstore</code></em> :</span></p></td>
530
<td> a libcryptui key store
534
<td><p><span class="term"><em class="parameter"><code>view</code></em> :</span></p></td>
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
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>
554
Get the currently selected keys</p>
557
<div class="variablelist"><table border="0">
558
<col align="left" valign="top">
561
<td><p><span class="term"><em class="parameter"><code>ckstore</code></em> :</span></p></td>
562
<td> a libcryptui key store
566
<td><p><span class="term"><em class="parameter"><code>view</code></em> :</span></p></td>
571
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
572
<td> a list of libcryptui keys
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,
584
href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"
585
>GList</a> *keys);</pre>
587
Set the current selection to be the list of keys</p>
590
<div class="variablelist"><table border="0">
591
<col align="left" valign="top">
594
<td><p><span class="term"><em class="parameter"><code>ckstore</code></em> :</span></p></td>
595
<td> a libcryptui key store
599
<td><p><span class="term"><em class="parameter"><code>view</code></em> :</span></p></td>
604
<td><p><span class="term"><em class="parameter"><code>keys</code></em> :</span></p></td>
605
<td> a list of libcryptui keys
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>
619
Get the currently selected key</p>
622
<div class="variablelist"><table border="0">
623
<col align="left" valign="top">
626
<td><p><span class="term"><em class="parameter"><code>ckstore</code></em> :</span></p></td>
627
<td> a libcryptui key store
631
<td><p><span class="term"><em class="parameter"><code>view</code></em> :</span></p></td>
636
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
637
<td> a libcryptui key
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,
649
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
650
>gchar</a> *selkey);</pre>
652
Marks the given key as selected</p>
655
<div class="variablelist"><table border="0">
656
<col align="left" valign="top">
659
<td><p><span class="term"><em class="parameter"><code>ckstore</code></em> :</span></p></td>
660
<td> a libcryptui key store
664
<td><p><span class="term"><em class="parameter"><code>view</code></em> :</span></p></td>
669
<td><p><span class="term"><em class="parameter"><code>selkey</code></em> :</span></p></td>
670
<td> a libcryptui key
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>
682
Sets whether the keys returned will be all, just those searched for, or
686
<div class="variablelist"><table border="0">
687
<col align="left" valign="top">
690
<td><p><span class="term"><em class="parameter"><code>ckstore</code></em> :</span></p></td>
691
<td> a libcryptui key store
695
<td><p><span class="term"><em class="parameter"><code>mode</code></em> :</span></p></td>
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,
707
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
708
>gchar</a> *search_text);</pre>
710
Filters the keys in the store by the text in search_text.</p>
713
<div class="variablelist"><table border="0">
714
<col align="left" valign="top">
717
<td><p><span class="term"><em class="parameter"><code>ckstore</code></em> :</span></p></td>
718
<td> a libcryptui key store
722
<td><p><span class="term"><em class="parameter"><code>search_text</code></em> :</span></p></td>
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,
735
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
736
>gpointer</a> user_data);</pre>
738
Filters the key store's keys with the given filter function.</p>
741
<div class="variablelist"><table border="0">
742
<col align="left" valign="top">
745
<td><p><span class="term"><em class="parameter"><code>ckstore</code></em> :</span></p></td>
746
<td> a libcryptui key store
750
<td><p><span class="term"><em class="parameter"><code>func</code></em> :</span></p></td>
751
<td> a filter function
755
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
756
<td> a generic pointer
766
Generated by GTK-Doc V1.11</div>