KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17
System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64
User : nobody ( 99)
PHP Version : 5.2.17
Disable Function : NONE
Directory :  /usr/share/devhelp/books/dbus/api/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/share/devhelp/books/dbus/api/group__DBusKeyringInternals.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>D-Bus: DBusKeyring implementation details</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.4.7 -->
<div class="tabs">
  <ul>
    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
    <li><a href="modules.html"><span>Modules</span></a></li>
    <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
    <li><a href="files.html"><span>Files</span></a></li>
    <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
  </ul></div>
<h1>DBusKeyring implementation details<br>
<small>
[<a class="el" href="group__DBusInternals.html">D-Bus secret internal implementation details</a>]</small>
</h1><a class="el" href="structDBusKeyring.html">DBusKeyring</a> implementation details.  
<a href="#_details">More...</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Data Structures</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">struct &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structDBusKey.html">DBusKey</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</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" nowrap align="right" valign="top">struct &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structDBusKeyring.html">DBusKeyring</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Internals of <a class="el" href="structDBusKeyring.html">DBusKeyring</a>.  <a href="structDBusKeyring.html#_details">More...</a><br></td></tr>
<tr><td colspan="2"><br><h2>Defines</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__DBusKeyringInternals.html#g73544ee0e71ac5224d339bcc87b4b559">NEW_KEY_TIMEOUT_SECONDS</a>&nbsp;&nbsp;&nbsp;(60*5)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The maximum age of a key before we create a new key to use in challenges.  <a href="#g73544ee0e71ac5224d339bcc87b4b559"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__DBusKeyringInternals.html#gda47ab381d8e794bd9563f362ea1e09e">EXPIRE_KEYS_TIMEOUT_SECONDS</a>&nbsp;&nbsp;&nbsp;(NEW_KEY_TIMEOUT_SECONDS + (60*2))</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The time after which we drop a key from the secrets file.  <a href="#gda47ab381d8e794bd9563f362ea1e09e"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="g5b0fdbdfffac1aebfc00716cec02afcd"></a><!-- doxytag: member="DBusKeyringInternals::MAX_TIME_TRAVEL_SECONDS" ref="g5b0fdbdfffac1aebfc00716cec02afcd" args="" -->
#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__DBusKeyringInternals.html#g5b0fdbdfffac1aebfc00716cec02afcd">MAX_TIME_TRAVEL_SECONDS</a>&nbsp;&nbsp;&nbsp;(60*5)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The maximum amount of time a key can be in the future. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="gcf841625731864fd6c3fab95bd0e878a"></a><!-- doxytag: member="DBusKeyringInternals::MAX_KEYS_IN_FILE" ref="gcf841625731864fd6c3fab95bd0e878a" args="" -->
#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__DBusKeyringInternals.html#gcf841625731864fd6c3fab95bd0e878a">MAX_KEYS_IN_FILE</a>&nbsp;&nbsp;&nbsp;256</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Maximum number of keys in the keyring before we just ignore the rest. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="gd11bde7ec18fb393d9f6e552dc89e6c2"></a><!-- doxytag: member="DBusKeyringInternals::MAX_LOCK_TIMEOUTS" ref="gd11bde7ec18fb393d9f6e552dc89e6c2" args="" -->
#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__DBusKeyringInternals.html#gd11bde7ec18fb393d9f6e552dc89e6c2">MAX_LOCK_TIMEOUTS</a>&nbsp;&nbsp;&nbsp;32</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Maximum number of timeouts waiting for lock before we decide it's stale. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="g046e055537cce7bc45caf9d6e51e19dd"></a><!-- doxytag: member="DBusKeyringInternals::LOCK_TIMEOUT_MILLISECONDS" ref="g046e055537cce7bc45caf9d6e51e19dd" args="" -->
#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__DBusKeyringInternals.html#g046e055537cce7bc45caf9d6e51e19dd">LOCK_TIMEOUT_MILLISECONDS</a>&nbsp;&nbsp;&nbsp;250</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Length of each timeout while waiting for a lock. <br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<a class="el" href="structDBusKeyring.html">DBusKeyring</a> implementation details. 
<p>
The guts of <a class="el" href="structDBusKeyring.html">DBusKeyring</a>. <hr><h2>Define Documentation</h2>
<a class="anchor" name="gda47ab381d8e794bd9563f362ea1e09e"></a><!-- doxytag: member="dbus-keyring.c::EXPIRE_KEYS_TIMEOUT_SECONDS" ref="gda47ab381d8e794bd9563f362ea1e09e" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define EXPIRE_KEYS_TIMEOUT_SECONDS&nbsp;&nbsp;&nbsp;(NEW_KEY_TIMEOUT_SECONDS + (60*2))          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
The time after which we drop a key from the secrets file. 
<p>
The EXPIRE_KEYS_TIMEOUT_SECONDS - NEW_KEY_TIMEOUT_SECONDS is the minimum time window a client has to complete authentication. 
<p>
Definition at line <a class="el" href="dbus-keyring_8c-source.html#l00072">72</a> of file <a class="el" href="dbus-keyring_8c-source.html">dbus-keyring.c</a>.
</div>
</div><p>
<a class="anchor" name="g73544ee0e71ac5224d339bcc87b4b559"></a><!-- doxytag: member="dbus-keyring.c::NEW_KEY_TIMEOUT_SECONDS" ref="g73544ee0e71ac5224d339bcc87b4b559" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define NEW_KEY_TIMEOUT_SECONDS&nbsp;&nbsp;&nbsp;(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>
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>
Definition at line <a class="el" href="dbus-keyring_8c-source.html#l00066">66</a> of file <a class="el" href="dbus-keyring_8c-source.html">dbus-keyring.c</a>.
</div>
</div><p>
<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 14 22:26:13 2009 for D-Bus by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.7 </small></address>
</body>
</html>

Anon7 - 2021