~ubuntu-branches/ubuntu/natty/gnome-keyring/natty

« back to all changes in this revision

Viewing changes to docs/reference/gp11/html/gp11-gp11-module.html

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2010-03-10 21:37:48 UTC
  • mfrom: (1.1.59 upstream)
  • Revision ID: james.westby@ubuntu.com-20100310213748-imimrnfxu32ih4t3
Tags: 2.29.92-0ubuntu1
* New upstream version:
  - Fix various problems with not storing secret value properly.
  - Return no results when a search includes a bad collection identifier.
  - Don't raise error if ssh client disconnects early.
  - Allow running in a test environment.
  - Fix error when setting default keyring to NULL.
  - Autostart gnome-keyring-daemon in LXDE as well.
  - Rework the startup again, to use a singleton crontrolled via dbus, to help
    when no process was started by pam.
  - Display password and confirm prompts when creating keyring.
  - Allow specifying CKA_ID when creating collection.
  - Give translatable label to created login keyring.
  - When no default keyring set, use login keyring.
  - Fix problem initializing socket path in rpc module.
  - Fix endless loop in reading data.
  - Potential fix or sporadic crash.
  - Solaris build fixes.
  - Updated translations.
* debian/patches/05_git_no_read_looping.patch:
  - the change is in the new version

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
<link rel="up" href="ch01.html" title="PKCS#11 GObject Bindings">
9
9
<link rel="prev" href="ch01.html" title="PKCS#11 GObject Bindings">
10
10
<link rel="next" href="gp11-gp11-slot.html" title="GP11Slot">
11
 
<meta name="generator" content="GTK-Doc V1.11 (XML mode)">
 
11
<meta name="generator" content="GTK-Doc V1.14 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
13
13
<link rel="chapter" href="ch01.html" title="PKCS#11 GObject Bindings">
14
14
</head>
23
23
</tr>
24
24
<tr><td colspan="5" class="shortcuts">
25
25
<a href="#gp11-gp11-module.synopsis" class="shortcut">Top</a>
26
 
                 | 
27
 
                <a href="#gp11-gp11-module.description" class="shortcut">Description</a>
28
 
                 | 
29
 
                <a href="#gp11-gp11-module.object-hierarchy" class="shortcut">Object Hierarchy</a>
30
 
                 | 
31
 
                <a href="#gp11-gp11-module.properties" class="shortcut">Properties</a>
32
 
                 | 
33
 
                <a href="#gp11-gp11-module.signals" class="shortcut">Signals</a>
 
26
                   | 
 
27
                  <a href="#gp11-gp11-module.description" class="shortcut">Description</a>
 
28
                   | 
 
29
                  <a href="#gp11-gp11-module.object-hierarchy" class="shortcut">Object Hierarchy</a>
 
30
                   | 
 
31
                  <a href="#gp11-gp11-module.properties" class="shortcut">Properties</a>
 
32
                   | 
 
33
                  <a href="#gp11-gp11-module.signals" class="shortcut">Signals</a>
34
34
</td></tr>
35
35
</table>
36
36
<div class="refentry" title="GP11Module">
44
44
</tr></table></div>
45
45
<div class="refsynopsisdiv" title="Synopsis">
46
46
<a name="gp11-gp11-module.synopsis"></a><h2>Synopsis</h2>
47
 
<a name="GP11Module"></a><pre class="synopsis">
48
 
                    <a class="link" href="gp11-gp11-module.html#GP11Module-struct" title="GP11Module">GP11Module</a>;
49
 
<a class="link" href="gp11-gp11-module.html#GP11Module">GP11Module</a>*         <a class="link" href="gp11-gp11-module.html#gp11-module-new" title="gp11_module_new ()">gp11_module_new</a>                     (CK_FUNCTION_LIST_PTR funcs);
50
 
<a class="link" href="gp11-gp11-module.html#GP11Module">GP11Module</a>*         <a class="link" href="gp11-gp11-module.html#gp11-module-initialize" title="gp11_module_initialize ()">gp11_module_initialize</a>              (const <a
51
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
52
 
>gchar</a> *path,
53
 
                                                         <a
54
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
55
 
>gpointer</a> reserved,
56
 
                                                         <a
57
 
href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"
58
 
>GError</a> **err);
59
 
<a
60
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
61
 
>gboolean</a>            <a class="link" href="gp11-gp11-module.html#gp11-module-equal" title="gp11_module_equal ()">gp11_module_equal</a>                   (<a
62
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gconstpointer"
63
 
>gconstpointer</a> module1,
64
 
                                                         <a
65
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gconstpointer"
66
 
>gconstpointer</a> module2);
67
 
<a
68
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
69
 
>guint</a>               <a class="link" href="gp11-gp11-module.html#gp11-module-hash" title="gp11_module_hash ()">gp11_module_hash</a>                    (<a
70
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gconstpointer"
71
 
>gconstpointer</a> module);
72
 
const <a
73
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
74
 
>gchar</a>*        <a class="link" href="gp11-gp11-module.html#gp11-module-get-path" title="gp11_module_get_path ()">gp11_module_get_path</a>                (<a class="link" href="gp11-gp11-module.html#GP11Module">GP11Module</a> *self);
75
 
CK_FUNCTION_LIST_PTR  <a class="link" href="gp11-gp11-module.html#gp11-module-get-functions" title="gp11_module_get_functions ()">gp11_module_get_functions</a>         (<a class="link" href="gp11-gp11-module.html#GP11Module">GP11Module</a> *self);
76
 
<a class="link" href="gp11-gp11-module.html#GP11ModuleInfo" title="GP11ModuleInfo">GP11ModuleInfo</a>*     <a class="link" href="gp11-gp11-module.html#gp11-module-get-info" title="gp11_module_get_info ()">gp11_module_get_info</a>                (<a class="link" href="gp11-gp11-module.html#GP11Module">GP11Module</a> *self);
77
 
<a
78
 
href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"
79
 
