/usr/share/gtk-doc/html/libsecret-1/migrating-keyrings.html is in libsecret-1-dev 0.18.5-3.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 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Keyring management: Libsecret Library Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="Libsecret Library Reference Manual">
<link rel="up" href="migrating-api.html" title="API conversion">
<link rel="prev" href="migrating-items.html" title="Item management">
<link rel="next" href="migrating-locking.html" title="Locking and unlocking">
<meta name="generator" content="GTK-Doc V1.24 (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="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts"></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="migrating-api.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="migrating-items.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="migrating-locking.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="section">
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
<a name="migrating-keyrings"></a>Keyring management</h2></div></div></div>
<p>In libsecret keyrings are called 'collections'. This is the same
lingo as the underlying Secret Service DBus API. Keyrings are no longer
identified by simple keyring names. Normally applications just use the
default keyrings and these are identified by the aliases
<a class="link" href="libsecret-Password-storage.html#SECRET-COLLECTION-DEFAULT:CAPS" title="SECRET_COLLECTION_DEFAULT"><code class="literal">SECRET_COLLECTION_DEFAULT</code></a> and <a class="link" href="libsecret-Password-storage.html#SECRET-COLLECTION-SESSION:CAPS" title="SECRET_COLLECTION_SESSION"><code class="literal">SECRET_COLLECTION_SESSION</code></a>. It is also
possible to identify collections by their DBus object paths.</p>
<p>Replacements for related libgnome-keyring functions and types
are described below:
</p>
<div class="table">
<a name="id-1.6.3.9.3.1"></a><p class="title"><b>Table 7. </b></p>
<div class="table-contents"><table border="1">
<colgroup>
<col>
<col>
</colgroup>
<thead><tr>
<th>libgnome-keyring</th>
<th>libsecret</th>
</tr></thead>
<tbody>
<tr>
<td><code class="function">gnome_keyring_create()</code></td>
<td><a class="link" href="SecretCollection.html#secret-collection-create" title="secret_collection_create ()"><code class="function">secret_collection_create()</code></a></td>
</tr>
<tr>
<td><code class="function">gnome_keyring_create_sync()</code></td>
<td><a class="link" href="SecretCollection.html#secret-collection-create-sync" title="secret_collection_create_sync ()"><code class="function">secret_collection_create_sync()</code></a></td>
</tr>
<tr>
<td><code class="function">gnome_keyring_delete()</code></td>
<td><a class="link" href="SecretCollection.html#secret-collection-delete" title="secret_collection_delete ()"><code class="function">secret_collection_delete()</code></a></td>
</tr>
<tr>
<td><code class="function">gnome_keyring_delete_sync()</code></td>
<td><a class="link" href="SecretCollection.html#secret-collection-delete-sync" title="secret_collection_delete_sync ()"><code class="function">secret_collection_delete_sync()</code></a></td>
</tr>
<tr>
<td><code class="function">gnome_keyring_change_password()</code></td>
<td>no equivalent, use platform specific DBus APIs</td>
</tr>
<tr>
<td><code class="function">gnome_keyring_change_password_sync()</code></td>
<td>no equivalent, use platform specific DBus APIs</td>
</tr>
<tr>
<td><code class="function">gnome_keyring_list_keyring_names()</code></td>
<td>
<a class="link" href="SecretService.html#secret-service-load-collections" title="secret_service_load_collections ()"><code class="function">secret_service_load_collections()</code></a> and <a class="link" href="SecretService.html#secret-service-get-collections" title="secret_service_get_collections ()"><code class="function">secret_service_get_collections()</code></a>
</td>
</tr>
<tr>
<td><code class="function">gnome_keyring_list_keyring_names_sync()</code></td>
<td>
<a class="link" href="SecretService.html#secret-service-load-collections-sync" title="secret_service_load_collections_sync ()"><code class="function">secret_service_load_collections_sync()</code></a> and <a class="link" href="SecretService.html#secret-service-get-collections" title="secret_service_get_collections ()"><code class="function">secret_service_get_collections()</code></a>
</td>
</tr>
<tr>
<td><code class="function">gnome_keyring_set_default_keyring()</code></td>
<td><a class="link" href="SecretService.html#secret-service-set-alias" title="secret_service_set_alias ()"><code class="function">secret_service_set_alias()</code></a></td>
</tr>
<tr>
<td><code class="function">gnome_keyring_set_default_keyring_sync()</code></td>
<td><a class="link" href="SecretService.html#secret-service-set-alias-sync" title="secret_service_set_alias_sync ()"><code class="function">secret_service_set_alias_sync()</code></a></td>
</tr>
<tr>
<td><code class="function">gnome_keyring_get_default_keyring()</code></td>
<td>
<a class="link" href="SecretCollection.html#secret-collection-for-alias" title="secret_collection_for_alias ()"><code class="function">secret_collection_for_alias()</code></a> with <a class="link" href="libsecret-Password-storage.html#SECRET-COLLECTION-DEFAULT:CAPS" title="SECRET_COLLECTION_DEFAULT"><code class="literal">SECRET_COLLECTION_DEFAULT</code></a>
</td>
</tr>
<tr>
<td><code class="function">gnome_keyring_get_default_keyring_sync()</code></td>
<td>
<a class="link" href="SecretCollection.html#secret-collection-for-alias-sync" title="secret_collection_for_alias_sync ()"><code class="function">secret_collection_for_alias_sync()</code></a> with <a class="link" href="libsecret-Password-storage.html#SECRET-COLLECTION-DEFAULT:CAPS" title="SECRET_COLLECTION_DEFAULT"><code class="literal">SECRET_COLLECTION_DEFAULT</code></a>
</td>
</tr>
<tr>
<td><code class="function">gnome_keyring_list_item_ids()</code></td>
<td>
<a class="link" href="SecretCollection.html#secret-collection-load-items" title="secret_collection_load_items ()"><code class="function">secret_collection_load_items()</code></a> and <a class="link" href="SecretCollection.html#secret-collection-get-items" title="secret_collection_get_items ()"><code class="function">secret_collection_get_items()</code></a>
</td>
</tr>
<tr>
<td><code class="function">gnome_keyring_list_item_ids_sync()</code></td>
<td>
<a class="link" href="SecretCollection.html#secret-collection-load-items-sync" title="secret_collection_load_items_sync ()"><code class="function">secret_collection_load_items_sync()</code></a> and <a class="link" href="SecretCollection.html#secret-collection-get-items" title="secret_collection_get_items ()"><code class="function">secret_collection_get_items()</code></a>
</td>
</tr>
<tr>
<td><span class="type">GnomeKeyringInfo</span></td>
<td>
<a class="link" href="SecretCollection.html" title="SecretCollection"><span class="type">SecretCollection</span></a> and properties</td>
</tr>
<tr>
<td><code class="function">gnome_keyring_get_info()</code></td>
<td>no equivalent</td>
</tr>
<tr>
<td><code class="function">gnome_keyring_get_info_sync()</code></td>
<td>no equivalent</td>
</tr>
<tr>
<td><code class="function">gnome_keyring_set_info()</code></td>
<td>no equivalent, use property setters on <a class="link" href="SecretCollection.html" title="SecretCollection"><span class="type">SecretCollection</span></a>
</td>
</tr>
<tr>
<td><code class="function">gnome_keyring_set_info_sync()</code></td>
<td>no equivalent, use property setters on <a class="link" href="SecretCollection.html" title="SecretCollection"><span class="type">SecretCollection</span></a>
</td>
</tr>
<tr>
<td><code class="function">gnome_keyring_info_free()</code></td>
<td>no equivalent</td>
</tr>
<tr>
<td><code class="function">gnome_keyring_info_copy()</code></td>
<td>no equivalent</td>
</tr>
<tr>
<td><code class="function">gnome_keyring_info_set_lock_on_idle()</code></td>
<td>no equivalent</td>
</tr>
<tr>
<td><code class="function">gnome_keyring_info_get_lock_on_idle()</code></td>
<td>no equivalent</td>
</tr>
<tr>
<td><code class="function">gnome_keyring_info_set_lock_timeout()</code></td>
<td>no equivalent</td>
</tr>
<tr>
<td><code class="function">gnome_keyring_info_get_lock_timeout()</code></td>
<td>no equivalent</td>
</tr>
<tr>
<td><code class="function">gnome_keyring_info_get_mtime()</code></td>
<td><a class="link" href="SecretCollection.html#secret-collection-get-modified" title="secret_collection_get_modified ()"><code class="function">secret_collection_get_modified()</code></a></td>
</tr>
<tr>
<td><code class="function">gnome_keyring_info_get_ctime()</code></td>
<td><a class="link" href="SecretCollection.html#secret-collection-get-created" title="secret_collection_get_created ()"><code class="function">secret_collection_get_created()</code></a></td>
</tr>
<tr>
<td><code class="function">gnome_keyring_info_get_is_locked()</code></td>
<td><a class="link" href="SecretCollection.html#secret-collection-get-locked" title="secret_collection_get_locked ()"><code class="function">secret_collection_get_locked()</code></a></td>
</tr>
</tbody>
</table></div>
</div>
<p><br class="table-break"></p>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.24</div>
</body>
</html>
|