This file is indexed.

/usr/share/doc/trust-store/html/store_8h_source.html is in libtrust-store-doc 2.0.0+16.04.20160119-0ubuntu1.

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
<!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"/>
<meta name="generator" content="Doxygen 1.8.9.1"/>
<title>trust-store: /build/trust-store-uD3f_u/trust-store-2.0.0+16.04.20160119/include/core/trust/store.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">trust-store
   &#160;<span id="projectnumber">2.0.0</span>
   </div>
   <div id="projectbrief">Provides a common implementation of a trust store to be used by trusted helpers.</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.9.1 -->
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('store_8h_source.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="headertitle">
<div class="title">store.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="store_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment"> * Copyright © 2013 Canonical Ltd.</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment"> * This program is free software: you can redistribute it and/or modify it</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment"> * under the terms of the GNU Lesser General Public License version 3,</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment"> * as published by the Free Software Foundation.</span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment"> * This program is distributed in the hope that it will be useful,</span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of</span></div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment"> * GNU Lesser General Public License for more details.</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment"> * You should have received a copy of the GNU Lesser General Public License</span></div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment"> * along with this program.  If not, see &lt;http://www.gnu.org/licenses/&gt;.</span></div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment"> * Authored by: Thomas Voß &lt;thomas.voss@canonical.com&gt;</span></div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;</div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="preprocessor">#ifndef CORE_TRUST_STORE_H_</span></div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="preprocessor">#define CORE_TRUST_STORE_H_</span></div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;</div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="request_8h.html">core/trust/request.h</a>&gt;</span></div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="tagged__integer_8h.html">core/trust/tagged_integer.h</a>&gt;</span></div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="visibility_8h.html">core/trust/visibility.h</a>&gt;</span></div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;</div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="preprocessor">#include &lt;functional&gt;</span></div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="preprocessor">#include &lt;memory&gt;</span></div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="preprocessor">#include &lt;stdexcept&gt;</span></div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;</div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespacecore.html">core</a></div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;{</div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;<span class="keyword">namespace </span>trust</div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;{</div>
<div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="classcore_1_1trust_1_1Store.html">   49</a></span>&#160;<span class="keyword">class </span><a class="code" href="visibility_8h.html#adc56bfd44f9bf97e3acd6770edef7ed6">CORE_TRUST_DLL_PUBLIC</a> <a class="code" href="classcore_1_1trust_1_1Store.html">Store</a></div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;{</div>
<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="structcore_1_1trust_1_1Store_1_1Errors.html">   53</a></span>&#160;    <span class="keyword">struct </span><a class="code" href="structcore_1_1trust_1_1Store_1_1Errors.html">Errors</a></div>
<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;    {</div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;        <a class="code" href="structcore_1_1trust_1_1Store_1_1Errors.html">Errors</a>() = <span class="keyword">delete</span>;</div>
<div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="structcore_1_1trust_1_1Store_1_1Errors_1_1ErrorOpeningStore.html">   62</a></span>&#160;        <span class="keyword">struct </span><a class="code" href="structcore_1_1trust_1_1Store_1_1Errors_1_1ErrorOpeningStore.html">ErrorOpeningStore</a> : <span class="keyword">public</span> std::runtime_error</div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;        {</div>
<div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="structcore_1_1trust_1_1Store_1_1Errors_1_1ErrorOpeningStore.html#aab491d10a4fbe60e13355f1f98c8353d">   64</a></span>&#160;            <a class="code" href="structcore_1_1trust_1_1Store_1_1Errors_1_1ErrorOpeningStore.html#aab491d10a4fbe60e13355f1f98c8353d">ErrorOpeningStore</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* implementation_specific)</div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;                : <a class="code" href="namespacestd.html">std</a>::runtime_error(implementation_specific)</div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;            {</div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;            }</div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;        };</div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;</div>
<div class="line"><a name="l00073"></a><span class="lineno"><a class="line" href="structcore_1_1trust_1_1Store_1_1Errors_1_1ErrorResettingStore.html">   73</a></span>&#160;        <span class="keyword">struct </span><a class="code" href="structcore_1_1trust_1_1Store_1_1Errors_1_1ErrorResettingStore.html">ErrorResettingStore</a> : <span class="keyword">public</span> std::runtime_error</div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;        {</div>
<div class="line"><a name="l00075"></a><span class="lineno"><a class="line" href="structcore_1_1trust_1_1Store_1_1Errors_1_1ErrorResettingStore.html#aa7883a3e8f705d7f84e4ae90100e860c">   75</a></span>&#160;            <a class="code" href="structcore_1_1trust_1_1Store_1_1Errors_1_1ErrorResettingStore.html#aa7883a3e8f705d7f84e4ae90100e860c">ErrorResettingStore</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* implementation_specific)</div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;                : <a class="code" href="namespacestd.html">std</a>::runtime_error(implementation_specific)</div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;            {</div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;            }</div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;        };</div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;</div>
<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;    };</div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;</div>
<div class="line"><a name="l00086"></a><span class="lineno"><a class="line" href="classcore_1_1trust_1_1Store_1_1Query.html">   86</a></span>&#160;    <span class="keyword">class </span><a class="code" href="classcore_1_1trust_1_1Store_1_1Query.html">Query</a></div>
<div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;    {</div>
<div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;    <span class="keyword">public</span>:</div>
<div class="line"><a name="l00090"></a><span class="lineno"><a class="line" href="structcore_1_1trust_1_1Store_1_1Query_1_1Errors.html">   90</a></span>&#160;        <span class="keyword">struct </span><a class="code" href="structcore_1_1trust_1_1Store_1_1Query_1_1Errors.html">Errors</a></div>
<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;        {</div>
<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;            <a class="code" href="structcore_1_1trust_1_1Store_1_1Query_1_1Errors.html">Errors</a>() = <span class="keyword">delete</span>;</div>
<div class="line"><a name="l00098"></a><span class="lineno"><a class="line" href="structcore_1_1trust_1_1Store_1_1Query_1_1Errors_1_1QueryIsInErrorState.html">   98</a></span>&#160;            <span class="keyword">struct </span><a class="code" href="structcore_1_1trust_1_1Store_1_1Query_1_1Errors_1_1QueryIsInErrorState.html">QueryIsInErrorState</a> : <span class="keyword">public</span> std::runtime_error</div>
<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;            {</div>
<div class="line"><a name="l00100"></a><span class="lineno"><a class="line" href="structcore_1_1trust_1_1Store_1_1Query_1_1Errors_1_1QueryIsInErrorState.html#a0b38fdd74d8f40556786f5915cee82fe">  100</a></span>&#160;                <a class="code" href="structcore_1_1trust_1_1Store_1_1Query_1_1Errors_1_1QueryIsInErrorState.html#a0b38fdd74d8f40556786f5915cee82fe">QueryIsInErrorState</a>() : <a class="code" href="namespacestd.html">std</a>::runtime_error(<span class="stringliteral">&quot;Query is in error state, cannot extract result.&quot;</span>)</div>
<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;                {</div>
<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;                }</div>
<div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;            };</div>
<div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;</div>
<div class="line"><a name="l00108"></a><span class="lineno"><a class="line" href="structcore_1_1trust_1_1Store_1_1Query_1_1Errors_1_1NoCurrentResult.html">  108</a></span>&#160;            <span class="keyword">struct </span><a class="code" href="structcore_1_1trust_1_1Store_1_1Query_1_1Errors_1_1NoCurrentResult.html">NoCurrentResult</a> : <span class="keyword">public</span> std::runtime_error</div>
<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;            {</div>
<div class="line"><a name="l00110"></a><span class="lineno"><a class="line" href="structcore_1_1trust_1_1Store_1_1Query_1_1Errors_1_1NoCurrentResult.html#a1c4a69c1fe8ae8216820553f498486f2">  110</a></span>&#160;                <a class="code" href="structcore_1_1trust_1_1Store_1_1Query_1_1Errors_1_1NoCurrentResult.html#a1c4a69c1fe8ae8216820553f498486f2">NoCurrentResult</a>() : <a class="code" href="namespacestd.html">std</a>::runtime_error(<span class="stringliteral">&quot;Query does not have a current result.&quot;</span>)</div>
<div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;                {</div>
<div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;                }</div>
<div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;            };</div>
<div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;        };</div>
<div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;</div>
<div class="line"><a name="l00117"></a><span class="lineno"><a class="line" href="classcore_1_1trust_1_1Store_1_1Query.html#a8f5ccc2e2df3fa2228c6b2013da65562">  117</a></span>&#160;        <span class="keyword">enum class</span> <a class="code" href="classcore_1_1trust_1_1Store_1_1Query.html#a8f5ccc2e2df3fa2228c6b2013da65562">Status</a></div>
<div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;        {</div>
<div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;            armed, </div>
<div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;            has_more_results, </div>
<div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;            eor, </div>
<div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;            error </div>
<div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;        };</div>
<div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;</div>
<div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;        <a class="code" href="classcore_1_1trust_1_1Store_1_1Query.html">Query</a>(<span class="keyword">const</span> <a class="code" href="classcore_1_1trust_1_1Store_1_1Query.html">Query</a>&amp;) = <span class="keyword">delete</span>;</div>
<div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;        <span class="keyword">virtual</span> ~<a class="code" href="classcore_1_1trust_1_1Store_1_1Query.html">Query</a>() = <span class="keywordflow">default</span>;</div>
<div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;</div>
<div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;        <span class="keyword">virtual</span> Status status() <span class="keyword">const</span> = 0;</div>
<div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;</div>
<div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">void</span> for_application_id(<span class="keyword">const</span> std::string&amp; <span class="keywordtype">id</span>) = 0;</div>
<div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;</div>
<div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">void</span> for_feature(<a class="code" href="structcore_1_1trust_1_1TaggedInteger.html">Feature</a> feature) = 0;</div>
<div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;</div>
<div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">void</span> for_interval(<span class="keyword">const</span> <a class="code" href="structcore_1_1trust_1_1Request.html#ae63ca9605e2248cc5e1fd5429d050472">Request::Timestamp</a>&amp; begin, <span class="keyword">const</span> <a class="code" href="structcore_1_1trust_1_1Request.html#ae63ca9605e2248cc5e1fd5429d050472">Request::Timestamp</a>&amp; end) = 0;</div>
<div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;</div>
<div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">void</span> for_answer(<a class="code" href="structcore_1_1trust_1_1Request.html#ab867f46aac71cd7afb3dfab019a8e69a">Request::Answer</a> answer) = 0;</div>
<div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;</div>
<div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">void</span> all() = 0;</div>
<div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;</div>
<div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">void</span> execute() = 0;</div>
<div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;</div>
<div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">void</span> next() = 0;</div>
<div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;</div>
<div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">void</span> erase() = 0;</div>
<div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;</div>
<div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;        <span class="keyword">virtual</span> <a class="code" href="structcore_1_1trust_1_1Request.html">Request</a> current() = 0;</div>
<div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;</div>
<div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;    <span class="keyword">protected</span>:</div>
<div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;        <a class="code" href="classcore_1_1trust_1_1Store_1_1Query.html">Query</a>() = <span class="keywordflow">default</span>;</div>
<div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;    };</div>
<div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;</div>
<div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;    <a class="code" href="classcore_1_1trust_1_1Store.html">Store</a>(<span class="keyword">const</span> <a class="code" href="classcore_1_1trust_1_1Store.html">Store</a>&amp;) = <span class="keyword">delete</span>;</div>
<div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;    <span class="keyword">virtual</span> ~<a class="code" href="classcore_1_1trust_1_1Store.html">Store</a>() = <span class="keywordflow">default</span>;</div>
<div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160;</div>
<div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;    <a class="code" href="classcore_1_1trust_1_1Store.html">Store</a>&amp; operator=(<span class="keyword">const</span> <a class="code" href="classcore_1_1trust_1_1Store.html">Store</a>&amp;) = <span class="keyword">delete</span>;</div>
<div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="namespacecore_1_1trust.html#ac0757c91ab7d706c0c1ef286a9845b35">operator==</a>(<span class="keyword">const</span> <a class="code" href="classcore_1_1trust_1_1Store.html">Store</a>&amp;) <span class="keyword">const</span> = <span class="keyword">delete</span>;</div>
<div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;</div>
<div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> reset() = 0;</div>
<div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;</div>
<div class="line"><a name="l00176"></a><span class="lineno">  176</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> add(<span class="keyword">const</span> <a class="code" href="structcore_1_1trust_1_1Request.html">Request</a>&amp; request) = 0;</div>
<div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160;</div>
<div class="line"><a name="l00181"></a><span class="lineno">  181</span>&#160;    <span class="keyword">virtual</span> std::shared_ptr&lt;Query&gt; query() = 0;</div>
<div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;</div>
<div class="line"><a name="l00183"></a><span class="lineno">  183</span>&#160;<span class="keyword">protected</span>:</div>
<div class="line"><a name="l00184"></a><span class="lineno">  184</span>&#160;    <a class="code" href="classcore_1_1trust_1_1Store.html">Store</a>() = <span class="keywordflow">default</span>;</div>
<div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160;};</div>
<div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160;</div>
<div class="line"><a name="l00188"></a><span class="lineno"><a class="line" href="structcore_1_1trust_1_1Errors.html">  188</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structcore_1_1trust_1_1Errors.html">Errors</a></div>
<div class="line"><a name="l00189"></a><span class="lineno">  189</span>&#160;{</div>
<div class="line"><a name="l00191"></a><span class="lineno">  191</span>&#160;    <a class="code" href="structcore_1_1trust_1_1Errors.html">Errors</a>() = <span class="keyword">delete</span>;</div>
<div class="line"><a name="l00198"></a><span class="lineno"><a class="line" href="structcore_1_1trust_1_1Errors_1_1ServiceNameMustNotBeEmpty.html">  198</a></span>&#160;    <span class="keyword">struct </span><a class="code" href="structcore_1_1trust_1_1Errors_1_1ServiceNameMustNotBeEmpty.html">ServiceNameMustNotBeEmpty</a> : <span class="keyword">public</span> std::runtime_error</div>
<div class="line"><a name="l00199"></a><span class="lineno">  199</span>&#160;    {</div>
<div class="line"><a name="l00200"></a><span class="lineno"><a class="line" href="structcore_1_1trust_1_1Errors_1_1ServiceNameMustNotBeEmpty.html#ab042bf67a2456dc366c5f61e02a3bbe3">  200</a></span>&#160;        <a class="code" href="structcore_1_1trust_1_1Errors_1_1ServiceNameMustNotBeEmpty.html#ab042bf67a2456dc366c5f61e02a3bbe3">ServiceNameMustNotBeEmpty</a>() : <a class="code" href="namespacestd.html">std</a>::runtime_error(<span class="stringliteral">&quot;Service name must not be empty&quot;</span>)</div>
<div class="line"><a name="l00201"></a><span class="lineno">  201</span>&#160;        {</div>
<div class="line"><a name="l00202"></a><span class="lineno">  202</span>&#160;        }</div>
<div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160;    };</div>
<div class="line"><a name="l00204"></a><span class="lineno">  204</span>&#160;};</div>
<div class="line"><a name="l00205"></a><span class="lineno">  205</span>&#160;</div>
<div class="line"><a name="l00212"></a><span class="lineno">  212</span>&#160;<a class="code" href="visibility_8h.html#adc56bfd44f9bf97e3acd6770edef7ed6">CORE_TRUST_DLL_PUBLIC</a> std::shared_ptr&lt;Store&gt; <a class="code" href="namespacecore_1_1trust.html#add6a15f11d3638fb8380b02e2b9cfa34">create_default_store</a>(<span class="keyword">const</span> std::string&amp; service_name);</div>
<div class="line"><a name="l00213"></a><span class="lineno">  213</span>&#160;}</div>
<div class="line"><a name="l00214"></a><span class="lineno">  214</span>&#160;}</div>
<div class="line"><a name="l00215"></a><span class="lineno">  215</span>&#160;</div>
<div class="line"><a name="l00216"></a><span class="lineno">  216</span>&#160;<span class="preprocessor">#endif // CORE_TRUST_STORE_H_</span></div>
<div class="ttc" id="structcore_1_1trust_1_1Store_1_1Errors_1_1ErrorResettingStore_html"><div class="ttname"><a href="structcore_1_1trust_1_1Store_1_1Errors_1_1ErrorResettingStore.html">core::trust::Store::Errors::ErrorResettingStore</a></div><div class="ttdoc">Thrown if a store implementation could not reset state and drop all previously stored requests...</div><div class="ttdef"><b>Definition:</b> <a href="store_8h_source.html#l00073">store.h:73</a></div></div>
<div class="ttc" id="structcore_1_1trust_1_1Errors_1_1ServiceNameMustNotBeEmpty_html"><div class="ttname"><a href="structcore_1_1trust_1_1Errors_1_1ServiceNameMustNotBeEmpty.html">core::trust::Errors::ServiceNameMustNotBeEmpty</a></div><div class="ttdoc">The ServiceNameMustNotBeEmpty is thrown if an empty service name is provided when creating a store...</div><div class="ttdef"><b>Definition:</b> <a href="store_8h_source.html#l00198">store.h:198</a></div></div>
<div class="ttc" id="structcore_1_1trust_1_1Request_html"><div class="ttname"><a href="structcore_1_1trust_1_1Request.html">core::trust::Request</a></div><div class="ttdoc">The Request struct encapsulates information about a trust request answered by the user...</div><div class="ttdef"><b>Definition:</b> <a href="request_8h_source.html#l00054">request.h:54</a></div></div>
<div class="ttc" id="namespacecore_html"><div class="ttname"><a href="namespacecore.html">core</a></div><div class="ttdef"><b>Definition:</b> <a href="agent_8h_source.html#l00028">agent.h:28</a></div></div>
<div class="ttc" id="structcore_1_1trust_1_1Store_1_1Query_1_1Errors_html"><div class="ttname"><a href="structcore_1_1trust_1_1Store_1_1Query_1_1Errors.html">core::trust::Store::Query::Errors</a></div><div class="ttdoc">All Query-specific error/exception types go here. </div><div class="ttdef"><b>Definition:</b> <a href="store_8h_source.html#l00090">store.h:90</a></div></div>
<div class="ttc" id="namespacestd_html"><div class="ttname"><a href="namespacestd.html">std</a></div><div class="ttdoc">STL namespace. </div></div>
<div class="ttc" id="structcore_1_1trust_1_1Store_1_1Errors_1_1ErrorOpeningStore_html"><div class="ttname"><a href="structcore_1_1trust_1_1Store_1_1Errors_1_1ErrorOpeningStore.html">core::trust::Store::Errors::ErrorOpeningStore</a></div><div class="ttdoc">Thrown if a store implementation could not access the persistence backend. </div><div class="ttdef"><b>Definition:</b> <a href="store_8h_source.html#l00062">store.h:62</a></div></div>
<div class="ttc" id="structcore_1_1trust_1_1TaggedInteger_html"><div class="ttname"><a href="structcore_1_1trust_1_1TaggedInteger.html">core::trust::TaggedInteger&lt; tag::Feature, std::uint64_t &gt;</a></div></div>
<div class="ttc" id="structcore_1_1trust_1_1Request_html_ab867f46aac71cd7afb3dfab019a8e69a"><div class="ttname"><a href="structcore_1_1trust_1_1Request.html#ab867f46aac71cd7afb3dfab019a8e69a">core::trust::Request::Answer</a></div><div class="ttdeci">Answer</div><div class="ttdoc">Enumerates the possible answers given by a user. </div><div class="ttdef"><b>Definition:</b> <a href="request_8h_source.html#l00065">request.h:65</a></div></div>
<div class="ttc" id="classcore_1_1trust_1_1Store_html"><div class="ttname"><a href="classcore_1_1trust_1_1Store.html">core::trust::Store</a></div><div class="ttdoc">Models read/write/query access to persisted trust requests. </div><div class="ttdef"><b>Definition:</b> <a href="store_8h_source.html#l00049">store.h:49</a></div></div>
<div class="ttc" id="structcore_1_1trust_1_1Store_1_1Query_1_1Errors_1_1NoCurrentResult_html"><div class="ttname"><a href="structcore_1_1trust_1_1Store_1_1Query_1_1Errors_1_1NoCurrentResult.html">core::trust::Store::Query::Errors::NoCurrentResult</a></div><div class="ttdoc">Thrown when trying to access the current result although the query status is not has_more_results. </div><div class="ttdef"><b>Definition:</b> <a href="store_8h_source.html#l00108">store.h:108</a></div></div>
<div class="ttc" id="visibility_8h_html"><div class="ttname"><a href="visibility_8h.html">visibility.h</a></div></div>
<div class="ttc" id="structcore_1_1trust_1_1Store_1_1Errors_1_1ErrorOpeningStore_html_aab491d10a4fbe60e13355f1f98c8353d"><div class="ttname"><a href="structcore_1_1trust_1_1Store_1_1Errors_1_1ErrorOpeningStore.html#aab491d10a4fbe60e13355f1f98c8353d">core::trust::Store::Errors::ErrorOpeningStore::ErrorOpeningStore</a></div><div class="ttdeci">ErrorOpeningStore(const char *implementation_specific)</div><div class="ttdef"><b>Definition:</b> <a href="store_8h_source.html#l00064">store.h:64</a></div></div>
<div class="ttc" id="structcore_1_1trust_1_1Store_1_1Query_1_1Errors_1_1QueryIsInErrorState_html_a0b38fdd74d8f40556786f5915cee82fe"><div class="ttname"><a href="structcore_1_1trust_1_1Store_1_1Query_1_1Errors_1_1QueryIsInErrorState.html#a0b38fdd74d8f40556786f5915cee82fe">core::trust::Store::Query::Errors::QueryIsInErrorState::QueryIsInErrorState</a></div><div class="ttdeci">QueryIsInErrorState()</div><div class="ttdef"><b>Definition:</b> <a href="store_8h_source.html#l00100">store.h:100</a></div></div>
<div class="ttc" id="namespacecore_1_1trust_html_ac0757c91ab7d706c0c1ef286a9845b35"><div class="ttname"><a href="namespacecore_1_1trust.html#ac0757c91ab7d706c0c1ef286a9845b35">core::trust::operator==</a></div><div class="ttdeci">CORE_TRUST_DLL_PUBLIC bool operator==(const Agent::RequestParameters &amp;lhs, const Agent::RequestParameters &amp;rhs)</div><div class="ttdoc">Returns true iff lhs and rhs are equal. </div></div>
<div class="ttc" id="structcore_1_1trust_1_1Store_1_1Query_1_1Errors_1_1QueryIsInErrorState_html"><div class="ttname"><a href="structcore_1_1trust_1_1Store_1_1Query_1_1Errors_1_1QueryIsInErrorState.html">core::trust::Store::Query::Errors::QueryIsInErrorState</a></div><div class="ttdoc">Thrown if functionality of a query is accessed although the query is in error state. </div><div class="ttdef"><b>Definition:</b> <a href="store_8h_source.html#l00098">store.h:98</a></div></div>
<div class="ttc" id="classcore_1_1trust_1_1Store_1_1Query_html_a8f5ccc2e2df3fa2228c6b2013da65562"><div class="ttname"><a href="classcore_1_1trust_1_1Store_1_1Query.html#a8f5ccc2e2df3fa2228c6b2013da65562">core::trust::Store::Query::Status</a></div><div class="ttdeci">Status</div><div class="ttdoc">The state of the query. </div><div class="ttdef"><b>Definition:</b> <a href="store_8h_source.html#l00117">store.h:117</a></div></div>
<div class="ttc" id="structcore_1_1trust_1_1Store_1_1Errors_html"><div class="ttname"><a href="structcore_1_1trust_1_1Store_1_1Errors.html">core::trust::Store::Errors</a></div><div class="ttdoc">All Store-specific error/exception types go here. </div><div class="ttdef"><b>Definition:</b> <a href="store_8h_source.html#l00053">store.h:53</a></div></div>
<div class="ttc" id="structcore_1_1trust_1_1Store_1_1Query_1_1Errors_1_1NoCurrentResult_html_a1c4a69c1fe8ae8216820553f498486f2"><div class="ttname"><a href="structcore_1_1trust_1_1Store_1_1Query_1_1Errors_1_1NoCurrentResult.html#a1c4a69c1fe8ae8216820553f498486f2">core::trust::Store::Query::Errors::NoCurrentResult::NoCurrentResult</a></div><div class="ttdeci">NoCurrentResult()</div><div class="ttdef"><b>Definition:</b> <a href="store_8h_source.html#l00110">store.h:110</a></div></div>
<div class="ttc" id="tagged__integer_8h_html"><div class="ttname"><a href="tagged__integer_8h.html">tagged_integer.h</a></div></div>
<div class="ttc" id="structcore_1_1trust_1_1Request_html_ae63ca9605e2248cc5e1fd5429d050472"><div class="ttname"><a href="structcore_1_1trust_1_1Request.html#ae63ca9605e2248cc5e1fd5429d050472">core::trust::Request::Timestamp</a></div><div class="ttdeci">std::chrono::system_clock::time_point Timestamp</div><div class="ttdoc">Requests are timestamped with wallclock time. </div><div class="ttdef"><b>Definition:</b> <a href="request_8h_source.html#l00059">request.h:59</a></div></div>
<div class="ttc" id="classcore_1_1trust_1_1Store_1_1Query_html"><div class="ttname"><a href="classcore_1_1trust_1_1Store_1_1Query.html">core::trust::Store::Query</a></div><div class="ttdoc">The Query class encapsulates queries against a trust store instance. </div><div class="ttdef"><b>Definition:</b> <a href="store_8h_source.html#l00086">store.h:86</a></div></div>
<div class="ttc" id="request_8h_html"><div class="ttname"><a href="request_8h.html">request.h</a></div></div>
<div class="ttc" id="structcore_1_1trust_1_1Store_1_1Errors_1_1ErrorResettingStore_html_aa7883a3e8f705d7f84e4ae90100e860c"><div class="ttname"><a href="structcore_1_1trust_1_1Store_1_1Errors_1_1ErrorResettingStore.html#aa7883a3e8f705d7f84e4ae90100e860c">core::trust::Store::Errors::ErrorResettingStore::ErrorResettingStore</a></div><div class="ttdeci">ErrorResettingStore(const char *implementation_specific)</div><div class="ttdef"><b>Definition:</b> <a href="store_8h_source.html#l00075">store.h:75</a></div></div>
<div class="ttc" id="structcore_1_1trust_1_1Errors_html"><div class="ttname"><a href="structcore_1_1trust_1_1Errors.html">core::trust::Errors</a></div><div class="ttdoc">All core::trust-specific error/exception types go here. </div><div class="ttdef"><b>Definition:</b> <a href="store_8h_source.html#l00188">store.h:188</a></div></div>
<div class="ttc" id="structcore_1_1trust_1_1Errors_1_1ServiceNameMustNotBeEmpty_html_ab042bf67a2456dc366c5f61e02a3bbe3"><div class="ttname"><a href="structcore_1_1trust_1_1Errors_1_1ServiceNameMustNotBeEmpty.html#ab042bf67a2456dc366c5f61e02a3bbe3">core::trust::Errors::ServiceNameMustNotBeEmpty::ServiceNameMustNotBeEmpty</a></div><div class="ttdeci">ServiceNameMustNotBeEmpty()</div><div class="ttdef"><b>Definition:</b> <a href="store_8h_source.html#l00200">store.h:200</a></div></div>
<div class="ttc" id="visibility_8h_html_adc56bfd44f9bf97e3acd6770edef7ed6"><div class="ttname"><a href="visibility_8h.html#adc56bfd44f9bf97e3acd6770edef7ed6">CORE_TRUST_DLL_PUBLIC</a></div><div class="ttdeci">#define CORE_TRUST_DLL_PUBLIC</div><div class="ttdef"><b>Definition:</b> <a href="visibility_8h_source.html#l00026">visibility.h:26</a></div></div>
<div class="ttc" id="namespacecore_1_1trust_html_add6a15f11d3638fb8380b02e2b9cfa34"><div class="ttname"><a href="namespacecore_1_1trust.html#add6a15f11d3638fb8380b02e2b9cfa34">core::trust::create_default_store</a></div><div class="ttdeci">CORE_TRUST_DLL_PUBLIC std::shared_ptr&lt; Store &gt; create_default_store(const std::string &amp;service_name)</div><div class="ttdoc">Creates an instance for the default store implementation. </div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_3d69f64eaf81436fe2b22361382717e5.html">core</a></li><li class="navelem"><a class="el" href="dir_9048cfa4af9d36bf8e4ac0e0c456350b.html">trust</a></li><li class="navelem"><a class="el" href="store_8h.html">store.h</a></li>
    <li class="footer">Generated on Tue Jan 19 2016 15:46:53 for trust-store by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li>
  </ul>
</div>
</body>
</html>