>GList</a>*              <a class="link" href="gp11-gp11-module.html#gp11-module-get-slots" title="gp11_module_get_slots ()">gp11_module_get_slots</a>               (<a class="link" href="gp11-gp11-module.html#GP11Module">GP11Module</a> *self,
80
 
                                                         <a
81
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
82
 
>gboolean</a> token_present);
83
 
<a
84
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
85
 
>gboolean</a>            <a class="link" href="gp11-gp11-module.html#gp11-module-get-pool-sessions" title="gp11_module_get_pool_sessions ()">gp11_module_get_pool_sessions</a>       (<a class="link" href="gp11-gp11-module.html#GP11Module">GP11Module</a> *self);
86
 
void                <a class="link" href="gp11-gp11-module.html#gp11-module-set-pool-sessions" title="gp11_module_set_pool_sessions ()">gp11_module_set_pool_sessions</a>       (<a class="link" href="gp11-gp11-module.html#GP11Module">GP11Module</a> *self,
87
 
                                                         <a
88
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
89
 
>gboolean</a> pool);
90
 
<a
91
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
92
 
>gint</a>                <a class="link" href="gp11-gp11-module.html#gp11-module-get-auto-authenticate" title="gp11_module_get_auto_authenticate ()">gp11_module_get_auto_authenticate</a>   (<a class="link" href="gp11-gp11-module.html#GP11Module">GP11Module</a> *self);
93
 
void                <a class="link" href="gp11-gp11-module.html#gp11-module-set-auto-authenticate" title="gp11_module_set_auto_authenticate ()">gp11_module_set_auto_authenticate</a>   (<a class="link" href="gp11-gp11-module.html#GP11Module">GP11Module</a> *self,
94
 
                                                         <a
95
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
96
 
>gint</a> auto_authenticate);
97
 
<a
98
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
99
 
