GpgFrontend-Doxygen/docs/html/classGpgFrontend_1_1GpgKeyGetter.html

644 lines
53 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: GpgFrontend::GpgKeyGetter Class Reference</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('classGpgFrontend_1_1GpgKeyGetter.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">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pri-methods">Private Member Functions</a> &#124;
2022-05-08 19:59:26 +00:00
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="classGpgFrontend_1_1GpgKeyGetter-members.html">List of all members</a> </div>
2022-05-08 22:01:23 +00:00
<div class="headertitle">
<div class="title">GpgFrontend::GpgKeyGetter Class Reference</div> </div>
2022-05-08 19:59:26 +00:00
</div><!--header-->
<div class="contents">
<div class="dynheader">
Inheritance diagram for GpgFrontend::GpgKeyGetter:</div>
<div class="dyncontent">
2022-05-08 22:01:23 +00:00
<div class="center"><img src="classGpgFrontend_1_1GpgKeyGetter__inherit__graph.png" border="0" usemap="#GpgFrontend_1_1GpgKeyGetter_inherit__map" alt="Inheritance graph"/></div>
<map name="GpgFrontend_1_1GpgKeyGetter_inherit__map" id="GpgFrontend_1_1GpgKeyGetter_inherit__map">
<area shape="rect" title=" " alt="" coords="18,883,222,1121"/>
<area shape="rect" href="classGpgFrontend_1_1SingletonFunctionObject.html" title=" " alt="" coords="5,551,235,833"/>
<area shape="rect" href="classGpgFrontend_1_1ChannelObject.html" title="object which in channel system" alt="" coords="11,5,219,156"/>
<area shape="rect" href="classGpgFrontend_1_1SingletonFunctionObject.html" title=" " alt="" coords="136,205,365,488"/>
2022-05-08 22:01:23 +00:00
</map>
2022-05-08 19:59:26 +00:00
</div>
<div class="dynheader">
Collaboration diagram for GpgFrontend::GpgKeyGetter:</div>
<div class="dyncontent">
2022-05-08 22:01:23 +00:00
<div class="center"><img src="classGpgFrontend_1_1GpgKeyGetter__coll__graph.png" border="0" usemap="#GpgFrontend_1_1GpgKeyGetter_coll__map" alt="Collaboration graph"/></div>
<map name="GpgFrontend_1_1GpgKeyGetter_coll__map" id="GpgFrontend_1_1GpgKeyGetter_coll__map">
<area shape="rect" title=" " alt="" coords="754,1443,958,1637"/>
<area shape="rect" href="classGpgFrontend_1_1SingletonFunctionObject.html" title=" " alt="" coords="5,811,235,1093"/>
<area shape="rect" href="classGpgFrontend_1_1ChannelObject.html" title="object which in channel system" alt="" coords="161,145,369,296"/>
<area shape="rect" href="classGpgFrontend_1_1SingletonFunctionObject.html" title=" " alt="" coords="151,373,380,656"/>
<area shape="rect" href="classGpgFrontend_1_1SingletonFunctionObject.html" title=" " alt="" coords="259,811,488,1093"/>
<area shape="rect" title=" " alt="" coords="1066,1215,1249,1307"/>
<area shape="rect" title="STL class." alt="" coords="815,476,902,553"/>
<area shape="rect" href="structGpgFrontend_1_1GpgContextInitArgs.html" title=" " alt="" coords="512,891,752,1013"/>
<area shape="rect" href="classGpgFrontend_1_1GpgInfo.html" title="Use to record some info about gnupg." alt="" coords="777,913,941,991"/>
<area shape="rect" title="STL class." alt="" coords="789,175,928,267"/>
<area shape="rect" href="classGpgFrontend_1_1GpgKey.html" title=" " alt="" coords="1169,840,1346,1064"/>
<area shape="rect" title=" " alt="" coords="1172,461,1343,568"/>
<area shape="rect" title="STL class." alt="" coords="1173,182,1331,259"/>
<area shape="rect" title=" " alt="" coords="1009,680,1196,787"/>
<area shape="rect" title=" " alt="" coords="1265,5,1303,83"/>
<area shape="rect" title="STL class." alt="" coords="1357,182,1491,259"/>
<area shape="rect" title=" " alt="" coords="1405,5,1443,83"/>
<area shape="rect" title="STL class." alt="" coords="851,1222,943,1299"/>
<area shape="rect" href="classGpgFrontend_1_1GpgContext.html" title=" " alt="" coords="637,1156,827,1365"/>
2022-05-08 22:01:23 +00:00
</map>
2022-05-08 19:59:26 +00:00
</div>
<table class="memberdecls">
2022-05-08 22:01:23 +00:00
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
2022-05-08 19:59:26 +00:00
Public Member Functions</h2></td></tr>
<tr class="memitem:a8eeee9f6dd74dc24c24794ce63c62285"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1GpgKeyGetter.html#a8eeee9f6dd74dc24c24794ce63c62285">GpgKeyGetter</a> (int channel=<a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#a50e2b3794d6553f4231eaec72d9d0a50">SingletonFunctionObject::GetDefaultChannel</a>())</td></tr>
<tr class="memdesc:a8eeee9f6dd74dc24c24794ce63c62285"><td class="mdescLeft">&#160;</td><td class="mdescRight">Construct a new Gpg Key Getter object. <a href="classGpgFrontend_1_1GpgKeyGetter.html#a8eeee9f6dd74dc24c24794ce63c62285">More...</a><br /></td></tr>
<tr class="separator:a8eeee9f6dd74dc24c24794ce63c62285"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a94243d09c9418c8ebf0c7cdab4a2b7f1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGpgFrontend_1_1GpgKey.html">GpgKey</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1GpgKeyGetter.html#a94243d09c9418c8ebf0c7cdab4a2b7f1">GetKey</a> (const std::string &amp;id, bool use_cache=true)</td></tr>
<tr class="memdesc:a94243d09c9418c8ebf0c7cdab4a2b7f1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the Key object. <a href="classGpgFrontend_1_1GpgKeyGetter.html#a94243d09c9418c8ebf0c7cdab4a2b7f1">More...</a><br /></td></tr>
<tr class="separator:a94243d09c9418c8ebf0c7cdab4a2b7f1"><td class="memSeparator" colspan="2">&#160;</td></tr>
2022-05-08 19:59:26 +00:00
<tr class="memitem:aa5979c21af58b874b33c203752dcc805"><td class="memItemLeft" align="right" valign="top">KeyListPtr&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1GpgKeyGetter.html#aa5979c21af58b874b33c203752dcc805">GetKeys</a> (const KeyIdArgsListPtr &amp;ids)</td></tr>
<tr class="memdesc:aa5979c21af58b874b33c203752dcc805"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the Keys object. <a href="classGpgFrontend_1_1GpgKeyGetter.html#aa5979c21af58b874b33c203752dcc805">More...</a><br /></td></tr>
<tr class="separator:aa5979c21af58b874b33c203752dcc805"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7a8bc7c0f12a11e108051e4c824fc430"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGpgFrontend_1_1GpgKey.html">GpgKey</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1GpgKeyGetter.html#a7a8bc7c0f12a11e108051e4c824fc430">GetPubkey</a> (const std::string &amp;id, bool use_cache=true)</td></tr>
<tr class="memdesc:a7a8bc7c0f12a11e108051e4c824fc430"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the Pubkey object. <a href="classGpgFrontend_1_1GpgKeyGetter.html#a7a8bc7c0f12a11e108051e4c824fc430">More...</a><br /></td></tr>
<tr class="separator:a7a8bc7c0f12a11e108051e4c824fc430"><td class="memSeparator" colspan="2">&#160;</td></tr>
2022-05-08 19:59:26 +00:00
<tr class="memitem:afe78ac470287d70e7df51aae327b9f54"><td class="memItemLeft" align="right" valign="top">KeyLinkListPtr&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1GpgKeyGetter.html#afe78ac470287d70e7df51aae327b9f54">FetchKey</a> ()</td></tr>
<tr class="memdesc:afe78ac470287d70e7df51aae327b9f54"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get all the keys by receiving a linked list. <a href="classGpgFrontend_1_1GpgKeyGetter.html#afe78ac470287d70e7df51aae327b9f54">More...</a><br /></td></tr>
2022-05-08 19:59:26 +00:00
<tr class="separator:afe78ac470287d70e7df51aae327b9f54"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad9a902ea54566d4583304b072c4add51"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1GpgKeyGetter.html#ad9a902ea54566d4583304b072c4add51">FlushKeyCache</a> ()</td></tr>
<tr class="memdesc:ad9a902ea54566d4583304b072c4add51"><td class="mdescLeft">&#160;</td><td class="mdescRight">flush the keys in the cache <a href="classGpgFrontend_1_1GpgKeyGetter.html#ad9a902ea54566d4583304b072c4add51">More...</a><br /></td></tr>
<tr class="separator:ad9a902ea54566d4583304b072c4add51"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7ec8d8431a771c602cbfa946d13d6c74"><td class="memItemLeft" align="right" valign="top">KeyListPtr&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1GpgKeyGetter.html#a7ec8d8431a771c602cbfa946d13d6c74">GetKeysCopy</a> (const KeyListPtr &amp;keys)</td></tr>
<tr class="memdesc:a7ec8d8431a771c602cbfa946d13d6c74"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the Keys Copy object. <a href="classGpgFrontend_1_1GpgKeyGetter.html#a7ec8d8431a771c602cbfa946d13d6c74">More...</a><br /></td></tr>
<tr class="separator:a7ec8d8431a771c602cbfa946d13d6c74"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a028fe69516a51c526bbd2ec4235053ad"><td class="memItemLeft" align="right" valign="top">KeyLinkListPtr&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1GpgKeyGetter.html#a028fe69516a51c526bbd2ec4235053ad">GetKeysCopy</a> (const KeyLinkListPtr &amp;keys)</td></tr>
<tr class="memdesc:a028fe69516a51c526bbd2ec4235053ad"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the Keys Copy object. <a href="classGpgFrontend_1_1GpgKeyGetter.html#a028fe69516a51c526bbd2ec4235053ad">More...</a><br /></td></tr>
<tr class="separator:a028fe69516a51c526bbd2ec4235053ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
2022-05-08 19:59:26 +00:00
<tr class="inherit_header pub_methods_classGpgFrontend_1_1SingletonFunctionObject"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classGpgFrontend_1_1SingletonFunctionObject')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html">GpgFrontend::SingletonFunctionObject&lt; GpgKeyGetter &gt;</a></td></tr>
<tr class="memitem:a194e49b07d46345bdad386505d743a61 inherit pub_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#a194e49b07d46345bdad386505d743a61">SingletonFunctionObject</a> (const <a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html">SingletonFunctionObject</a>&lt; <a class="el" href="classGpgFrontend_1_1GpgKeyGetter.html">GpgKeyGetter</a> &gt; &amp;)=delete</td></tr>
<tr class="memdesc:a194e49b07d46345bdad386505d743a61 inherit pub_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="mdescLeft">&#160;</td><td class="mdescRight">prohibit copy <a href="classGpgFrontend_1_1SingletonFunctionObject.html#a194e49b07d46345bdad386505d743a61">More...</a><br /></td></tr>
<tr class="separator:a194e49b07d46345bdad386505d743a61 inherit pub_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memSeparator" colspan="2">&#160;</td></tr>
2022-05-08 22:01:23 +00:00
<tr class="memitem:aabc5fe8e5a372ac276a265286457cb9a inherit pub_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#aabc5fe8e5a372ac276a265286457cb9a">SingletonFunctionObject</a> (<a class="el" href="classGpgFrontend_1_1GpgKeyGetter.html">GpgKeyGetter</a> &amp;&amp;)=delete</td></tr>
<tr class="memdesc:aabc5fe8e5a372ac276a265286457cb9a inherit pub_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="mdescLeft">&#160;</td><td class="mdescRight">Construct a new Singleton Function Object object. <a href="classGpgFrontend_1_1SingletonFunctionObject.html#aabc5fe8e5a372ac276a265286457cb9a">More...</a><br /></td></tr>
2022-05-08 19:59:26 +00:00
<tr class="separator:aabc5fe8e5a372ac276a265286457cb9a inherit pub_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memSeparator" colspan="2">&#160;</td></tr>
2022-05-08 22:01:23 +00:00
<tr class="memitem:a7090636bed6f4bad5b99f28f6872c645 inherit pub_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#a7090636bed6f4bad5b99f28f6872c645">SingletonFunctionObject</a> (const <a class="el" href="classGpgFrontend_1_1GpgKeyGetter.html">GpgKeyGetter</a> &amp;)=delete</td></tr>
<tr class="memdesc:a7090636bed6f4bad5b99f28f6872c645 inherit pub_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="mdescLeft">&#160;</td><td class="mdescRight">Construct a new Singleton Function Object object. <a href="classGpgFrontend_1_1SingletonFunctionObject.html#a7090636bed6f4bad5b99f28f6872c645">More...</a><br /></td></tr>
2022-05-08 19:59:26 +00:00
<tr class="separator:a7090636bed6f4bad5b99f28f6872c645 inherit pub_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aabb190a60f7a5d4ded43cae16ab8f59e inherit pub_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html">SingletonFunctionObject</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#aabb190a60f7a5d4ded43cae16ab8f59e">operator=</a> (const <a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html">SingletonFunctionObject</a>&lt; <a class="el" href="classGpgFrontend_1_1GpgKeyGetter.html">GpgKeyGetter</a> &gt; &amp;)=delete</td></tr>
<tr class="memdesc:aabb190a60f7a5d4ded43cae16ab8f59e inherit pub_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="mdescLeft">&#160;</td><td class="mdescRight">prohibit copy <a href="classGpgFrontend_1_1SingletonFunctionObject.html#aabb190a60f7a5d4ded43cae16ab8f59e">More...</a><br /></td></tr>
<tr class="separator:aabb190a60f7a5d4ded43cae16ab8f59e inherit pub_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memSeparator" colspan="2">&#160;</td></tr>
2022-05-08 22:01:23 +00:00
<tr class="memitem:a03ce3095a745ecbf5e6a032e7da4bc97 inherit pub_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memItemLeft" align="right" valign="top"><a id="a03ce3095a745ecbf5e6a032e7da4bc97"></a>
2022-05-08 19:59:26 +00:00
void&#160;</td><td class="memItemRight" valign="bottom"><b>operator=</b> (const <a class="el" href="classGpgFrontend_1_1GpgKeyGetter.html">GpgKeyGetter</a> &amp;)=delete</td></tr>
<tr class="separator:a03ce3095a745ecbf5e6a032e7da4bc97 inherit pub_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa99440b9177f5d0c18840f08a40d64b7 inherit pub_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#aa99440b9177f5d0c18840f08a40d64b7">GetChannel</a> () const</td></tr>
<tr class="memdesc:aa99440b9177f5d0c18840f08a40d64b7 inherit pub_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the Channel object. <a href="classGpgFrontend_1_1SingletonFunctionObject.html#aa99440b9177f5d0c18840f08a40d64b7">More...</a><br /></td></tr>
<tr class="separator:aa99440b9177f5d0c18840f08a40d64b7 inherit pub_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classGpgFrontend_1_1ChannelObject"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classGpgFrontend_1_1ChannelObject')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classGpgFrontend_1_1ChannelObject.html">GpgFrontend::ChannelObject</a></td></tr>
<tr class="memitem:aedbf32eddc701e521bd8e790ef208da0 inherit pub_methods_classGpgFrontend_1_1ChannelObject"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1ChannelObject.html#aedbf32eddc701e521bd8e790ef208da0">ChannelObject</a> () noexcept</td></tr>
<tr class="memdesc:aedbf32eddc701e521bd8e790ef208da0 inherit pub_methods_classGpgFrontend_1_1ChannelObject"><td class="mdescLeft">&#160;</td><td class="mdescRight">Construct a new Default Channel Object object. <a href="classGpgFrontend_1_1ChannelObject.html#aedbf32eddc701e521bd8e790ef208da0">More...</a><br /></td></tr>
<tr class="separator:aedbf32eddc701e521bd8e790ef208da0 inherit pub_methods_classGpgFrontend_1_1ChannelObject"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a68ad2a19339e3cd50626fe0eaad17ccd inherit pub_methods_classGpgFrontend_1_1ChannelObject"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1ChannelObject.html#a68ad2a19339e3cd50626fe0eaad17ccd">ChannelObject</a> (int channel)</td></tr>
<tr class="memdesc:a68ad2a19339e3cd50626fe0eaad17ccd inherit pub_methods_classGpgFrontend_1_1ChannelObject"><td class="mdescLeft">&#160;</td><td class="mdescRight">Construct a new Channel Object object. <a href="classGpgFrontend_1_1ChannelObject.html#a68ad2a19339e3cd50626fe0eaad17ccd">More...</a><br /></td></tr>
<tr class="separator:a68ad2a19339e3cd50626fe0eaad17ccd inherit pub_methods_classGpgFrontend_1_1ChannelObject"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0e13a4bff1cfb679f68a3a2590a3b1b8 inherit pub_methods_classGpgFrontend_1_1ChannelObject"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1ChannelObject.html#a0e13a4bff1cfb679f68a3a2590a3b1b8">GetChannel</a> () const</td></tr>
<tr class="memdesc:a0e13a4bff1cfb679f68a3a2590a3b1b8 inherit pub_methods_classGpgFrontend_1_1ChannelObject"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the Channel object. <a href="classGpgFrontend_1_1ChannelObject.html#a0e13a4bff1cfb679f68a3a2590a3b1b8">More...</a><br /></td></tr>
<tr class="separator:a0e13a4bff1cfb679f68a3a2590a3b1b8 inherit pub_methods_classGpgFrontend_1_1ChannelObject"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa3b19cad6d873b314bba32a3dae85f09 inherit pub_methods_classGpgFrontend_1_1ChannelObject"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1ChannelObject.html#aa3b19cad6d873b314bba32a3dae85f09">SetChannel</a> (int channel)</td></tr>
<tr class="memdesc:aa3b19cad6d873b314bba32a3dae85f09 inherit pub_methods_classGpgFrontend_1_1ChannelObject"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the Channel object. <a href="classGpgFrontend_1_1ChannelObject.html#aa3b19cad6d873b314bba32a3dae85f09">More...</a><br /></td></tr>
<tr class="separator:aa3b19cad6d873b314bba32a3dae85f09 inherit pub_methods_classGpgFrontend_1_1ChannelObject"><td class="memSeparator" colspan="2">&#160;</td></tr>
2022-05-08 19:59:26 +00:00
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
Private Member Functions</h2></td></tr>
<tr class="memitem:ab5196ef4ed5323fc2af70abf801ea260"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGpgFrontend_1_1GpgKey.html">GpgKey</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1GpgKeyGetter.html#ab5196ef4ed5323fc2af70abf801ea260">get_key_in_cache</a> (const std::string &amp;id)</td></tr>
<tr class="memdesc:ab5196ef4ed5323fc2af70abf801ea260"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the Key object. <a href="classGpgFrontend_1_1GpgKeyGetter.html#ab5196ef4ed5323fc2af70abf801ea260">More...</a><br /></td></tr>
<tr class="separator:ab5196ef4ed5323fc2af70abf801ea260"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
2022-05-08 22:01:23 +00:00
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
2022-05-08 19:59:26 +00:00
Private Attributes</h2></td></tr>
<tr class="memitem:aa4aef315d82123726be879097d3df147"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGpgFrontend_1_1GpgContext.html">GpgContext</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1GpgKeyGetter.html#aa4aef315d82123726be879097d3df147">ctx_</a></td></tr>
<tr class="memdesc:aa4aef315d82123726be879097d3df147"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the gpgme context object. <a href="classGpgFrontend_1_1GpgKeyGetter.html#aa4aef315d82123726be879097d3df147">More...</a><br /></td></tr>
2022-05-08 19:59:26 +00:00
<tr class="separator:aa4aef315d82123726be879097d3df147"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a81941e1f562dc22977a71d00dd10956a"><td class="memItemLeft" align="right" valign="top">std::mutex&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1GpgKeyGetter.html#a81941e1f562dc22977a71d00dd10956a">ctx_mutex_</a></td></tr>
<tr class="memdesc:a81941e1f562dc22977a71d00dd10956a"><td class="mdescLeft">&#160;</td><td class="mdescRight">shared mutex for the keys cache <a href="classGpgFrontend_1_1GpgKeyGetter.html#a81941e1f562dc22977a71d00dd10956a">More...</a><br /></td></tr>
<tr class="separator:a81941e1f562dc22977a71d00dd10956a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9567d5e08ae73c5bafcd1dc378fed066"><td class="memItemLeft" align="right" valign="top">std::map&lt; std::string, <a class="el" href="classGpgFrontend_1_1GpgKey.html">GpgKey</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1GpgKeyGetter.html#a9567d5e08ae73c5bafcd1dc378fed066">keys_cache_</a></td></tr>
<tr class="memdesc:a9567d5e08ae73c5bafcd1dc378fed066"><td class="mdescLeft">&#160;</td><td class="mdescRight">cache the keys with key id <a href="classGpgFrontend_1_1GpgKeyGetter.html#a9567d5e08ae73c5bafcd1dc378fed066">More...</a><br /></td></tr>
<tr class="separator:a9567d5e08ae73c5bafcd1dc378fed066"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae1d7846ad2fa17ab90c72b3186ba5335"><td class="memItemLeft" align="right" valign="top">std::mutex&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1GpgKeyGetter.html#ae1d7846ad2fa17ab90c72b3186ba5335">keys_cache_mutex_</a></td></tr>
<tr class="memdesc:ae1d7846ad2fa17ab90c72b3186ba5335"><td class="mdescLeft">&#160;</td><td class="mdescRight">shared mutex for the keys cache <a href="classGpgFrontend_1_1GpgKeyGetter.html#ae1d7846ad2fa17ab90c72b3186ba5335">More...</a><br /></td></tr>
<tr class="separator:ae1d7846ad2fa17ab90c72b3186ba5335"><td class="memSeparator" colspan="2">&#160;</td></tr>
2022-05-08 19:59:26 +00:00
</table><table class="memberdecls">
2022-05-08 22:01:23 +00:00
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
2022-05-08 19:59:26 +00:00
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pub_static_methods_classGpgFrontend_1_1SingletonFunctionObject"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_classGpgFrontend_1_1SingletonFunctionObject')"><img src="closed.png" alt="-"/>&#160;Static Public Member Functions inherited from <a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html">GpgFrontend::SingletonFunctionObject&lt; GpgKeyGetter &gt;</a></td></tr>
<tr class="memitem:a70484d7cfe9f9dcbcd5f8bb749250f36 inherit pub_static_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classGpgFrontend_1_1GpgKeyGetter.html">GpgKeyGetter</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#a70484d7cfe9f9dcbcd5f8bb749250f36">GetInstance</a> (int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)</td></tr>
<tr class="memdesc:a70484d7cfe9f9dcbcd5f8bb749250f36 inherit pub_static_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the Instance object. <a href="classGpgFrontend_1_1SingletonFunctionObject.html#a70484d7cfe9f9dcbcd5f8bb749250f36">More...</a><br /></td></tr>
<tr class="separator:a70484d7cfe9f9dcbcd5f8bb749250f36 inherit pub_static_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a083807ff8cec58dc0aa732844edaf518 inherit pub_static_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classGpgFrontend_1_1GpgKeyGetter.html">GpgKeyGetter</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#a083807ff8cec58dc0aa732844edaf518">CreateInstance</a> (int channel, std::function&lt; std::unique_ptr&lt; <a class="el" href="classGpgFrontend_1_1ChannelObject.html">ChannelObject</a> &gt;(void)&gt; factory)</td></tr>
<tr class="memdesc:a083807ff8cec58dc0aa732844edaf518 inherit pub_static_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a Instance object. <a href="classGpgFrontend_1_1SingletonFunctionObject.html#a083807ff8cec58dc0aa732844edaf518">More...</a><br /></td></tr>
<tr class="separator:a083807ff8cec58dc0aa732844edaf518 inherit pub_static_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab49b1d50252e1934691a9483a6df2106 inherit pub_static_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#ab49b1d50252e1934691a9483a6df2106">ReleaseChannel</a> (int channel)</td></tr>
<tr class="separator:ab49b1d50252e1934691a9483a6df2106 inherit pub_static_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a50e2b3794d6553f4231eaec72d9d0a50 inherit pub_static_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#a50e2b3794d6553f4231eaec72d9d0a50">GetDefaultChannel</a> ()</td></tr>
<tr class="memdesc:a50e2b3794d6553f4231eaec72d9d0a50 inherit pub_static_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the Default Channel object. <a href="classGpgFrontend_1_1SingletonFunctionObject.html#a50e2b3794d6553f4231eaec72d9d0a50">More...</a><br /></td></tr>
<tr class="separator:a50e2b3794d6553f4231eaec72d9d0a50 inherit pub_static_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5f2f0474871971f86ff91fb6a2408621 inherit pub_static_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memItemLeft" align="right" valign="top">static std::vector&lt; int &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#a5f2f0474871971f86ff91fb6a2408621">GetAllChannelId</a> ()</td></tr>
<tr class="memdesc:a5f2f0474871971f86ff91fb6a2408621 inherit pub_static_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get all the channel ids. <a href="classGpgFrontend_1_1SingletonFunctionObject.html#a5f2f0474871971f86ff91fb6a2408621">More...</a><br /></td></tr>
<tr class="separator:a5f2f0474871971f86ff91fb6a2408621 inherit pub_static_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_static_methods_classGpgFrontend_1_1ChannelObject"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_classGpgFrontend_1_1ChannelObject')"><img src="closed.png" alt="-"/>&#160;Static Public Member Functions inherited from <a class="el" href="classGpgFrontend_1_1ChannelObject.html">GpgFrontend::ChannelObject</a></td></tr>
<tr class="memitem:aece9c525c49900734bc1bebf85b644ef inherit pub_static_methods_classGpgFrontend_1_1ChannelObject"><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1ChannelObject.html#aece9c525c49900734bc1bebf85b644ef">GetDefaultChannel</a> ()</td></tr>
<tr class="memdesc:aece9c525c49900734bc1bebf85b644ef inherit pub_static_methods_classGpgFrontend_1_1ChannelObject"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the Default Channel object. <a href="classGpgFrontend_1_1ChannelObject.html#aece9c525c49900734bc1bebf85b644ef">More...</a><br /></td></tr>
<tr class="separator:aece9c525c49900734bc1bebf85b644ef inherit pub_static_methods_classGpgFrontend_1_1ChannelObject"><td class="memSeparator" colspan="2">&#160;</td></tr>
2022-05-08 19:59:26 +00:00
<tr class="inherit_header pro_methods_classGpgFrontend_1_1SingletonFunctionObject"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classGpgFrontend_1_1SingletonFunctionObject')"><img src="closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html">GpgFrontend::SingletonFunctionObject&lt; GpgKeyGetter &gt;</a></td></tr>
2022-05-08 22:01:23 +00:00
<tr class="memitem:a02e76b42ab51d77588b01c7508bed258 inherit pro_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#a02e76b42ab51d77588b01c7508bed258">SingletonFunctionObject</a> ()=default</td></tr>
<tr class="memdesc:a02e76b42ab51d77588b01c7508bed258 inherit pro_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="mdescLeft">&#160;</td><td class="mdescRight">Construct a new Singleton Function Object object. <a href="classGpgFrontend_1_1SingletonFunctionObject.html#a02e76b42ab51d77588b01c7508bed258">More...</a><br /></td></tr>
2022-05-08 19:59:26 +00:00
<tr class="separator:a02e76b42ab51d77588b01c7508bed258 inherit pro_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4aa7f1eb1d3281bb1fccfcbb1b416251 inherit pro_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#a4aa7f1eb1d3281bb1fccfcbb1b416251">SingletonFunctionObject</a> (int channel)</td></tr>
<tr class="memdesc:a4aa7f1eb1d3281bb1fccfcbb1b416251 inherit pro_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="mdescLeft">&#160;</td><td class="mdescRight">Construct a new Singleton Function Object object. <a href="classGpgFrontend_1_1SingletonFunctionObject.html#a4aa7f1eb1d3281bb1fccfcbb1b416251">More...</a><br /></td></tr>
<tr class="separator:a4aa7f1eb1d3281bb1fccfcbb1b416251 inherit pro_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memSeparator" colspan="2">&#160;</td></tr>
2022-05-08 22:01:23 +00:00
<tr class="memitem:a8296be8c449f88175285186831b995bc inherit pro_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#a8296be8c449f88175285186831b995bc">~SingletonFunctionObject</a> ()=default</td></tr>
<tr class="memdesc:a8296be8c449f88175285186831b995bc inherit pro_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destroy the Singleton Function Object object. <a href="classGpgFrontend_1_1SingletonFunctionObject.html#a8296be8c449f88175285186831b995bc">More...</a><br /></td></tr>
2022-05-08 19:59:26 +00:00
<tr class="separator:a8296be8c449f88175285186831b995bc inherit pro_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
2022-05-08 22:01:23 +00:00
<a id="a8eeee9f6dd74dc24c24794ce63c62285"></a>
2022-05-08 19:59:26 +00:00
<h2 class="memtitle"><span class="permalink"><a href="#a8eeee9f6dd74dc24c24794ce63c62285">&#9670;&nbsp;</a></span>GpgKeyGetter()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">GpgFrontend::GpgKeyGetter::GpgKeyGetter </td>
<td>(</td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>channel</em> = <code><a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#a50e2b3794d6553f4231eaec72d9d0a50">SingletonFunctionObject::GetDefaultChannel</a>()</code></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Construct a new Gpg Key Getter object. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
2022-05-08 22:01:23 +00:00
<tr><td class="paramname">channel</td><td>Copyright (C) 2021 Saturneric</td></tr>
2022-05-08 19:59:26 +00:00
</table>
</dd>
</dl>
2022-05-08 22:01:23 +00:00
<p>This file is part of <a class="el" href="namespaceGpgFrontend.html">GpgFrontend</a>.</p>
<p><a class="el" href="namespaceGpgFrontend.html">GpgFrontend</a> is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.</p>
<p><a class="el" href="namespaceGpgFrontend.html">GpgFrontend</a> is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.</p>
<p>You should have received a copy of the GNU General Public License along with <a class="el" href="namespaceGpgFrontend.html">GpgFrontend</a>. If not, see <a href="https://www.gnu.org/licenses/">https://www.gnu.org/licenses/</a>.</p>
<p>The initial version of the source code is inherited from the gpg4usb project, which is under GPL-3.0-or-later.</p>
<p>All the source code of <a class="el" href="namespaceGpgFrontend.html">GpgFrontend</a> was modified and released by Saturneric<a href="#" onclick="location.href='mai'+'lto:'+'eri'+'c@'+'bkt'+'us'+'.co'+'m'; return false;">eric@<span style="display: none;">.nosp@m.</span>bktu<span style="display: none;">.nosp@m.</span>s.com</a> starting on May 12, 2021.</p>
<p>SPDX-License-Identifier: GPL-3.0-or-later </p>
2022-05-08 19:59:26 +00:00
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
2022-05-08 22:01:23 +00:00
<a id="afe78ac470287d70e7df51aae327b9f54"></a>
2022-05-08 19:59:26 +00:00
<h2 class="memtitle"><span class="permalink"><a href="#afe78ac470287d70e7df51aae327b9f54">&#9670;&nbsp;</a></span>FetchKey()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">GpgFrontend::KeyLinkListPtr GpgFrontend::GpgKeyGetter::FetchKey </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get all the keys by receiving a linked list. </p>
2022-05-08 19:59:26 +00:00
<dl class="section return"><dt>Returns</dt><dd>KeyLinkListPtr </dd></dl>
<p class="reference">Referenced by <a class="el" href="structGpgFrontend_1_1UI_1_1KeyTable.html#aaac381e205c323444098803e0295060f">GpgFrontend::UI::KeyTable::Refresh()</a>.</p>
</div>
</div>
<a id="ad9a902ea54566d4583304b072c4add51"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad9a902ea54566d4583304b072c4add51">&#9670;&nbsp;</a></span>FlushKeyCache()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void GpgFrontend::GpgKeyGetter::FlushKeyCache </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>flush the keys in the cache </p>
2022-05-08 19:59:26 +00:00
<p class="reference">References <a class="el" href="namespaceGpgFrontend.html#a4edac6df92596ba8eea3a8cdc1173684">GpgFrontend::check_gpg_error_2_err_code()</a>.</p>
<p class="reference">Referenced by <a class="el" href="classGpgFrontend_1_1Thread_1_1CtxCheckTask.html#a1c94cb1290df40a9043fe2d1a9a231f2">GpgFrontend::Thread::CtxCheckTask::Run()</a>, and <a class="el" href="classGpgFrontend_1_1UI_1_1CommonUtils.html#ab4ac26378d6a07757720163eb4b1cb0e">GpgFrontend::UI::CommonUtils::slot_update_key_status()</a>.</p>
2022-05-08 19:59:26 +00:00
</div>
</div>
<a id="ab5196ef4ed5323fc2af70abf801ea260"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab5196ef4ed5323fc2af70abf801ea260">&#9670;&nbsp;</a></span>get_key_in_cache()</h2>
2022-05-08 19:59:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
2022-05-08 19:59:26 +00:00
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classGpgFrontend_1_1GpgKey.html">GpgFrontend::GpgKey</a> GpgFrontend::GpgKeyGetter::get_key_in_cache </td>
2022-05-08 19:59:26 +00:00
<td>(</td>
<td class="paramtype">const std::string &amp;&#160;</td>
<td class="paramname"><em>id</em></td><td>)</td>
2022-05-08 19:59:26 +00:00
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the Key object. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">id</td><td></td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classGpgFrontend_1_1GpgKey.html">GpgKey</a> </dd></dl>
</div>
</div>
<a id="a94243d09c9418c8ebf0c7cdab4a2b7f1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a94243d09c9418c8ebf0c7cdab4a2b7f1">&#9670;&nbsp;</a></span>GetKey()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classGpgFrontend_1_1GpgKey.html">GpgFrontend::GpgKey</a> GpgFrontend::GpgKeyGetter::GetKey </td>
<td>(</td>
<td class="paramtype">const std::string &amp;&#160;</td>
<td class="paramname"><em>id</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>use_cache</em> = <code>true</code>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
2022-05-08 19:59:26 +00:00
</div><div class="memdoc">
<p>Get the Key object. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">fpr</td><td></td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classGpgFrontend_1_1GpgKey.html">GpgKey</a> </dd></dl>
<p class="reference">Referenced by <a class="el" href="classGpgFrontend_1_1UI_1_1VerifyKeyDetailBox.html#a25b96a986a009d35847f94719ec327c1">GpgFrontend::UI::VerifyKeyDetailBox::create_key_info_grid()</a>, <a class="el" href="classGpgFrontend_1_1UI_1_1KeyImportDetailDialog.html#a9e37a653a982e671977d2101b72ae3b6">GpgFrontend::UI::KeyImportDetailDialog::create_keys_table()</a>, <a class="el" href="classGpgFrontend_1_1UI_1_1KeyMgmt.html#a0b139ae0d4baa234932cf228e94abd6b">GpgFrontend::UI::KeyMgmt::delete_keys_with_warning()</a>, <a class="el" href="classGpgFrontend_1_1GpgKeyOpera.html#a8a06d0f7a600d4428359b653a68f717e">GpgFrontend::GpgKeyOpera::DeleteKeys()</a>, <a class="el" href="classGpgFrontend_1_1GpgDecryptResultAnalyse.html#a1aac1c1f77a12069479a47f54a934c44">GpgFrontend::GpgDecryptResultAnalyse::print_recipient()</a>, <a class="el" href="classGpgFrontend_1_1GpgVerifyResultAnalyse.html#a57bf4a26466e07f7f0ecc19de3782104">GpgFrontend::GpgVerifyResultAnalyse::print_signer()</a>, <a class="el" href="classGpgFrontend_1_1UI_1_1MainWindow.html#af93d72eaf58326f1f9e926752c6b1fc6">GpgFrontend::UI::MainWindow::slot_copy_mail_address_to_clipboard()</a>, <a class="el" href="classGpgFrontend_1_1UI_1_1KeyList.html#a69e54f06d546d516a0dcdf1055b8028e">GpgFrontend::UI::KeyList::slot_double_clicked()</a>, and <a class="el" href="classGpgFrontend_1_1UI_1_1MainWindow.html#a033d448541b44fa48b76dec828a4eb0e">GpgFrontend::UI::MainWindow::slot_show_key_details()</a>.</p>
</div>
</div>
2022-05-08 22:01:23 +00:00
<a id="aa5979c21af58b874b33c203752dcc805"></a>
2022-05-08 19:59:26 +00:00
<h2 class="memtitle"><span class="permalink"><a href="#aa5979c21af58b874b33c203752dcc805">&#9670;&nbsp;</a></span>GetKeys()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">GpgFrontend::KeyListPtr GpgFrontend::GpgKeyGetter::GetKeys </td>
<td>(</td>
<td class="paramtype">const KeyIdArgsListPtr &amp;&#160;</td>
<td class="paramname"><em>ids</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the Keys object. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">ids</td><td></td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>KeyListPtr </dd></dl>
<p class="reference">Referenced by <a class="el" href="classGpgFrontend_1_1GpgKeyImportExporter.html#aa9fbda8f6c3fa36a503075d7a124fa3f">GpgFrontend::GpgKeyImportExporter::ExportKeys()</a>, <a class="el" href="classGpgFrontend_1_1UI_1_1MainWindow.html#ae11d01211c2914ecc148e13dd7de506e">GpgFrontend::UI::MainWindow::slot_encrypt()</a>, <a class="el" href="classGpgFrontend_1_1UI_1_1MainWindow.html#a304efe91afa31b32725caa00c27475a4">GpgFrontend::UI::MainWindow::slot_encrypt_sign()</a>, <a class="el" href="classGpgFrontend_1_1UI_1_1MainWindow.html#a3f3d03b0ec22385bee559fbd2aeb881b">GpgFrontend::UI::MainWindow::slot_sign()</a>, <a class="el" href="classGpgFrontend_1_1UI_1_1KeyUIDSignDialog.html#a82f6bf641ff3b64341a0bdcf76571c43">GpgFrontend::UI::KeyUIDSignDialog::slot_sign_key()</a>, <a class="el" href="classGpgFrontend_1_1UI_1_1MainWindow.html#a9ec699536a35a37961a8c6da1e231ae3">GpgFrontend::UI::MainWindow::SlotFileEncrypt()</a>, <a class="el" href="classGpgFrontend_1_1UI_1_1MainWindow.html#a25a2e4017d77cffc8362bde9606fad30">GpgFrontend::UI::MainWindow::SlotFileEncryptSign()</a>, and <a class="el" href="classGpgFrontend_1_1UI_1_1MainWindow.html#a8bcdcbe678b8dc0837fffda2ebfe79bf">GpgFrontend::UI::MainWindow::SlotFileSign()</a>.</p>
</div>
</div>
2022-05-08 22:01:23 +00:00
<a id="a028fe69516a51c526bbd2ec4235053ad"></a>
2022-05-08 19:59:26 +00:00
<h2 class="memtitle"><span class="permalink"><a href="#a028fe69516a51c526bbd2ec4235053ad">&#9670;&nbsp;</a></span>GetKeysCopy() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">GpgFrontend::KeyLinkListPtr GpgFrontend::GpgKeyGetter::GetKeysCopy </td>
<td>(</td>
<td class="paramtype">const KeyLinkListPtr &amp;&#160;</td>
<td class="paramname"><em>keys</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the Keys Copy object. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">keys</td><td></td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>KeyLinkListPtr </dd></dl>
</div>
</div>
2022-05-08 22:01:23 +00:00
<a id="a7ec8d8431a771c602cbfa946d13d6c74"></a>
2022-05-08 19:59:26 +00:00
<h2 class="memtitle"><span class="permalink"><a href="#a7ec8d8431a771c602cbfa946d13d6c74">&#9670;&nbsp;</a></span>GetKeysCopy() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">GpgFrontend::KeyListPtr GpgFrontend::GpgKeyGetter::GetKeysCopy </td>
<td>(</td>
<td class="paramtype">const KeyListPtr &amp;&#160;</td>
<td class="paramname"><em>keys</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the Keys Copy object. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">keys</td><td></td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>KeyListPtr </dd></dl>
</div>
</div>
<a id="a7a8bc7c0f12a11e108051e4c824fc430"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7a8bc7c0f12a11e108051e4c824fc430">&#9670;&nbsp;</a></span>GetPubkey()</h2>
2022-05-08 19:59:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classGpgFrontend_1_1GpgKey.html">GpgFrontend::GpgKey</a> GpgFrontend::GpgKeyGetter::GetPubkey </td>
<td>(</td>
<td class="paramtype">const std::string &amp;&#160;</td>
<td class="paramname"><em>id</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
2022-05-08 19:59:26 +00:00
<td></td>
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>use_cache</em> = <code>true</code>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
2022-05-08 19:59:26 +00:00
</tr>
</table>
</div><div class="memdoc">
<p>Get the Pubkey object. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">fpr</td><td></td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classGpgFrontend_1_1GpgKey.html">GpgKey</a> </dd></dl>
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
2022-05-08 22:01:23 +00:00
<a id="aa4aef315d82123726be879097d3df147"></a>
2022-05-08 19:59:26 +00:00
<h2 class="memtitle"><span class="permalink"><a href="#aa4aef315d82123726be879097d3df147">&#9670;&nbsp;</a></span>ctx_</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classGpgFrontend_1_1GpgContext.html">GpgContext</a>&amp; GpgFrontend::GpgKeyGetter::ctx_</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<b>Initial value:</b><div class="fragment"><div class="line">=</div>
2022-05-08 22:01:23 +00:00
<div class="line"> <a class="code" href="classGpgFrontend_1_1SingletonFunctionObject.html#a70484d7cfe9f9dcbcd5f8bb749250f36">GpgContext::GetInstance</a>(<a class="code" href="classGpgFrontend_1_1SingletonFunctionObject.html#aa99440b9177f5d0c18840f08a40d64b7">SingletonFunctionObject::GetChannel</a>())</div>
2022-05-08 19:59:26 +00:00
</div><!-- fragment -->
<p>Get the gpgme context object. </p>
</div>
</div>
<a id="a81941e1f562dc22977a71d00dd10956a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a81941e1f562dc22977a71d00dd10956a">&#9670;&nbsp;</a></span>ctx_mutex_</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">std::mutex GpgFrontend::GpgKeyGetter::ctx_mutex_</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">mutable</span><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>shared mutex for the keys cache </p>
</div>
</div>
<a id="a9567d5e08ae73c5bafcd1dc378fed066"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9567d5e08ae73c5bafcd1dc378fed066">&#9670;&nbsp;</a></span>keys_cache_</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">std::map&lt;std::string, <a class="el" href="classGpgFrontend_1_1GpgKey.html">GpgKey</a>&gt; GpgFrontend::GpgKeyGetter::keys_cache_</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>cache the keys with key id </p>
</div>
</div>
<a id="ae1d7846ad2fa17ab90c72b3186ba5335"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae1d7846ad2fa17ab90c72b3186ba5335">&#9670;&nbsp;</a></span>keys_cache_mutex_</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">std::mutex GpgFrontend::GpgKeyGetter::keys_cache_mutex_</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">mutable</span><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>shared mutex for the keys cache </p>
2022-05-08 19:59:26 +00:00
</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>src/core/function/gpg/<a class="el" href="GpgKeyGetter_8h_source.html">GpgKeyGetter.h</a></li>
<li>src/core/function/gpg/GpgKeyGetter.cpp</li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<div class="ttc" id="aclassGpgFrontend_1_1SingletonFunctionObject_html_a70484d7cfe9f9dcbcd5f8bb749250f36"><div class="ttname"><a href="classGpgFrontend_1_1SingletonFunctionObject.html#a70484d7cfe9f9dcbcd5f8bb749250f36">GpgFrontend::SingletonFunctionObject&lt; GpgContext &gt;::GetInstance</a></div><div class="ttdeci">static GpgContext &amp; GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)</div><div class="ttdoc">Get the Instance object.</div><div class="ttdef"><b>Definition:</b> GpgFunctionObject.h:181</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1SingletonFunctionObject_html_aa99440b9177f5d0c18840f08a40d64b7"><div class="ttname"><a href="classGpgFrontend_1_1SingletonFunctionObject.html#aa99440b9177f5d0c18840f08a40d64b7">GpgFrontend::SingletonFunctionObject::GetChannel</a></div><div class="ttdeci">int GetChannel() const</div><div class="ttdoc">Get the Channel object.</div><div class="ttdef"><b>Definition:</b> GpgFunctionObject.h:252</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="namespaceGpgFrontend.html">GpgFrontend</a></li><li class="navelem"><a class="el" href="classGpgFrontend_1_1GpgKeyGetter.html">GpgKeyGetter</a></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>