GpgFrontend-Doxygen/docs/html/GpgTOFUInfo_8h_source.html

161 lines
15 KiB
HTML
Raw Normal View History

2022-05-08 19:59:26 +00:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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"/>
2022-05-08 22:01:23 +00:00
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
2022-05-08 19:59:26 +00:00
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>GpgFrontend Project: src/core/model/GpgTOFUInfo.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>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></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>
2022-05-08 22:01:23 +00:00
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
2022-05-08 19:59:26 +00:00
<div id="projectname">GpgFrontend Project
</div>
<div id="projectbrief">A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
2022-05-08 22:01:23 +00:00
<!-- Generated by Doxygen 1.8.17 -->
2022-05-08 19:59:26 +00:00
<script type="text/javascript">
2022-05-08 22:01:23 +00:00
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
2022-05-08 19:59:26 +00:00
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
2022-05-08 22:01:23 +00:00
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
2022-05-08 19:59:26 +00:00
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
2022-05-08 22:01:23 +00:00
/* @license-end */</script>
2022-05-08 19:59:26 +00:00
<div id="main-nav"></div>
</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">
2022-05-08 22:01:23 +00:00
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
2022-05-08 19:59:26 +00:00
$(document).ready(function(){initNavTree('GpgTOFUInfo_8h_source.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div class="header">
2022-05-08 22:01:23 +00:00
<div class="headertitle">
<div class="title">GpgTOFUInfo.h</div> </div>
2022-05-08 19:59:26 +00:00
</div><!--header-->
<div class="contents">
2022-05-08 22:01:23 +00:00
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160; </div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;<span class="preprocessor">#ifndef GPGFRONTEND_GPGTOFU_H</span></div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;<span class="preprocessor">#define GPGFRONTEND_GPGTOFU_H</span></div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160; </div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;<span class="preprocessor">#include &quot;core/GpgConstants.h&quot;</span></div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160; </div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceGpgFrontend.html">GpgFrontend</a> {</div>
<div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1GpgTOFUInfo.html"> 39</a></span>&#160;<span class="keyword">class </span>GPGFRONTEND_CORE_EXPORT <a class="code" href="classGpgFrontend_1_1GpgTOFUInfo.html">GpgTOFUInfo</a> {</div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160; <span class="keyword">public</span>:</div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160; [[nodiscard]] <span class="keywordtype">unsigned</span> GetValidity() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160; [[nodiscard]] <span class="keywordtype">unsigned</span> GetPolicy() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160; </div>
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160; [[nodiscard]] <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> GetSignCount() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160; </div>
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160; [[nodiscard]] <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> GetEncrCount() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160; </div>
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160; [[nodiscard]] <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> GetSignFirst() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160; </div>
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160; [[nodiscard]] <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> GetSignLast() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160; </div>
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160; [[nodiscard]] <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> GetEncrLast() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>&#160; </div>
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160; [[nodiscard]] std::string GetDescription() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160; </div>
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>&#160; <a class="code" href="classGpgFrontend_1_1GpgTOFUInfo.html">GpgTOFUInfo</a>();</div>
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>&#160; </div>
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>&#160; <span class="keyword">explicit</span> <a class="code" href="classGpgFrontend_1_1GpgTOFUInfo.html">GpgTOFUInfo</a>(gpgme_tofu_info_t tofu_info);</div>
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>&#160; </div>
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>&#160; <a class="code" href="classGpgFrontend_1_1GpgTOFUInfo.html">GpgTOFUInfo</a>(<a class="code" href="classGpgFrontend_1_1GpgTOFUInfo.html">GpgTOFUInfo</a>&amp;&amp; o) noexcept;</div>
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>&#160; </div>
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>&#160; <a class="code" href="classGpgFrontend_1_1GpgTOFUInfo.html">GpgTOFUInfo</a>(<span class="keyword">const</span> <a class="code" href="classGpgFrontend_1_1GpgTOFUInfo.html">GpgTOFUInfo</a>&amp;) = <span class="keyword">delete</span>;</div>
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>&#160; </div>
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>&#160; <a class="code" href="classGpgFrontend_1_1GpgTOFUInfo.html">GpgTOFUInfo</a>&amp; operator=(<a class="code" href="classGpgFrontend_1_1GpgTOFUInfo.html">GpgTOFUInfo</a>&amp;&amp; o) noexcept;</div>
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>&#160; </div>
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span>&#160; <a class="code" href="classGpgFrontend_1_1GpgTOFUInfo.html">GpgTOFUInfo</a>&amp; operator=(<span class="keyword">const</span> <a class="code" href="classGpgFrontend_1_1GpgTOFUInfo.html">GpgTOFUInfo</a>&amp;) = <span class="keyword">delete</span>;</div>
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span>&#160; </div>
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>&#160; <span class="keyword">private</span>:</div>
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span>&#160; <span class="keyword">using</span> SubkeyRefHandler =</div>
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span>&#160; std::unique_ptr&lt;<span class="keyword">struct </span>_gpgme_tofu_info,</div>
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span>&#160; std::function&lt;void(gpgme_tofu_info_t)&gt;&gt;; </div>
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span>&#160; </div>
<div class="line"><a name="l00142"></a><span class="lineno"> 142</span>&#160; SubkeyRefHandler _tofu_info_ref = nullptr; </div>
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span>&#160;};</div>
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span>&#160; </div>
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>&#160;} <span class="comment">// namespace GpgFrontend</span></div>
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span>&#160; </div>
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>&#160;<span class="preprocessor">#endif // GPGFRONTEND_GPGTOFU_H</span></div>
2022-05-08 19:59:26 +00:00
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
2022-05-08 22:01:23 +00:00
<div class="ttc" id="aclassGpgFrontend_1_1GpgTOFUInfo_html_a80acb09347a74cc35776d58b9874cf37"><div class="ttname"><a href="classGpgFrontend_1_1GpgTOFUInfo.html#a80acb09347a74cc35776d58b9874cf37">GpgFrontend::GpgTOFUInfo::GpgTOFUInfo</a></div><div class="ttdeci">GpgTOFUInfo()</div><div class="ttdoc">Construct a new Gpg T O F U Info object.</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1GpgTOFUInfo_html_aec03f07d2ae5d81887610ca42420462d"><div class="ttname"><a href="classGpgFrontend_1_1GpgTOFUInfo.html#aec03f07d2ae5d81887610ca42420462d">GpgFrontend::GpgTOFUInfo::operator=</a></div><div class="ttdeci">GpgTOFUInfo &amp; operator=(GpgTOFUInfo &amp;&amp;o) noexcept</div><div class="ttdef"><b>Definition:</b> GpgTOFUInfo.cpp:40</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1GpgTOFUInfo_html_a34d1073bb25a8958e70016f3cd6b167f"><div class="ttname"><a href="classGpgFrontend_1_1GpgTOFUInfo.html#a34d1073bb25a8958e70016f3cd6b167f">GpgFrontend::GpgTOFUInfo::GetPolicy</a></div><div class="ttdeci">unsigned GetPolicy() const</div><div class="ttdef"><b>Definition:</b> GpgTOFUInfo.cpp:50</div></div>
<div class="ttc" id="anamespaceGpgFrontend_html"><div class="ttname"><a href="namespaceGpgFrontend.html">GpgFrontend</a></div><div class="ttdef"><b>Definition:</b> CoreCommonUtil.cpp:29</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1GpgTOFUInfo_html_a471a08bc906d74699f394e34d2581b78"><div class="ttname"><a href="classGpgFrontend_1_1GpgTOFUInfo.html#a471a08bc906d74699f394e34d2581b78">GpgFrontend::GpgTOFUInfo::GetDescription</a></div><div class="ttdeci">std::string GetDescription() const</div><div class="ttdef"><b>Definition:</b> GpgTOFUInfo.cpp:89</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1GpgTOFUInfo_html"><div class="ttname"><a href="classGpgFrontend_1_1GpgTOFUInfo.html">GpgFrontend::GpgTOFUInfo</a></div><div class="ttdef"><b>Definition:</b> GpgTOFUInfo.h:39</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1GpgTOFUInfo_html_a03f286ac6f16ec6d33eb3dcfd4e3f6d5"><div class="ttname"><a href="classGpgFrontend_1_1GpgTOFUInfo.html#a03f286ac6f16ec6d33eb3dcfd4e3f6d5">GpgFrontend::GpgTOFUInfo::GetEncrLast</a></div><div class="ttdeci">unsigned long GetEncrLast() const</div><div class="ttdef"><b>Definition:</b> GpgTOFUInfo.cpp:80</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1GpgTOFUInfo_html_a746cbcf731af6b19ade42debbf1e2c8f"><div class="ttname"><a href="classGpgFrontend_1_1GpgTOFUInfo.html#a746cbcf731af6b19ade42debbf1e2c8f">GpgFrontend::GpgTOFUInfo::GetSignLast</a></div><div class="ttdeci">unsigned long GetSignLast() const</div><div class="ttdef"><b>Definition:</b> GpgTOFUInfo.cpp:71</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1GpgTOFUInfo_html_a788a439b206882c6317162878e2fe0b8"><div class="ttname"><a href="classGpgFrontend_1_1GpgTOFUInfo.html#a788a439b206882c6317162878e2fe0b8">GpgFrontend::GpgTOFUInfo::GetSignFirst</a></div><div class="ttdeci">unsigned long GetSignFirst() const</div><div class="ttdef"><b>Definition:</b> GpgTOFUInfo.cpp:62</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1GpgTOFUInfo_html_a8770062c9e0c3875083d2c92ebe8ccb0"><div class="ttname"><a href="classGpgFrontend_1_1GpgTOFUInfo.html#a8770062c9e0c3875083d2c92ebe8ccb0">GpgFrontend::GpgTOFUInfo::GetValidity</a></div><div class="ttdeci">unsigned GetValidity() const</div><div class="ttdef"><b>Definition:</b> GpgTOFUInfo.cpp:46</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1GpgTOFUInfo_html_abc53f7ca1b737ed1a913ad2f90a346e4"><div class="ttname"><a href="classGpgFrontend_1_1GpgTOFUInfo.html#abc53f7ca1b737ed1a913ad2f90a346e4">GpgFrontend::GpgTOFUInfo::GetEncrCount</a></div><div class="ttdeci">unsigned long GetEncrCount() const</div><div class="ttdef"><b>Definition:</b> GpgTOFUInfo.cpp:58</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1GpgTOFUInfo_html_a681046a3916d0d0cdcf0852bfa76fdb0"><div class="ttname"><a href="classGpgFrontend_1_1GpgTOFUInfo.html#a681046a3916d0d0cdcf0852bfa76fdb0">GpgFrontend::GpgTOFUInfo::GetSignCount</a></div><div class="ttdeci">unsigned long GetSignCount() const</div><div class="ttdef"><b>Definition:</b> GpgTOFUInfo.cpp:54</div></div>
2022-05-08 19:59:26 +00:00
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_aebb8dcc11953d78e620bbef0b9e2183.html">core</a></li><li class="navelem"><a class="el" href="dir_db6209eff64d15a114e6ff7aefbf1abd.html">model</a></li><li class="navelem"><b>GpgTOFUInfo.h</b></li>
2022-05-08 22:01:23 +00:00
<li class="footer">Generated by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.17 </li>
2022-05-08 19:59:26 +00:00
</ul>
</div>
</body>
</html>