>gboolean</a>            <a class="link" href="gp11-gp11-module.html#gp11-module-enumerate-objects" title="gp11_module_enumerate_objects ()">gp11_module_enumerate_objects</a>       (<a class="link" href="gp11-gp11-module.html#GP11Module">GP11Module</a> *self,
100
 
                                                         <a class="link" href="gp11-gp11-module.html#GP11ObjectForeachFunc" title="GP11ObjectForeachFunc ()">GP11ObjectForeachFunc</a> func,
101
 
                                                         <a
102
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
103
 
>gpointer</a> user_data,
 
47
<a name="GP11Module"></a><pre class="synopsis">                    <a class="link" href="gp11-gp11-module.html#GP11Module-struct" title="GP11Module">GP11Module</a>;
 
48
<a class="link" href="gp11-gp11-module.html#GP11Module"><span class="returnvalue">GP11Module</span></a>*         <a class="link" href="gp11-gp11-module.html#gp11-module-new" title="gp11_module_new ()">gp11_module_new</a>                     (<span class="returnvalue">CK_FUNCTION_LIST_PTR</span> funcs);
 
49
<a class="link" href="gp11-gp11-module.html#GP11Module"><span class="returnvalue">GP11Module</span></a>*         <a class="link" href="gp11-gp11-module.html#gp11-module-initialize" title="gp11_module_initialize ()">gp11_module_initialize</a>              (const <span class="returnvalue">gchar</span> *path,
 
50
                                                         <span class="returnvalue">gpointer</span> reserved,
 
51
                                                         <span class="returnvalue">GError</span> **err);
 
52
<span class="returnvalue">gboolean</span>            <a class="link" href="gp11-gp11-module.html#gp11-module-equal" title="gp11_module_equal ()">gp11_module_equal</a>                   (<span class="returnvalue">gconstpointer</span> module1,
 
53
                                                         <span class="returnvalue">gconstpointer</span> module2);
 
54
<span class="returnvalue">guint</span>               <a class="link" href="gp11-gp11-module.html#gp11-module-hash" title="gp11_module_hash ()">gp11_module_hash</a>                    (<span class="returnvalue">gconstpointer</span> module);
 
55
const <span class="returnvalue">gchar</span>*        <a class="link" href="gp11-gp11-module.html#gp11-module-get-path" title="gp11_module_get_path ()">gp11_module_get_path</a>                (<a class="link" href="gp11-gp11-module.html#GP11Module"><span class="returnvalue">GP11Module</span></a> *self);
 
56
<span class="returnvalue">CK_FUNCTION_LIST_PTR</span>  <a class="link" href="gp11-gp11-module.html#gp11-module-get-functions" title="gp11_module_get_functions ()">gp11_module_get_functions</a>         (<a class="link" href="gp11-gp11-module.html#GP11Module"><span class="returnvalue">GP11Module</span></a> *self);
 
57
<a class="link" href="gp11-gp11-module.html#GP11ModuleInfo" title="GP11ModuleInfo"><span class="returnvalue">GP11ModuleInfo</span></a>*     <a class="link" href="gp11-gp11-module.html#gp11-module-get-info" title="gp11_module_get_info ()">gp11_module_get_info</a>                (<a class="link" href="gp11-gp11-module.html#GP11Module"><span class="returnvalue">GP11Module</span></a> *self);
 
58
<span class="returnvalue">GList</span>*              <a class="link" href="gp11-gp11-module.html#gp11-module-get-slots" title="gp11_module_get_slots ()">gp11_module_get_slots</a>               (<a class="link" href="gp11-gp11-module.html#GP11Module"><span class="returnvalue">GP11Module</span></a> *self,
 
59
                                                         <span class="returnvalue">gboolean</span> token_present);
 
60
<span class="returnvalue">gboolean</span>            <a class="link" href="gp11-gp11-module.html#gp11-module-get-pool-sessions" title="gp11_module_get_pool_sessions ()">gp11_module_get_pool_sessions</a>       (<a class="link" href="gp11-gp11-module.html#GP11Module"><span class="returnvalue">GP11Module</span></a> *self);
 
61
<span class="returnvalue">void</span>                <a class="link" href="gp11-gp11-module.html#gp11-module-set-pool-sessions" title="gp11_module_set_pool_sessions ()">gp11_module_set_pool_sessions</a>       (<a class="link" href="gp11-gp11-module.html#GP11Module"><span class="returnvalue">GP11Module</span></a> *self,
 
62
                                                         <span class="returnvalue">gboolean</span> pool);
 
63
<span class="returnvalue">gint</span>                <a class="link" href="gp11-gp11-module.html#gp11-module-get-auto-authenticate" title="gp11_module_get_auto_authenticate ()">gp11_module_get_auto_authenticate</a>   (<a class="link" href="gp11-gp11-module.html#GP11Module"><span class="returnvalue">GP11Module</span></a> *self);
 
64
<span class="returnvalue">void</span>                <a class="link" href="gp11-gp11-module.html#gp11-module-set-auto-authenticate" title="gp11_module_set_auto_authenticate ()">gp11_module_set_auto_authenticate</a>   (<a class="link" href="gp11-gp11-module.html#GP11Module"><span class="returnvalue">GP11Module</span></a> *self,
 
65
                                                         <span class="returnvalue">gint</span> auto_authenticate);
 
66
<span class="returnvalue">gboolean</span>            <a class="link" href="gp11-gp11-module.html#gp11-module-enumerate-objects" title="gp11_module_enumerate_objects ()">gp11_module_enumerate_objects</a>       (<a class="link" href="gp11-gp11-module.html#GP11Module"><span class="returnvalue">GP11Module</span></a> *self,
 
67
                                                         <a class="link" href="gp11-gp11-module.html#GP11ObjectForeachFunc" title="GP11ObjectForeachFunc ()"><span class="returnvalue">GP11ObjectForeachFunc</span></a> func,
 
68
                                                         <span class="returnvalue">gpointer</span> user_data,
104
69
                                                         ...);
105
 
<a
106
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
107
 
>gboolean</a>            (<a class="link" href="gp11-gp11-module.html#GP11ObjectForeachFunc" title="GP11ObjectForeachFunc ()">*GP11ObjectForeachFunc</a>)            (<a class="link" href="gp11-gp11-object.html#GP11Object">GP11Object</a> *object,
108
 
                                                         <a
109
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
110
 
>gpointer</a> user_data);
 
70
<span class="returnvalue">gboolean</span>            (<a class="link" href="gp11-gp11-module.html#GP11ObjectForeachFunc" title="GP11ObjectForeachFunc ()">*GP11ObjectForeachFunc</a>)            (<a class="link" href="gp11-gp11-object.html#GP11Object"><span class="returnvalue">GP11Object</span></a> *object,
 
71
                                                         <span class="returnvalue">gpointer</span> user_data);
111
72
                    <a class="link" href="gp11-gp11-module.html#GP11ModuleInfo" title="GP11ModuleInfo">GP11ModuleInfo</a>;
112
 
void                <a class="link" href="gp11-gp11-module.html#gp11-module-info-free" title="gp11_module_info_free ()">gp11_module_info_free</a>               (<a class="link" href="gp11-gp11-module.html#GP11ModuleInfo" title="GP11ModuleInfo">GP11ModuleInfo</a> *module_info);
 
73
<span class="returnvalue">void</span>                <a class="link" href="gp11-gp11-module.html#gp11-module-info-free" title="gp11_module_info_free ()">gp11_module_info_free</a>               (<a class="link" href="gp11-gp11-module.html#GP11ModuleInfo" title="GP11ModuleInfo"><span class="returnvalue">GP11ModuleInfo</span></a> *module_info);
113
74
</pre>
114
75
</div>
115
76
<div class="refsect1" title="Object Hierarchy">
116
77
<a name="gp11-gp11-module.object-hierarchy"></a><h2>Object Hierarchy</h2>
117
78
<pre class="synopsis">
118
 
  <a
119
 
href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"
120
 
>GObject</a>
 
79
  GObject
121
80
   +----GP11Module
122
81
</pre>
123
82
</div>
124
83
<div class="refsect1" title="Properties">
125
84
<a name="gp11-gp11-module.properties"></a><h2>Properties</h2>
126
85
<pre class="synopsis">
127
 
  "<a class="link" href="gp11-gp11-module.html#GP11Module--auto-authenticate" title='The "auto-authenticate" property'>auto-authenticate</a>"        <a
128
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
129
 
>gint</a>                  : Read / Write
130
 
  "<a class="link" href="gp11-gp11-module.html#GP11Module--functions" title='The "functions" property'>functions</a>"                <a
131
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
132
 
>gpointer</a>              : Read / Write / Construct Only
133
 
  "<a class="link" href="gp11-gp11-module.html#GP11Module--path" title='The "path" property'>path</a>"                     <a
134
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
135
 
>gchar</a>*                : Read / Write / Construct Only
136
 
  "<a class="link" href="gp11-gp11-module.html#GP11Module--pool-sessions" title='The "pool-sessions" property'>pool-sessions</a>"            <a
137
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
138
 
>gboolean</a>              : Read / Write
 
86
  "<a class="link" href="gp11-gp11-module.html#GP11Module--auto-authenticate" title='The "auto-authenticate" property'>auto-authenticate</a>"        <span class="type">gint</span>                  : Read / Write
 
87
  "<a class="link" href="gp11-gp11-module.html#GP11Module--functions" title='The "functions" property'>functions</a>"                <span class="type">gpointer</span>              : Read / Write / Construct Only
 
88
  "<a class="link" href="gp11-gp11-module.html#GP11Module--path" title='The "path" property'>path</a>"                     <span class="type">gchar</span>*                : Read / Write / Construct Only
 
89
  "<a class="link" href="gp11-gp11-module.html#GP11Module--pool-sessions" title='The "pool-sessions" property'>pool-sessions</a>"            <span class="type">gboolean</span>              : Read / Write
139
90
</pre>
140
91
</div>
141
92
<div class="refsect1" title="Signals">
154
105
You can load and initialize a PKCS<span class="type">11</span> module with the <a class="link" href="gp11-gp11-module.html#gp11-module-initialize" title="gp11_module_initialize ()"><code class="function">gp11_module_initialize()</code></a> call. If you already
155
106
have a loaded and initialized module that you'd like to use with the various GP11 functions, then 
156
107
you can use <a class="link" href="gp11-gp11-module.html#gp11-module-new" title="gp11_module_new ()"><code class="function">gp11_module_new()</code></a>.</p>
157
 
<p>
158
 
</p>
159
108
</div>
160
109
<div class="refsect1" title="Details">
161
110
<a name="gp11-gp11-module.details"></a><h2>Details</h2>
164
113
<pre class="programlisting">typedef struct _GP11Module GP11Module;</pre>
165
114
<p>
166
115
Holds a loaded and initialized PKCS<span class="type">11</span> module.</p>
167
 
<p>
168
 
</p>
169
116
</div>
170
117
<hr>
171
118
<div class="refsect2" title="gp11_module_new ()">
172
119
<a name="gp11-module-new"></a><h3>gp11_module_new ()</h3>
173
 
<pre class="programlisting"><a class="link" href="gp11-gp11-module.html#GP11Module">GP11Module</a>*         gp11_module_new                     (CK_FUNCTION_LIST_PTR funcs);</pre>
 
120
<pre class="programlisting"><a class="link" href="gp11-gp11-module.html#GP11Module"><span class="returnvalue">GP11Module</span></a>*         gp11_module_new                     (<span class="returnvalue">CK_FUNCTION_LIST_PTR</span> funcs);</pre>
174
121
<p>
175
122
Create a GP11Module representing a PKCS<span class="type">11</span> module. It is assumed that 
176
123
this the module is already initialized. In addition it will not be 
177
124
finalized when complete.</p>
178
 
<p>
179
 
</p>
180
125
<div class="variablelist"><table border="0">
181
126
<col align="left" valign="top">
182
127
<tbody>
196
141
<hr>
197
142
<div class="refsect2" title="gp11_module_initialize ()">
198
143
<a name="gp11-module-initialize"></a><h3>gp11_module_initialize ()</h3>
199
 
<pre class="programlisting"><a class="link" href="gp11-gp11-module.html#GP11Module">GP11Module</a>*         gp11_module_initialize              (const <a
200
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
201
 
>gchar</a> *path,
202
 
                                                         <a
203
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
204
 
>gpointer</a> reserved,
205
 
                                                         <a
206
 
href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"
207
 
>GError</a> **err);</pre>
 
144
<pre class="programlisting"><a class="link" href="gp11-gp11-module.html#GP11Module"><span class="returnvalue">GP11Module</span></a>*         gp11_module_initialize              (const <span class="returnvalue">gchar</span> *path,
 
145
                                                         <span class="returnvalue">gpointer</span> reserved,
 
146
                                                         <span class="returnvalue">GError</span> **err);</pre>
208
147
<p>
209
148
Load and initialize a PKCS<span class="type">11</span> module represented by a GP11Module object.</p>
210
 
<p>
211
 
</p>
212
149
<div class="variablelist"><table border="0">
213
150
<col align="left" valign="top">
214
151
<tbody>
238
175
<hr>
239
176
<div class="refsect2" title="gp11_module_equal ()">
240
177
<a name="gp11-module-equal"></a><h3>gp11_module_equal ()</h3>
241
 
<pre class="programlisting"><a
242
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
243
 
>gboolean</a>            gp11_module_equal                   (<a
244
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gconstpointer"
245
 
>gconstpointer</a> module1,
246
 
                                                         <a
247
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gconstpointer"
248
 
>gconstpointer</a> module2);</pre>
 
178
<pre class="programlisting"><span class="returnvalue">gboolean</span>            gp11_module_equal                   (<span class="returnvalue">gconstpointer</span> module1,
 
179
                                                         <span class="returnvalue">gconstpointer</span> module2);</pre>
249
180
<p>
250
181
Checks equality of two modules. Two GP11Module objects can point to the same 
251
182
underlying PKCS<span class="type">11</span> module.</p>
252
 
<p>
253
 
</p>
254
183
<div class="variablelist"><table border="0">
255
184
<col align="left" valign="top">
256
185
<tbody>
275
204
<hr>
276
205
<div class="refsect2" title="gp11_module_hash ()">
277
206
<a name="gp11-module-hash"></a><h3>gp11_module_hash ()</h3>
278
 
<pre class="programlisting"><a
279
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
280
 
>guint</a>               gp11_module_hash                    (<a
281
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gconstpointer"
282
 
>gconstpointer</a> module);</pre>
 
207
<pre class="programlisting"><span class="returnvalue">guint</span>               gp11_module_hash                    (<span class="returnvalue">gconstpointer</span> module);</pre>
283
208
<p>
284
209
Create a hash value for the GP11Module. 
285
210
</p>
286
211
<p>
287
212
This function is intended for easily hashing a GP11Module to add to 
288
213
a GHashTable or similar data structure.</p>
289
 
<p>
290
 
</p>
291
214
<div class="variablelist"><table border="0">
292
215
<col align="left" valign="top">
293
216
<tbody>
307
230
<hr>
308
231
<div class="refsect2" title="gp11_module_get_path ()">
309
232
<a name="gp11-module-get-path"></a><h3>gp11_module_get_path ()</h3>
310
 
<pre class="programlisting">const <a
311
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
312
 
>gchar</a>*        gp11_module_get_path                (<a class="link" href="gp11-gp11-module.html#GP11Module">GP11Module</a> *self);</pre>
 
233
<pre class="programlisting">const <span class="returnvalue">gchar</span>*        gp11_module_get_path                (<a class="link" href="gp11-gp11-module.html#GP11Module"><span class="returnvalue">GP11Module</span></a> *self);</pre>
313
234
<p>
314
235
Get the file path of this module. This may not be an absolute path, and 
315
236
usually reflects the path passed to <a class="link" href="gp11-gp11-module.html#gp11-module-initialize" title="gp11_module_initialize ()"><code class="function">gp11_module_initialize()</code></a>.</p>
316
 
<p>
317
 
</p>
318
237
<div class="variablelist"><table border="0">
319
238
<col align="left" valign="top">
320
239
<tbody>
334
253
<hr>
335
254
<div class="refsect2" title="gp11_module_get_functions ()">
336
255
<a name="gp11-module-get-functions"></a><h3>gp11_module_get_functions ()</h3>
337
 
<pre class="programlisting">CK_FUNCTION_LIST_PTR  gp11_module_get_functions         (<a class="link" href="gp11-gp11-module.html#GP11Module">GP11Module</a> *self);</pre>
 
256
<pre class="programlisting"><span class="returnvalue">CK_FUNCTION_LIST_PTR</span>  gp11_module_get_functions         (<a class="link" href="gp11-gp11-module.html#GP11Module"><span class="returnvalue">GP11Module</span></a> *self);</pre>
338
257
<p>
339
258
Get the PKCS<span class="type">11</span> function list for the module.</p>
340
 
<p>
341
 
</p>
342
259
<div class="variablelist"><table border="0">
343
260
<col align="left" valign="top">
344
261
<tbody>
358
275
<hr>
359
276
<div class="refsect2" title="gp11_module_get_info ()">
360
277
<a name="gp11-module-get-info"></a><h3>gp11_module_get_info ()</h3>
361
 
<pre class="programlisting"><a class="link" href="gp11-gp11-module.html#GP11ModuleInfo" title="GP11ModuleInfo">GP11ModuleInfo</a>*     gp11_module_get_info                (<a class="link" href="gp11-gp11-module.html#GP11Module">GP11Module</a> *self);</pre>
 
278
<pre class="programlisting"><a class="link" href="gp11-gp11-module.html#GP11ModuleInfo" title="GP11ModuleInfo"><span class="returnvalue">GP11ModuleInfo</span></a>*     gp11_module_get_info                (<a class="link" href="gp11-gp11-module.html#GP11Module"><span class="returnvalue">GP11Module</span></a> *self);</pre>
362
279
<p>
363
280
Get the info about a PKCS<span class="type">11</span> module.</p>
364
 
<p>
365
 
</p>
366
281
<div class="variablelist"><table border="0">
367
282
<col align="left" valign="top">
368
283
<tbody>
382
297
<hr>
383
298
<div class="refsect2" title="gp11_module_get_slots ()">
384
299
<a name="gp11-module-get-slots"></a><h3>gp11_module_get_slots ()</h3>
385
 
<pre class="programlisting"><a
386
 
href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"
387
 
>GList</a>*              gp11_module_get_slots               (<a class="link" href="gp11-gp11-module.html#GP11Module">GP11Module</a> *self,
388
 
                                                         <a
389
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
390
 
>gboolean</a> token_present);</pre>
 
300
<pre class="programlisting"><span class="returnvalue">GList</span>*              gp11_module_get_slots               (<a class="link" href="gp11-gp11-module.html#GP11Module"><span class="returnvalue">GP11Module</span></a> *self,
 
301
                                                         <span class="returnvalue">gboolean</span> token_present);</pre>
391
302
<p>
392
303
Get the GP11Slot objects for a given module.</p>
393
 
<p>
394
 
</p>
395
304
<div class="variablelist"><table border="0">
396
305
<col align="left" valign="top">
397
306
<tbody>
416
325
<hr>
417
326
<div class="refsect2" title="gp11_module_get_pool_sessions ()">
418
327
<a name="gp11-module-get-pool-sessions"></a><h3>gp11_module_get_pool_sessions ()</h3>
419
 
<pre class="programlisting"><a
420
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
421
 
>gboolean</a>            gp11_module_get_pool_sessions       (<a class="link" href="gp11-gp11-module.html#GP11Module">GP11Module</a> *self);</pre>
 
328
<pre class="programlisting"><span class="returnvalue">gboolean</span>            gp11_module_get_pool_sessions       (<a class="link" href="gp11-gp11-module.html#GP11Module"><span class="returnvalue">GP11Module</span></a> *self);</pre>
422
329
<p>
423
330
Get the reuse sessions setting. When this is set, sessions
424
331
will be pooled and reused if their flags match when 
425
332
<a class="link" href="gp11-gp11-slot.html#gp11-slot-open-session" title="gp11_slot_open_session ()"><code class="function">gp11_slot_open_session()</code></a> is called.</p>
426
 
<p>
427
 
</p>
428
333
<div class="variablelist"><table border="0">
429
334
<col align="left" valign="top">
430
335
<tbody>
444
349
<hr>
445
350
<div class="refsect2" title="gp11_module_set_pool_sessions ()">
446
351
<a name="gp11-module-set-pool-sessions"></a><h3>gp11_module_set_pool_sessions ()</h3>
447
 
<pre class="programlisting">void                gp11_module_set_pool_sessions       (<a class="link" href="gp11-gp11-module.html#GP11Module">GP11Module</a> *self,
448
 
                                                         <a
449
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
450
 
>gboolean</a> pool);</pre>
 
352
<pre class="programlisting"><span class="returnvalue">void</span>                gp11_module_set_pool_sessions       (<a class="link" href="gp11-gp11-module.html#GP11Module"><span class="returnvalue">GP11Module</span></a> *self,
 
353
                                                         <span class="returnvalue">gboolean</span> pool);</pre>
451
354
<p>
452
355
When this is set, sessions will be pooled and reused
453
356
if their flags match when <a class="link" href="gp11-gp11-slot.html#gp11-slot-open-session" title="gp11_slot_open_session ()"><code class="function">gp11_slot_open_session()</code></a> is called.</p>
454
 
<p>
455
 
</p>
456
357
<div class="variablelist"><table border="0">
457
358
<col align="left" valign="top">
458
359
<tbody>
472
373
<hr>
473
374
<div class="refsect2" title="gp11_module_get_auto_authenticate ()">
474
375
<a name="gp11-module-get-auto-authenticate"></a><h3>gp11_module_get_auto_authenticate ()</h3>
475
 
<pre class="programlisting"><a
476
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
477
 
>gint</a>                gp11_module_get_auto_authenticate   (<a class="link" href="gp11-gp11-module.html#GP11Module">GP11Module</a> *self);</pre>
 
376
<pre class="programlisting"><span class="returnvalue">gint</span>                gp11_module_get_auto_authenticate   (<a class="link" href="gp11-gp11-module.html#GP11Module"><span class="returnvalue">GP11Module</span></a> *self);</pre>
478
377
<p>
479
378
Get the auto login setting. When this is set, this slot 
480
379
will emit the 'authenticate-slot' signal when a session
481
380
requires authentication, and the 'authenticate-object'
482
381
signal when an object requires authintication.</p>
483
 
<p>
484
 
</p>
485
382
<div class="variablelist"><table border="0">
486
383
<col align="left" valign="top">
487
384
<tbody>
501
398
<hr>
502
399
<div class="refsect2" title="gp11_module_set_auto_authenticate ()">
503
400
<a name="gp11-module-set-auto-authenticate"></a><h3>gp11_module_set_auto_authenticate ()</h3>
504
 
<pre class="programlisting">void                gp11_module_set_auto_authenticate   (<a class="link" href="gp11-gp11-module.html#GP11Module">GP11Module</a> *self,
505
 
                                                         <a
506
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
507
 
>gint</a> auto_authenticate);</pre>
 
401
<pre class="programlisting"><span class="returnvalue">void</span>                gp11_module_set_auto_authenticate   (<a class="link" href="gp11-gp11-module.html#GP11Module"><span class="returnvalue">GP11Module</span></a> *self,
 
402
                                                         <span class="returnvalue">gint</span> auto_authenticate);</pre>
508
403
<p>
509
404
When this is set, this slot 
510
405
will emit the 'authenticate-slot' signal when a session
511
406
requires authentication, and the 'authenticate-object'
512
407
signal when an object requires authintication.</p>
513
 
<p>
514
 
</p>
515
408
<div class="variablelist"><table border="0">
516
409
<col align="left" valign="top">
517
410
<tbody>
531
424
<hr>
532
425
<div class="refsect2" title="gp11_module_enumerate_objects ()">
533
426
<a name="gp11-module-enumerate-objects"></a><h3>gp11_module_enumerate_objects ()</h3>
534
 
<pre class="programlisting"><a
535
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
536
 
>gboolean</a>            gp11_module_enumerate_objects       (<a class="link" href="gp11-gp11-module.html#GP11Module">GP11Module</a> *self,
537
 
                                                         <a class="link" href="gp11-gp11-module.html#GP11ObjectForeachFunc" title="GP11ObjectForeachFunc ()">GP11ObjectForeachFunc</a> func,
538
 
                                                         <a
539
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
540
 
>gpointer</a> user_data,
 
427
<pre class="programlisting"><span class="returnvalue">gboolean</span>            gp11_module_enumerate_objects       (<a class="link" href="gp11-gp11-module.html#GP11Module"><span class="returnvalue">GP11Module</span></a> *self,
 
428
                                                         <a class="link" href="gp11-gp11-module.html#GP11ObjectForeachFunc" title="GP11ObjectForeachFunc ()"><span class="returnvalue">GP11ObjectForeachFunc</span></a> func,
 
429
                                                         <span class="returnvalue">gpointer</span> user_data,
541
430
                                                         ...);</pre>
542
431
<p>
543
432
Call a function for every matching object on the module. This call may 
585
474
</p>
586
475
<p>
587
476
The function can return FALSE to stop the enumeration.</p>
588
 
<p>
589
 
</p>
590
477
<div class="variablelist"><table border="0">
591
478
<col align="left" valign="top">
592
479
<tbody>
621
508
<hr>
622
509
<div class="refsect2" title="GP11ObjectForeachFunc ()">
623
510
<a name="GP11ObjectForeachFunc"></a><h3>GP11ObjectForeachFunc ()</h3>
624
 
<pre class="programlisting"><a
625
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
626
 
>gboolean</a>            (*GP11ObjectForeachFunc)            (<a class="link" href="gp11-gp11-object.html#GP11Object">GP11Object</a> *object,
627
 
                                                         <a
628
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
629
 
>gpointer</a> user_data);</pre>
 
511
<pre class="programlisting"><span class="returnvalue">gboolean</span>            (*GP11ObjectForeachFunc)            (<a class="link" href="gp11-gp11-object.html#GP11Object"><span class="returnvalue">GP11Object</span></a> *object,
 
512
                                                         <span class="returnvalue">gpointer</span> user_data);</pre>
630
513
<p>
631
514
This function is passed to <a class="link" href="gp11-gp11-module.html#gp11-module-enumerate-objects" title="gp11_module_enumerate_objects ()"><code class="function">gp11_module_enumerate_objects()</code></a> or a similar function.
632
515
It is called once for each object matched. 
634
517
<p>
635
518
The GP11Session through which the object is accessible can be retrieved by calling
636
519
<a class="link" href="gp11-gp11-object.html#gp11-object-get-session" title="gp11_object_get_session ()"><code class="function">gp11_object_get_session()</code></a> on object.</p>
637
 
<p>
638
 
</p>
639
520
<div class="variablelist"><table border="0">
640
521
<col align="left" valign="top">
641
522
<tbody>
681
562
</p>
682
563
<p>
683
564
Use <a class="link" href="gp11-gp11-module.html#gp11-module-info-free" title="gp11_module_info_free ()"><code class="function">gp11_module_info_free()</code></a> to release this structure when done with it.</p>
684
 
<p>
685
 
</p>
686
565
<div class="variablelist"><table border="0">
687
566
<col align="left" valign="top">
688
567
<tbody>
689
568
<tr>
690
 
<td><p><span class="term"><a
691
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint8"
692
 
>guint8</a> <em class="structfield"><code>pkcs11_version_major</code></em>;</span></p></td>
 
569
<td><p><span class="term"><span class="type">guint8</span> <em class="structfield"><code><a name="GP11ModuleInfo.pkcs11-version-major"></a>pkcs11_version_major</code></em>;</span></p></td>
693
570
<td> The major version of the module.
694
571
</td>
695
572
</tr>
696
573
<tr>
697
 
<td><p><span class="term"><a
698
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint8"
699
 
>guint8</a> <em class="structfield"><code>pkcs11_version_minor</code></em>;</span></p></td>
 
574
<td><p><span class="term"><span class="type">guint8</span> <em class="structfield"><code><a name="GP11ModuleInfo.pkcs11-version-minor"></a>pkcs11_version_minor</code></em>;</span></p></td>
700
575
<td> The minor version of the module.
701
576
</td>
702
577
</tr>
703
578
<tr>
704
 
<td><p><span class="term"><a
705
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
706
 
>gchar</a> *<em class="structfield"><code>manufacturer_id</code></em>;</span></p></td>
 
579
<td><p><span class="term"><span class="type">gchar</span> *<em class="structfield"><code><a name="GP11ModuleInfo.manufacturer-id"></a>manufacturer_id</code></em>;</span></p></td>
707
580
<td> The module manufacturer.
708
581
</td>
709
582
</tr>
710
583
<tr>
711
 
<td><p><span class="term"><a
712
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gulong"
713
 
>gulong</a> <em class="structfield"><code>flags</code></em>;</span></p></td>
 
584
<td><p><span class="term"><span class="type">gulong</span> <em class="structfield"><code><a name="GP11ModuleInfo.flags"></a>flags</code></em>;</span></p></td>
714
585
<td> The module PKCS#11 flags.
715
586
</td>
716
587
</tr>
717
588
<tr>
718
 
<td><p><span class="term"><a
719
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
720
 
>gchar</a> *<em class="structfield"><code>library_description</code></em>;</span></p></td>
 
589
<td><p><span class="term"><span class="type">gchar</span> *<em class="structfield"><code><a name="GP11ModuleInfo.library-description"></a>library_description</code></em>;</span></p></td>
721
590
<td> The module description.
722
591
</td>
723
592
</tr>
724
593
<tr>
725
 
<td><p><span class="term"><a
726
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint8"
727
 
>guint8</a> <em class="structfield"><code>library_version_major</code></em>;</span></p></td>
 
594
<td><p><span class="term"><span class="type">guint8</span> <em class="structfield"><code><a name="GP11ModuleInfo.library-version-major"></a>library_version_major</code></em>;</span></p></td>
728
595
<td> The major version of the library.
729
596
</td>
730
597
</tr>
731
598
<tr>
732
 
<td><p><span class="term"><a
733
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint8"
734
 
>guint8</a> <em class="structfield"><code>library_version_minor</code></em>;</span></p></td>
 
599
<td><p><span class="term"><span class="type">guint8</span> <em class="structfield"><code><a name="GP11ModuleInfo.library-version-minor"></a>library_version_minor</code></em>;</span></p></td>
735
600
<td> The minor version of the library.
736
601
</td>
737
602
</tr>
741
606
<hr>
742
607
<div class="refsect2" title="gp11_module_info_free ()">
743
608
<a name="gp11-module-info-free"></a><h3>gp11_module_info_free ()</h3>
744
 
<pre class="programlisting">void                gp11_module_info_free               (<a class="link" href="gp11-gp11-module.html#GP11ModuleInfo" title="GP11ModuleInfo">GP11ModuleInfo</a> *module_info);</pre>
 
609
<pre class="programlisting"><span class="returnvalue">void</span>                gp11_module_info_free               (<a class="link" href="gp11-gp11-module.html#GP11ModuleInfo" title="GP11ModuleInfo"><span class="returnvalue">GP11ModuleInfo</span></a> *module_info);</pre>
745
610
<p>
746
611
Free a GP11ModuleInfo structure.</p>
747
 
<p>
748
 
</p>
749
612
<div class="variablelist"><table border="0">
750
613
<col align="left" valign="top">
751
614
<tbody><tr>
760
623
<a name="gp11-gp11-module.property-details"></a><h2>Property Details</h2>
761
624
<div class="refsect2" title='The "auto-authenticate" property'>
762
625
<a name="GP11Module--auto-authenticate"></a><h3>The <code class="literal">"auto-authenticate"</code> property</h3>
763
 
<pre class="programlisting">  "auto-authenticate"        <a
764
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
765
 
>gint</a>                  : Read / Write</pre>
 
626
<pre class="programlisting">  "auto-authenticate"        <span class="type">gint</span>                  : Read / Write</pre>
766
627
<p>
767
628
Whether or not to automatically authenticate token objects that need
768
629
a C_Login call before they can be used.
770
631
<p>
771
632
The <a class="link" href="gp11-gp11-module.html#GP11Module-authenticate-object" title='The "authenticate-object" signal'><span class="type">"authenticate-object"</span></a> signal will be fired when an
772
633
object needs to be authenticated.</p>
773
 
<p>
774
 
</p>
775
634
<p>Allowed values: &gt;= 0</p>
776
635
<p>Default value: 0</p>
777
636
</div>
778
637
<hr>
779
638
<div class="refsect2" title='The "functions" property'>
780
639
<a name="GP11Module--functions"></a><h3>The <code class="literal">"functions"</code> property</h3>
781
 
<pre class="programlisting">  "functions"                <a
782
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
783
 
>gpointer</a>              : Read / Write / Construct Only</pre>
 
640
<pre class="programlisting">  "functions"                <span class="type">gpointer</span>              : Read / Write / Construct Only</pre>
784
641
<p>
785
642
The raw PKCS#11 function list for the module.
786
643
</p>
787
644
<p>
788
645
This points to a CK_FUNCTION_LIST structure.</p>
789
 
<p>
790
 
</p>
791
646
</div>
792
647
<hr>
793
648
<div class="refsect2" title='The "path" property'>
794
649
<a name="GP11Module--path"></a><h3>The <code class="literal">"path"</code> property</h3>
795
 
<pre class="programlisting">  "path"                     <a
796
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
797
 
>gchar</a>*                : Read / Write / Construct Only</pre>
 
650
<pre class="programlisting">  "path"                     <span class="type">gchar</span>*                : Read / Write / Construct Only</pre>
798
651
<p>
799
652
The PKCS#11 module file path. 
800
653
</p>
801
654
<p>
802
655
This may be set to NULL if this object was created from an already
803
656
initialized module via the <a class="link" href="gp11-gp11-module.html#gp11-module-new" title="gp11_module_new ()"><code class="function">gp11_module_new()</code></a> function.</p>
804
 
<p>
805
 
</p>
806
657
<p>Default value: NULL</p>
807
658
</div>
808
659
<hr>
809
660
<div class="refsect2" title='The "pool-sessions" property'>
810
661
<a name="GP11Module--pool-sessions"></a><h3>The <code class="literal">"pool-sessions"</code> property</h3>
811
 
<pre class="programlisting">  "pool-sessions"            <a
812
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
813
 
>gboolean</a>              : Read / Write</pre>
 
662
<pre class="programlisting">  "pool-sessions"            <span class="type">gboolean</span>              : Read / Write</pre>
814
663
<p>
815
664
Whether or not to pool PKCS#11 sessions. When this is set, sessions
816
665
will be pooled and reused if their flags match when <a class="link" href="gp11-gp11-slot.html#gp11-slot-open-session" title="gp11_slot_open_session ()"><code class="function">gp11_slot_open_session()</code></a> 
817
666
is called.</p>
818
 
<p>
819
 
</p>
820
667
<p>Default value: FALSE</p>
821
668
</div>
822
669
</div>
824
671
<a name="gp11-gp11-module.signal-details"></a><h2>Signal Details</h2>
825
672
<div class="refsect2" title='The "authenticate-object" signal'>
826
673
<a name="GP11Module-authenticate-object"></a><h3>The <code class="literal">"authenticate-object"</code> signal</h3>
827
 
<pre class="programlisting"><a
828
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
829
 
>gboolean</a>            user_function                      (<a class="link" href="gp11-gp11-module.html#GP11Module">GP11Module</a> *module,
830
 
                                                        <a class="link" href="gp11-gp11-object.html#GP11Object">GP11Object</a> *object,
831
 
                                                        <a
832
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
833
 
>gchar</a>      *label,
834
 
                                                        <a
835
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
836
 
>gpointer</a>    password,
837
 
                                                        <a
838
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
839
 
>gpointer</a>    user_data)      : Run Last</pre>
 
674
<pre class="programlisting"><span class="returnvalue">gboolean</span>            user_function                      (<a class="link" href="gp11-gp11-module.html#GP11Module"><span class="type">GP11Module</span></a> *module,
 
675
                                                        <a class="link" href="gp11-gp11-object.html#GP11Object"><span class="type">GP11Object</span></a> *object,
 
676
                                                        <span class="type">gchar</span>      *label,
 
677
                                                        <span class="type">gpointer</span>    password,
 
678
                                                        <span class="type">gpointer</span>    user_data)      : Run Last</pre>
840
679
<p>
841
680
This signal is emitted when a password is needed to authenticate a PKCS#11
842
681
object like a key. If the module prompts for passwords itself, then this signal will
843
682
not be emitted.</p>
844
 
<p>
845
 
</p>
846
683
<div class="variablelist"><table border="0">
847
684
<col align="left" valign="top">
848
685
<tbody>
881
718
<hr>
882
719
<div class="refsect2" title='The "authenticate-slot" signal'>
883
720
<a name="GP11Module-authenticate-slot"></a><h3>The <code class="literal">"authenticate-slot"</code> signal</h3>
884
 
<pre class="programlisting"><a
885
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
886
 
>gboolean</a>            user_function                      (<a class="link" href="gp11-gp11-module.html#GP11Module">GP11Module</a> *module,
887
 
                                                        <a class="link" href="gp11-gp11-slot.html#GP11Slot">GP11Slot</a>   *slot,
888
 
                                                        <a
889
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
890
 
>gchar</a>      *string,
891
 
                                                        <a
892
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
893
 
>gpointer</a>    password,
894
 
                                                        <a
895
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
896
 
>gpointer</a>    user_data)      : Run Last</pre>
 
721
<pre class="programlisting"><span class="returnvalue">gboolean</span>            user_function                      (<a class="link" href="gp11-gp11-module.html#GP11Module"><span class="type">GP11Module</span></a> *module,
 
722
                                                        <a class="link" href="gp11-gp11-slot.html#GP11Slot"><span class="type">GP11Slot</span></a>   *slot,
 
723
                                                        <span class="type">gchar</span>      *string,
 
724
                                                        <span class="type">gpointer</span>    password,
 
725
                                                        <span class="type">gpointer</span>    user_data)      : Run Last</pre>
897
726
<p>
898
727
This signal is emitted when a password is needed to authenticate a PKCS#11 
899
728
slot. If the module prompts for passwords itself, then this signal will 
900
729
not be emitted.</p>
901
 
<p>
902
 
</p>
903
730
<div class="variablelist"><table border="0">
904
731
<col align="left" valign="top">
905
732
<tbody>
939
766
</div>
940
767
<div class="footer">
941
768
<hr>
942
 
          Generated by GTK-Doc V1.11</div>
 
769
          Generated by GTK-Doc V1.14</div>
943
770
</body>
944
 
</html>
 
771
</html>
 
 
b'\\ No newline at end of file'