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

« back to all changes in this revision

Viewing changes to docs/reference/gp11/html/gp11-gp11-error.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="gp11-gp11-attributes.html" title="GP11Attributes">
10
10
<link rel="next" href="gp11-gp11-misc.html" title="Miscellaneous Functions">
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-error.synopsis" class="shortcut">Top</a>
26
 
                 | 
27
 
                <a href="#gp11-gp11-error.description" class="shortcut">Description</a>
 
26
                   | 
 
27
                  <a href="#gp11-gp11-error.description" class="shortcut">Description</a>
28
28
</td></tr>
29
29
</table>
30
30
<div class="refentry" title="Errors">
38
38
</tr></table></div>
39
39
<div class="refsynopsisdiv" title="Synopsis">
40
40
<a name="gp11-gp11-error.synopsis"></a><h2>Synopsis</h2>
41
 
<pre class="synopsis">
42
 
#define             <a class="link" href="gp11-gp11-error.html#GP11-VENDOR-CODE--CAPS" title="GP11_VENDOR_CODE">GP11_VENDOR_CODE</a>
43
 
#define             <a class="link" href="gp11-gp11-error.html#GP11-ERROR--CAPS" title="GP11_ERROR">GP11_ERROR</a>
44
 
const <a
45
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
46
 
>gchar</a>*        <a class="link" href="gp11-gp11-error.html#gp11-message-from-rv" title="gp11_message_from_rv ()">gp11_message_from_rv</a>                (CK_RV rv);
47
 
#define             <a class="link" href="gp11-gp11-error.html#CKR-GP11-MODULE-PROBLEM--CAPS" title="CKR_GP11_MODULE_PROBLEM">CKR_GP11_MODULE_PROBLEM</a>
 
41
<pre class="synopsis">#define             <a class="link" href="gp11-gp11-error.html#GP11-VENDOR-CODE:CAPS" title="GP11_VENDOR_CODE">GP11_VENDOR_CODE</a>
 
42
#define             <a class="link" href="gp11-gp11-error.html#GP11-ERROR:CAPS" title="GP11_ERROR">GP11_ERROR</a>
 
43
const <span class="returnvalue">gchar</span>*        <a class="link" href="gp11-gp11-error.html#gp11-message-from-rv" title="gp11_message_from_rv ()">gp11_message_from_rv</a>                (<span class="returnvalue">CK_RV</span> rv);
 
44
#define             <a class="link" href="gp11-gp11-error.html#CKR-GP11-MODULE-PROBLEM:CAPS" title="CKR_GP11_MODULE_PROBLEM">CKR_GP11_MODULE_PROBLEM</a>
48
45
</pre>
49
46
</div>
50
47
<div class="refsect1" title="Description">
52
49
<p>
53
50
GP11 errors are returned as GError structures. The code member of GError 
54
51
contains the raw PKCS11 CK_RV result value.</p>
55
 
<p>
56
 
</p>
57
52
</div>
58
53
<div class="refsect1" title="Details">
59
54
<a name="gp11-gp11-error.details"></a><h2>Details</h2>
60
55
<div class="refsect2" title="GP11_VENDOR_CODE">
61
 
<a name="GP11-VENDOR-CODE--CAPS"></a><h3>GP11_VENDOR_CODE</h3>
 
56
<a name="GP11-VENDOR-CODE:CAPS"></a><h3>GP11_VENDOR_CODE</h3>
62
57
<pre class="programlisting">#define             GP11_VENDOR_CODE                        0x47503131 /* GP11 */
63
58
</pre>
64
59
<p>
65
60
Custom PKCS11 errors that originate from the GP11 library, are 
66
61
based at this error code.</p>
67
 
<p>
68
 
</p>
69
62
</div>
70
63
<hr>
71
64
<div class="refsect2" title="GP11_ERROR">
72
 
<a name="GP11-ERROR--CAPS"></a><h3>GP11_ERROR</h3>
 
65
<a name="GP11-ERROR:CAPS"></a><h3>GP11_ERROR</h3>
73
66
<pre class="programlisting">#define             GP11_ERROR                              (gp11_get_error_quark ())
74
67
</pre>
75
68
<p>
76
69
The error domain for GP11 library errors.</p>
77
 
<p>
78
 
</p>
79
70
</div>
80
71
<hr>
81
72
<div class="refsect2" title="gp11_message_from_rv ()">
82
73
<a name="gp11-message-from-rv"></a><h3>gp11_message_from_rv ()</h3>
83
 
<pre class="programlisting">const <a
84
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
85
 
>gchar</a>*        gp11_message_from_rv                (CK_RV rv);</pre>
 
74
<pre class="programlisting">const <span class="returnvalue">gchar</span>*        gp11_message_from_rv                (<span class="returnvalue">CK_RV</span> rv);</pre>
86
75
<p>
87
76
Get a message for a PKCS<span class="type">11</span> return value or error code. Do not 
88
77
pass CKR_OK or other such non errors to this function.</p>
89
 
<p>
90
 
</p>
91
78
<div class="variablelist"><table border="0">
92
79
<col align="left" valign="top">
93
80
<tbody>
106
93
</div>
107
94
<hr>
108
95
<div class="refsect2" title="CKR_GP11_MODULE_PROBLEM">
109
 
<a name="CKR-GP11-MODULE-PROBLEM--CAPS"></a><h3>CKR_GP11_MODULE_PROBLEM</h3>
 
96
<a name="CKR-GP11-MODULE-PROBLEM:CAPS"></a><h3>CKR_GP11_MODULE_PROBLEM</h3>
110
97
<pre class="programlisting">#define             CKR_GP11_MODULE_PROBLEM                 (CKR_VENDOR_DEFINED | (GP11_VENDOR_CODE + 1)) 
111
98
</pre>
112
99
<p>
115
102
</p>
116
103
<p>
117
104
More details can be found in the error string.</p>
118
 
<p>
119
 
</p>
120
105
</div>
121
106
</div>
122
107
</div>
123
108
<div class="footer">
124
109
<hr>
125
 
          Generated by GTK-Doc V1.11</div>
 
110
          Generated by GTK-Doc V1.14</div>
126
111
</body>
127
 
</html>
 
112
</html>
 
 
b'\\ No newline at end of file'