/usr/share/gtk-doc/html/libcryptui/libcryptui-cryptui.html is in libcryptui-doc 3.8.0-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>cryptui</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="libcryptui Reference Manual">
<link rel="up" href="ch01.html" title="libcryptui Objects and Functions">
<link rel="prev" href="libcryptui-cryptui-key-store.html" title="CryptUIKeyStore">
<link rel="next" href="libcryptui-cryptui-defines.html" title="cryptui-defines">
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="libcryptui-cryptui-key-store.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">libcryptui Reference Manual</th>
<td><a accesskey="n" href="libcryptui-cryptui-defines.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#libcryptui-cryptui.synopsis" class="shortcut">Top</a>
|
<a href="#libcryptui-cryptui.description" class="shortcut">Description</a>
</td></tr>
</table>
<div class="refentry">
<a name="libcryptui-cryptui"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="libcryptui-cryptui.top_of_page"></a>cryptui</span></h2>
<p>cryptui</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="libcryptui-cryptui.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">enum <a class="link" href="libcryptui-cryptui.html#CryptUIEncType" title="enum CryptUIEncType">CryptUIEncType</a>;
enum <a class="link" href="libcryptui-cryptui.html#CryptUIKeyFlags" title="enum CryptUIKeyFlags">CryptUIKeyFlags</a>;
enum <a class="link" href="libcryptui-cryptui.html#CryptUILocation" title="enum CryptUILocation">CryptUILocation</a>;
enum <a class="link" href="libcryptui-cryptui.html#CryptUIValidity" title="enum CryptUIValidity">CryptUIValidity</a>;
<span class="returnvalue">gchar</span> * <a class="link" href="libcryptui-cryptui.html#cryptui-key-get-base" title="cryptui_key_get_base ()">cryptui_key_get_base</a> (<em class="parameter"><code>const <span class="type">gchar</span> *key</code></em>);
<a class="link" href="libcryptui-cryptui.html#CryptUIEncType" title="enum CryptUIEncType"><span class="returnvalue">CryptUIEncType</span></a> <a class="link" href="libcryptui-cryptui.html#cryptui-key-get-enctype" title="cryptui_key_get_enctype ()">cryptui_key_get_enctype</a> (<em class="parameter"><code>const <span class="type">gchar</span> *key</code></em>);
<span class="returnvalue">void</span> <a class="link" href="libcryptui-cryptui.html#cryptui-display-notification" title="cryptui_display_notification ()">cryptui_display_notification</a> (<em class="parameter"><code>const <span class="type">gchar</span> *title</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *body</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *icon</code></em>,
<em class="parameter"><code><span class="type">gboolean</span> urgent</code></em>);
<span class="returnvalue">gchar</span> ** <a class="link" href="libcryptui-cryptui.html#cryptui-prompt-recipients" title="cryptui_prompt_recipients ()">cryptui_prompt_recipients</a> (<em class="parameter"><code><a class="link" href="libcryptui-cryptui-keyset.html#CryptUIKeyset" title="struct CryptUIKeyset"><span class="type">CryptUIKeyset</span></a> *keyset</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *title</code></em>,
<em class="parameter"><code><span class="type">gchar</span> **signer</code></em>);
<span class="returnvalue">gchar</span> * <a class="link" href="libcryptui-cryptui.html#cryptui-prompt-signer" title="cryptui_prompt_signer ()">cryptui_prompt_signer</a> (<em class="parameter"><code><a class="link" href="libcryptui-cryptui-keyset.html#CryptUIKeyset" title="struct CryptUIKeyset"><span class="type">CryptUIKeyset</span></a> *keyset</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *title</code></em>);
<span class="returnvalue">void</span> <a class="link" href="libcryptui-cryptui.html#cryptui-need-to-get-keys" title="cryptui_need_to_get_keys ()">cryptui_need_to_get_keys</a> ();
</pre>
</div>
<div class="refsect1">
<a name="libcryptui-cryptui.description"></a><h2>Description</h2>
<p>
</p>
</div>
<div class="refsect1">
<a name="libcryptui-cryptui.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="CryptUIEncType"></a><h3>enum CryptUIEncType</h3>
<pre class="programlisting">typedef enum {
CRYPTUI_ENCTYPE_NONE = 0,
CRYPTUI_ENCTYPE_SYMMETRIC = 1,
CRYPTUI_ENCTYPE_PUBLIC = 2,
CRYPTUI_ENCTYPE_PRIVATE = 3,
/* Used internally */
CRYPTUI_ENCTYPE_MAXVALUE
} CryptUIEncType;
</pre>
<p>
Used in key properties to indicate what kind of key it is
</p>
<p>
Never ever change a values already present. These values are used
across applications, DBus etc...
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><a name="CRYPTUI-ENCTYPE-NONE:CAPS"></a><span class="term"><code class="literal">CRYPTUI_ENCTYPE_NONE</code></span></p></td>
<td>the key is none of the below types
</td>
</tr>
<tr>
<td><p><a name="CRYPTUI-ENCTYPE-SYMMETRIC:CAPS"></a><span class="term"><code class="literal">CRYPTUI_ENCTYPE_SYMMETRIC</code></span></p></td>
<td>the key's type is symmetric
</td>
</tr>
<tr>
<td><p><a name="CRYPTUI-ENCTYPE-PUBLIC:CAPS"></a><span class="term"><code class="literal">CRYPTUI_ENCTYPE_PUBLIC</code></span></p></td>
<td>the key's type is public
</td>
</tr>
<tr>
<td><p><a name="CRYPTUI-ENCTYPE-PRIVATE:CAPS"></a><span class="term"><code class="literal">CRYPTUI_ENCTYPE_PRIVATE</code></span></p></td>
<td>the key's type is private
</td>
</tr>
<tr>
<td><p><a name="CRYPTUI-ENCTYPE-MAXVALUE:CAPS"></a><span class="term"><code class="literal">CRYPTUI_ENCTYPE_MAXVALUE</code></span></p></td>
<td>for internal use only
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="CryptUIKeyFlags"></a><h3>enum CryptUIKeyFlags</h3>
<pre class="programlisting">typedef enum {
CRYPTUI_FLAG_IS_VALID = 0x00000001,
CRYPTUI_FLAG_CAN_ENCRYPT = 0x00000002,
CRYPTUI_FLAG_CAN_SIGN = 0x00000004,
CRYPTUI_FLAG_EXPIRED = 0x00000100,
CRYPTUI_FLAG_REVOKED = 0x00000200,
CRYPTUI_FLAG_DISABLED = 0x00000400,
CRYPTUI_FLAG_TRUSTED = 0x00001000,
CRYPTUI_FLAG_EXPORTABLE = 0x00100000
} CryptUIKeyFlags;
</pre>
<p>
Used in key properties to indicate a key's status. These values are
logically OR'd together.
</p>
<p>
Never ever change a values already present. These values are used
across applications, DBus etc...
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><a name="CRYPTUI-FLAG-IS-VALID:CAPS"></a><span class="term"><code class="literal">CRYPTUI_FLAG_IS_VALID</code></span></p></td>
<td>whether the key is valid
</td>
</tr>
<tr>
<td><p><a name="CRYPTUI-FLAG-CAN-ENCRYPT:CAPS"></a><span class="term"><code class="literal">CRYPTUI_FLAG_CAN_ENCRYPT</code></span></p></td>
<td>whether the key can encrypt
</td>
</tr>
<tr>
<td><p><a name="CRYPTUI-FLAG-CAN-SIGN:CAPS"></a><span class="term"><code class="literal">CRYPTUI_FLAG_CAN_SIGN</code></span></p></td>
<td>whether the key can sign
</td>
</tr>
<tr>
<td><p><a name="CRYPTUI-FLAG-EXPIRED:CAPS"></a><span class="term"><code class="literal">CRYPTUI_FLAG_EXPIRED</code></span></p></td>
<td>whether the key is expired
</td>
</tr>
<tr>
<td><p><a name="CRYPTUI-FLAG-REVOKED:CAPS"></a><span class="term"><code class="literal">CRYPTUI_FLAG_REVOKED</code></span></p></td>
<td>whether the key is revoked
</td>
</tr>
<tr>
<td><p><a name="CRYPTUI-FLAG-DISABLED:CAPS"></a><span class="term"><code class="literal">CRYPTUI_FLAG_DISABLED</code></span></p></td>
<td>whether the key is disabled
</td>
</tr>
<tr>
<td><p><a name="CRYPTUI-FLAG-TRUSTED:CAPS"></a><span class="term"><code class="literal">CRYPTUI_FLAG_TRUSTED</code></span></p></td>
<td>whether the key is trusted
</td>
</tr>
<tr>
<td><p><a name="CRYPTUI-FLAG-EXPORTABLE:CAPS"></a><span class="term"><code class="literal">CRYPTUI_FLAG_EXPORTABLE</code></span></p></td>
<td>whether the key is exportable
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="CryptUILocation"></a><h3>enum CryptUILocation</h3>
<pre class="programlisting">typedef enum {
CRYPTUI_LOC_INVALID = 0,
CRYPTUI_LOC_MISSING = 10,
CRYPTUI_LOC_SEARCHING = 20,
CRYPTUI_LOC_REMOTE = 50,
CRYPTUI_LOC_LOCAL = 100,
} CryptUILocation;
</pre>
<p>
Indicates where a key is located.
</p>
<p>
Never ever change a values already present. These values are used
across applications, DBus etc...
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><a name="CRYPTUI-LOC-INVALID:CAPS"></a><span class="term"><code class="literal">CRYPTUI_LOC_INVALID</code></span></p></td>
<td>An invalid key
</td>
</tr>
<tr>
<td><p><a name="CRYPTUI-LOC-MISSING:CAPS"></a><span class="term"><code class="literal">CRYPTUI_LOC_MISSING</code></span></p></td>
<td>A key we don't know anything about
</td>
</tr>
<tr>
<td><p><a name="CRYPTUI-LOC-SEARCHING:CAPS"></a><span class="term"><code class="literal">CRYPTUI_LOC_SEARCHING</code></span></p></td>
<td>A key we're searching for but haven't found yet
</td>
</tr>
<tr>
<td><p><a name="CRYPTUI-LOC-REMOTE:CAPS"></a><span class="term"><code class="literal">CRYPTUI_LOC_REMOTE</code></span></p></td>
<td>A key that we've found is present remotely
</td>
</tr>
<tr>
<td><p><a name="CRYPTUI-LOC-LOCAL:CAPS"></a><span class="term"><code class="literal">CRYPTUI_LOC_LOCAL</code></span></p></td>
<td>A key on the local machine
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="CryptUIValidity"></a><h3>enum CryptUIValidity</h3>
<pre class="programlisting">typedef enum {
CRYPTUI_VALIDITY_REVOKED = -3,
CRYPTUI_VALIDITY_DISABLED = -2,
CRYPTUI_VALIDITY_NEVER = -1,
CRYPTUI_VALIDITY_UNKNOWN = 0,
CRYPTUI_VALIDITY_MARGINAL = 1,
CRYPTUI_VALIDITY_FULL = 5,
CRYPTUI_VALIDITY_ULTIMATE = 10
} CryptUIValidity;
</pre>
<p>
What the validity of the key is.
</p>
<p>
Never ever change a values already present. These values are used
across applications, DBus etc...
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><a name="CRYPTUI-VALIDITY-REVOKED:CAPS"></a><span class="term"><code class="literal">CRYPTUI_VALIDITY_REVOKED</code></span></p></td>
<td>the key is revoked
</td>
</tr>
<tr>
<td><p><a name="CRYPTUI-VALIDITY-DISABLED:CAPS"></a><span class="term"><code class="literal">CRYPTUI_VALIDITY_DISABLED</code></span></p></td>
<td>the key is disabled
</td>
</tr>
<tr>
<td><p><a name="CRYPTUI-VALIDITY-NEVER:CAPS"></a><span class="term"><code class="literal">CRYPTUI_VALIDITY_NEVER</code></span></p></td>
<td>the key has never been valid
</td>
</tr>
<tr>
<td><p><a name="CRYPTUI-VALIDITY-UNKNOWN:CAPS"></a><span class="term"><code class="literal">CRYPTUI_VALIDITY_UNKNOWN</code></span></p></td>
<td>the key's validity is unknown
</td>
</tr>
<tr>
<td><p><a name="CRYPTUI-VALIDITY-MARGINAL:CAPS"></a><span class="term"><code class="literal">CRYPTUI_VALIDITY_MARGINAL</code></span></p></td>
<td>the key's validity is marginal
</td>
</tr>
<tr>
<td><p><a name="CRYPTUI-VALIDITY-FULL:CAPS"></a><span class="term"><code class="literal">CRYPTUI_VALIDITY_FULL</code></span></p></td>
<td>the key's validity is full
</td>
</tr>
<tr>
<td><p><a name="CRYPTUI-VALIDITY-ULTIMATE:CAPS"></a><span class="term"><code class="literal">CRYPTUI_VALIDITY_ULTIMATE</code></span></p></td>
<td>the key's validity is ultimate
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="cryptui-key-get-base"></a><h3>cryptui_key_get_base ()</h3>
<pre class="programlisting"><span class="returnvalue">gchar</span> * cryptui_key_get_base (<em class="parameter"><code>const <span class="type">gchar</span> *key</code></em>);</pre>
<p>
This function is a utility function to get the part of the key that preceeds
the colon.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
<td>key for use with libcryptui. <span class="annotation">[<acronym title="Parameter for input. Default is transfer none."><span class="acronym">in</span></acronym>]</span>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the key base if one is found in <em class="parameter"><code>key</code></em>
or <em class="parameter"><code>key</code></em> if it is already a base or is invalid</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="cryptui-key-get-enctype"></a><h3>cryptui_key_get_enctype ()</h3>
<pre class="programlisting"><a class="link" href="libcryptui-cryptui.html#CryptUIEncType" title="enum CryptUIEncType"><span class="returnvalue">CryptUIEncType</span></a> cryptui_key_get_enctype (<em class="parameter"><code>const <span class="type">gchar</span> *key</code></em>);</pre>
<p>
A utility function to get the type of key passed in. (public, private,
symmetric, etc.).
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
<td>key for use with libcryptui. <span class="annotation">[<acronym title="Parameter for input. Default is transfer none."><span class="acronym">in</span></acronym>]</span>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The type of key.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="cryptui-display-notification"></a><h3>cryptui_display_notification ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> cryptui_display_notification (<em class="parameter"><code>const <span class="type">gchar</span> *title</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *body</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *icon</code></em>,
<em class="parameter"><code><span class="type">gboolean</span> urgent</code></em>);</pre>
<p>
This function creates a notification bubble that can be updated as additional
key details are discovered. See http://live.gnome.org/Seahorse/DBus for a
description of the markup syntax.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>title</code></em> :</span></p></td>
<td>Headline for the notification. <span class="annotation">[<acronym title="Parameter for input. Default is transfer none."><span class="acronym">in</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>body</code></em> :</span></p></td>
<td>Text for the body of the notification. <span class="annotation">[<acronym title="Parameter for input. Default is transfer none."><span class="acronym">in</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>icon</code></em> :</span></p></td>
<td>Full path to icon to be included. <span class="annotation">[<acronym title="Parameter for input. Default is transfer none."><span class="acronym">in</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>urgent</code></em> :</span></p></td>
<td>Whether the notification is urgent or not. <span class="annotation">[<acronym title="Parameter for input. Default is transfer none."><span class="acronym">in</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="cryptui-prompt-recipients"></a><h3>cryptui_prompt_recipients ()</h3>
<pre class="programlisting"><span class="returnvalue">gchar</span> ** cryptui_prompt_recipients (<em class="parameter"><code><a class="link" href="libcryptui-cryptui-keyset.html#CryptUIKeyset" title="struct CryptUIKeyset"><span class="type">CryptUIKeyset</span></a> *keyset</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *title</code></em>,
<em class="parameter"><code><span class="type">gchar</span> **signer</code></em>);</pre>
<p>
This function prompts the user to select one or more keys from the keyset to
use to encrypt to. It also allows the user to select a private key from the
keyset to sign with.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>keyset</code></em> :</span></p></td>
<td>CryptUIKeyset to select keys to present to the user from</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>title</code></em> :</span></p></td>
<td>Window title for presented GtkWindow</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>signer</code></em> :</span></p></td>
<td>Variable in which to store the key of the signer if one is selected</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the selected key</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="cryptui-prompt-signer"></a><h3>cryptui_prompt_signer ()</h3>
<pre class="programlisting"><span class="returnvalue">gchar</span> * cryptui_prompt_signer (<em class="parameter"><code><a class="link" href="libcryptui-cryptui-keyset.html#CryptUIKeyset" title="struct CryptUIKeyset"><span class="type">CryptUIKeyset</span></a> *keyset</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *title</code></em>);</pre>
<p>
This function prompts the user to select a private key from the keyset to
use to sign something.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>keyset</code></em> :</span></p></td>
<td>CryptUIKeyset to select keys to present to the user from</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>title</code></em> :</span></p></td>
<td>Window title for presented GtkWindow</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the selected key</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="cryptui-need-to-get-keys"></a><h3>cryptui_need_to_get_keys ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> cryptui_need_to_get_keys ();</pre>
<p>
This function is called when seahorse needs to be launched to generate a
key or keys or import a key or keys to perform the requested operation.
</p>
</div>
</div>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.18</div>
</body>
</html>
|