| Current File : //usr/share/doc/dbus/api/group__DBusKeyringInternals.html |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>D-Bus: DBusKeyring implementation details</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
<div id="projectname">D-Bus
 <span id="projectnumber">1.8.20</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- Generated by Doxygen 1.7.6.1 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="pages.html"><span>Related Pages</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li><a href="annotated.html"><span>Data Structures</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
</div>
<div class="header">
<div class="summary">
<a href="#nested-classes">Data Structures</a> |
<a href="#define-members">Defines</a> </div>
<div class="headertitle">
<div class="title">DBusKeyring implementation details</div> </div>
<div class="ingroups"><a class="el" href="group__DBusInternals.html">D-Bus secret internal implementation details</a></div></div><!--header-->
<div class="contents">
<p><a class="el" href="structDBusKeyring.html" title="Internals of DBusKeyring.">DBusKeyring</a> implementation details.
<a href="#details">More...</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structDBusKey.html">DBusKey</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">A single key from the cookie file. <a href="structDBusKey.html#details">More...</a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structDBusKeyring.html">DBusKeyring</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Internals of <a class="el" href="structDBusKeyring.html" title="Internals of DBusKeyring.">DBusKeyring</a>. <a href="structDBusKeyring.html#details">More...</a><br/></td></tr>
<tr><td colspan="2"><h2><a name="define-members"></a>
Defines</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__DBusKeyringInternals.html#ga73544ee0e71ac5224d339bcc87b4b559">NEW_KEY_TIMEOUT_SECONDS</a>   (60*5)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">The maximum age of a key before we create a new key to use in challenges. <a href="#ga73544ee0e71ac5224d339bcc87b4b559"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__DBusKeyringInternals.html#gada47ab381d8e794bd9563f362ea1e09e">EXPIRE_KEYS_TIMEOUT_SECONDS</a>   (<a class="el" href="group__DBusKeyringInternals.html#ga73544ee0e71ac5224d339bcc87b4b559">NEW_KEY_TIMEOUT_SECONDS</a> + (60*2))</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">The time after which we drop a key from the secrets file. <a href="#gada47ab381d8e794bd9563f362ea1e09e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga5b0fdbdfffac1aebfc00716cec02afcd"></a><!-- doxytag: member="DBusKeyringInternals::MAX_TIME_TRAVEL_SECONDS" ref="ga5b0fdbdfffac1aebfc00716cec02afcd" args="" -->
#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__DBusKeyringInternals.html#ga5b0fdbdfffac1aebfc00716cec02afcd">MAX_TIME_TRAVEL_SECONDS</a>   (60*5)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">The maximum amount of time a key can be in the future. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gacf841625731864fd6c3fab95bd0e878a"></a><!-- doxytag: member="DBusKeyringInternals::MAX_KEYS_IN_FILE" ref="gacf841625731864fd6c3fab95bd0e878a" args="" -->
#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__DBusKeyringInternals.html#gacf841625731864fd6c3fab95bd0e878a">MAX_KEYS_IN_FILE</a>   256</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Maximum number of keys in the keyring before we just ignore the rest. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gad11bde7ec18fb393d9f6e552dc89e6c2"></a><!-- doxytag: member="DBusKeyringInternals::MAX_LOCK_TIMEOUTS" ref="gad11bde7ec18fb393d9f6e552dc89e6c2" args="" -->
#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__DBusKeyringInternals.html#gad11bde7ec18fb393d9f6e552dc89e6c2">MAX_LOCK_TIMEOUTS</a>   32</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Maximum number of timeouts waiting for lock before we decide it's stale. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga046e055537cce7bc45caf9d6e51e19dd"></a><!-- doxytag: member="DBusKeyringInternals::LOCK_TIMEOUT_MILLISECONDS" ref="ga046e055537cce7bc45caf9d6e51e19dd" args="" -->
#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__DBusKeyringInternals.html#ga046e055537cce7bc45caf9d6e51e19dd">LOCK_TIMEOUT_MILLISECONDS</a>   250</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Length of each timeout while waiting for a lock. <br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<p><a class="el" href="structDBusKeyring.html" title="Internals of DBusKeyring.">DBusKeyring</a> implementation details. </p>
<p>The guts of <a class="el" href="structDBusKeyring.html" title="Internals of DBusKeyring.">DBusKeyring</a>. </p>
<hr/><h2>Define Documentation</h2>
<a class="anchor" id="gada47ab381d8e794bd9563f362ea1e09e"></a><!-- doxytag: member="dbus-keyring.c::EXPIRE_KEYS_TIMEOUT_SECONDS" ref="gada47ab381d8e794bd9563f362ea1e09e" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define <a class="el" href="group__DBusKeyringInternals.html#gada47ab381d8e794bd9563f362ea1e09e">EXPIRE_KEYS_TIMEOUT_SECONDS</a>   (<a class="el" href="group__DBusKeyringInternals.html#ga73544ee0e71ac5224d339bcc87b4b559">NEW_KEY_TIMEOUT_SECONDS</a> + (60*2))</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>The time after which we drop a key from the secrets file. </p>
<p>The EXPIRE_KEYS_TIMEOUT_SECONDS - NEW_KEY_TIMEOUT_SECONDS is the minimum time window a client has to complete authentication. </p>
<p>Definition at line <a class="el" href="dbus-keyring_8c_source.html#l00073">73</a> of file <a class="el" href="dbus-keyring_8c_source.html">dbus-keyring.c</a>.</p>
</div>
</div>
<a class="anchor" id="ga73544ee0e71ac5224d339bcc87b4b559"></a><!-- doxytag: member="dbus-keyring.c::NEW_KEY_TIMEOUT_SECONDS" ref="ga73544ee0e71ac5224d339bcc87b4b559" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define <a class="el" href="group__DBusKeyringInternals.html#ga73544ee0e71ac5224d339bcc87b4b559">NEW_KEY_TIMEOUT_SECONDS</a>   (60*5)</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>The maximum age of a key before we create a new key to use in challenges. </p>
<p>This isn't super-reliably enforced, since system clocks can change or be wrong, but we make a best effort to only use keys for a short time. </p>
<p>Definition at line <a class="el" href="dbus-keyring_8c_source.html#l00067">67</a> of file <a class="el" href="dbus-keyring_8c_source.html">dbus-keyring.c</a>.</p>
</div>
</div>
</div><!-- contents -->
<hr class="footer"/><address class="footer"><small>
Generated on Thu Mar 3 2016 17:50:32 for D-Bus by  <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.6.1
</small></address>
</body>
</html>