GpgFrontend-Doxygen/docs/html/classGpgFrontend_1_1GpgKeyManager.html

500 lines
44 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.9.1"/>
2022-05-08 19:59:26 +00:00
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>GpgFrontend Project: GpgFrontend::GpgKeyManager 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 -->
<!-- Generated by Doxygen 1.9.1 -->
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','.html');
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_1GpgKeyManager.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="#nested-classes">Classes</a> &#124;
2022-05-08 19:59:26 +00:00
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pri-types">Private Types</a> &#124;
<a href="#pri-static-methods">Static 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_1GpgKeyManager-members.html">List of all members</a> </div>
2022-05-08 22:01:23 +00:00
<div class="headertitle">
<div class="title">GpgFrontend::GpgKeyManager Class Reference</div> </div>
2022-05-08 19:59:26 +00:00
</div><!--header-->
<div class="contents">
<div class="dynheader">
Inheritance diagram for GpgFrontend::GpgKeyManager:</div>
<div class="dyncontent">
<div class="center"><img src="classGpgFrontend_1_1GpgKeyManager__inherit__graph.png" border="0" usemap="#aGpgFrontend_1_1GpgKeyManager_inherit__map" alt="Inheritance graph"/></div>
<map name="aGpgFrontend_1_1GpgKeyManager_inherit__map" id="aGpgFrontend_1_1GpgKeyManager_inherit__map">
<area shape="rect" title=" " alt="" coords="10,897,230,1048"/>
<area shape="rect" href="classGpgFrontend_1_1SingletonFunctionObject.html" title=" " alt="" coords="5,565,235,848"/>
<area shape="rect" href="classGpgFrontend_1_1ChannelObject.html" title="object which in channel system is called &quot;channel&quot;" alt="" coords="11,5,219,171"/>
<area shape="rect" href="classGpgFrontend_1_1SingletonFunctionObject.html" title=" " alt="" coords="136,220,365,503"/>
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::GpgKeyManager:</div>
<div class="dyncontent">
<div class="center"><img src="classGpgFrontend_1_1GpgKeyManager__coll__graph.png" border="0" usemap="#aGpgFrontend_1_1GpgKeyManager_coll__map" alt="Collaboration graph"/></div>
<map name="aGpgFrontend_1_1GpgKeyManager_coll__map" id="aGpgFrontend_1_1GpgKeyManager_coll__map">
<area shape="rect" title=" " alt="" coords="91,1111,311,1261"/>
<area shape="rect" href="classGpgFrontend_1_1SingletonFunctionObject.html" title=" " alt="" coords="5,565,235,848"/>
<area shape="rect" href="classGpgFrontend_1_1ChannelObject.html" title="object which in channel system is called &quot;channel&quot;" alt="" coords="168,5,376,171"/>
<area shape="rect" href="classGpgFrontend_1_1SingletonFunctionObject.html" title=" " alt="" coords="157,220,387,503"/>
<area shape="rect" href="classGpgFrontend_1_1SingletonFunctionObject.html" title=" " alt="" coords="259,565,488,848"/>
<area shape="rect" href="classGpgFrontend_1_1GpgContext.html" title=" " alt="" coords="247,897,438,1048"/>
2022-05-08 22:01:23 +00:00
</map>
2022-05-08 19:59:26 +00:00
</div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structGpgFrontend_1_1GpgKeyManager_1_1AutomatonHandelStruct.html">AutomatonHandelStruct</a></td></tr>
<tr class="separator:"><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="pub-methods"></a>
2022-05-08 19:59:26 +00:00
Public Member Functions</h2></td></tr>
<tr class="memitem:a210b717fd8ee63b064d77f32b0df4c5d"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1GpgKeyManager.html#a210b717fd8ee63b064d77f32b0df4c5d">GpgKeyManager</a> (int channel=<a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#ad983153cbe3a0c32c123c506e04f31fc">SingletonFunctionObject::GetDefaultChannel</a>())</td></tr>
2022-05-08 19:59:26 +00:00
<tr class="memdesc:a210b717fd8ee63b064d77f32b0df4c5d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Construct a new Gpg Key Manager object. <a href="classGpgFrontend_1_1GpgKeyManager.html#a210b717fd8ee63b064d77f32b0df4c5d">More...</a><br /></td></tr>
<tr class="separator:a210b717fd8ee63b064d77f32b0df4c5d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab5e56b3a2161f3251666c988d7eaa929"><td class="memItemLeft" align="right" valign="top">auto&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1GpgKeyManager.html#ab5e56b3a2161f3251666c988d7eaa929">SignKey</a> (const <a class="el" href="classGpgFrontend_1_1GpgKey.html">GpgKey</a> &amp;target, KeyArgsList &amp;keys, const QString &amp;uid, const std::unique_ptr&lt; QDateTime &gt; &amp;expires) -&gt; bool</td></tr>
<tr class="memdesc:ab5e56b3a2161f3251666c988d7eaa929"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sign a key pair(actually a certain uid) <a href="classGpgFrontend_1_1GpgKeyManager.html#ab5e56b3a2161f3251666c988d7eaa929">More...</a><br /></td></tr>
<tr class="separator:ab5e56b3a2161f3251666c988d7eaa929"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a85c5ca9f31480fe3351c056b92b0aa12"><td class="memItemLeft" align="right" valign="top">auto&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1GpgKeyManager.html#a85c5ca9f31480fe3351c056b92b0aa12">RevSign</a> (const <a class="el" href="classGpgFrontend_1_1GpgKey.html">GpgFrontend::GpgKey</a> &amp;key, const GpgFrontend::SignIdArgsListPtr &amp;signature_id) -&gt; bool</td></tr>
<tr class="separator:a85c5ca9f31480fe3351c056b92b0aa12"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab4a61f4a895ddc965a018a851b222dce"><td class="memItemLeft" align="right" valign="top">auto&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1GpgKeyManager.html#ab4a61f4a895ddc965a018a851b222dce">SetExpire</a> (const <a class="el" href="classGpgFrontend_1_1GpgKey.html">GpgKey</a> &amp;key, std::unique_ptr&lt; <a class="el" href="classGpgFrontend_1_1GpgSubKey.html">GpgSubKey</a> &gt; &amp;subkey, std::unique_ptr&lt; QDateTime &gt; &amp;expires) -&gt; bool</td></tr>
<tr class="memdesc:ab4a61f4a895ddc965a018a851b222dce"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the Expire object. <a href="classGpgFrontend_1_1GpgKeyManager.html#ab4a61f4a895ddc965a018a851b222dce">More...</a><br /></td></tr>
<tr class="separator:ab4a61f4a895ddc965a018a851b222dce"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5fa56401416872cd4ed741830b72041b"><td class="memItemLeft" align="right" valign="top">auto&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1GpgKeyManager.html#a5fa56401416872cd4ed741830b72041b">SetOwnerTrustLevel</a> (const <a class="el" href="classGpgFrontend_1_1GpgKey.html">GpgKey</a> &amp;key, int trust_level) -&gt; bool</td></tr>
<tr class="separator:a5fa56401416872cd4ed741830b72041b"><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; GpgKeyManager &gt;</a></td></tr>
<tr class="memitem:a194e49b07d46345bdad386505d743a61 inherit pub_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memItemLeft" align="right" valign="top"><a id="a194e49b07d46345bdad386505d743a61"></a>
&#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_1GpgKeyManager.html">GpgKeyManager</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 <br /></td></tr>
<tr class="separator:a194e49b07d46345bdad386505d743a61 inherit pub_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aabc5fe8e5a372ac276a265286457cb9a inherit pub_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memItemLeft" align="right" valign="top"><a id="aabc5fe8e5a372ac276a265286457cb9a"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#aabc5fe8e5a372ac276a265286457cb9a">SingletonFunctionObject</a> (<a class="el" href="classGpgFrontend_1_1GpgKeyManager.html">GpgKeyManager</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. <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>
<tr class="memitem:a7090636bed6f4bad5b99f28f6872c645 inherit pub_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memItemLeft" align="right" valign="top"><a id="a7090636bed6f4bad5b99f28f6872c645"></a>
&#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_1GpgKeyManager.html">GpgKeyManager</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. <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:a99eb547639a63e7c2f467ebb611c95b7 inherit pub_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memItemLeft" align="right" valign="top">auto&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#a99eb547639a63e7c2f467ebb611c95b7">operator=</a> (const <a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html">SingletonFunctionObject</a>&lt; <a class="el" href="classGpgFrontend_1_1GpgKeyManager.html">GpgKeyManager</a> &gt; &amp;) -&gt; <a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html">SingletonFunctionObject</a> &amp;=delete</td></tr>
<tr class="memdesc:a99eb547639a63e7c2f467ebb611c95b7 inherit pub_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="mdescLeft">&#160;</td><td class="mdescRight">prohibit copy <a href="classGpgFrontend_1_1SingletonFunctionObject.html#a99eb547639a63e7c2f467ebb611c95b7">More...</a><br /></td></tr>
<tr class="separator:a99eb547639a63e7c2f467ebb611c95b7 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_1GpgKeyManager.html">GpgKeyManager</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:a94ee1e1251023610590e675ae3de8bd5 inherit pub_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memItemLeft" align="right" valign="top">auto&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#a94ee1e1251023610590e675ae3de8bd5">GetChannel</a> () const -&gt; int</td></tr>
<tr class="memdesc:a94ee1e1251023610590e675ae3de8bd5 inherit pub_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the Channel object. <a href="classGpgFrontend_1_1SingletonFunctionObject.html#a94ee1e1251023610590e675ae3de8bd5">More...</a><br /></td></tr>
<tr class="separator:a94ee1e1251023610590e675ae3de8bd5 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"><a id="aedbf32eddc701e521bd8e790ef208da0"></a>
&#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. <br /></td></tr>
<tr class="separator:aedbf32eddc701e521bd8e790ef208da0 inherit pub_methods_classGpgFrontend_1_1ChannelObject"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a85a29ff6a1233114eb9f159c408cbe35 inherit pub_methods_classGpgFrontend_1_1ChannelObject"><td class="memItemLeft" align="right" valign="top"><a id="a85a29ff6a1233114eb9f159c408cbe35"></a>
virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1ChannelObject.html#a85a29ff6a1233114eb9f159c408cbe35">~ChannelObject</a> () noexcept</td></tr>
<tr class="memdesc:a85a29ff6a1233114eb9f159c408cbe35 inherit pub_methods_classGpgFrontend_1_1ChannelObject"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destroy the Channel Object object. <br /></td></tr>
<tr class="separator:a85a29ff6a1233114eb9f159c408cbe35 inherit pub_methods_classGpgFrontend_1_1ChannelObject"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3d55a57ee60bdb5a747125da9586a0e5 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#a3d55a57ee60bdb5a747125da9586a0e5">ChannelObject</a> (int channel, QString type)</td></tr>
<tr class="memdesc:a3d55a57ee60bdb5a747125da9586a0e5 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#a3d55a57ee60bdb5a747125da9586a0e5">More...</a><br /></td></tr>
<tr class="separator:a3d55a57ee60bdb5a747125da9586a0e5 inherit pub_methods_classGpgFrontend_1_1ChannelObject"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a085b36517fcc46916279b9d633da2d26 inherit pub_methods_classGpgFrontend_1_1ChannelObject"><td class="memItemLeft" align="right" valign="top">auto&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1ChannelObject.html#a085b36517fcc46916279b9d633da2d26">GetChannel</a> () const -&gt; int</td></tr>
<tr class="memdesc:a085b36517fcc46916279b9d633da2d26 inherit pub_methods_classGpgFrontend_1_1ChannelObject"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the Channel object. <a href="classGpgFrontend_1_1ChannelObject.html#a085b36517fcc46916279b9d633da2d26">More...</a><br /></td></tr>
<tr class="separator:a085b36517fcc46916279b9d633da2d26 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-types"></a>
Private Types</h2></td></tr>
<tr class="memitem:ab86c354a43ee32eb1216659bdd697d68"><td class="memItemLeft" align="right" valign="top"><a id="ab86c354a43ee32eb1216659bdd697d68"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><b>Command</b> = QString</td></tr>
<tr class="separator:ab86c354a43ee32eb1216659bdd697d68"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8372d745ded9676dbab290780f7389ae"><td class="memItemLeft" align="right" valign="top"><a id="a8372d745ded9676dbab290780f7389ae"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><b>AutomatonState</b> = enum { AS_START, AS_COMMAND, AS_VALUE, AS_REALLY_ULTIMATE, AS_SAVE, AS_ERROR, AS_QUIT, }</td></tr>
<tr class="separator:a8372d745ded9676dbab290780f7389ae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abbd0d9893967a342b0f1062a856d0647"><td class="memItemLeft" align="right" valign="top"><a id="abbd0d9893967a342b0f1062a856d0647"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><b>AutomatonActionHandler</b> = std::function&lt; Command(<a class="el" href="structGpgFrontend_1_1GpgKeyManager_1_1AutomatonHandelStruct.html">AutomatonHandelStruct</a> &amp;, AutomatonState)&gt;</td></tr>
<tr class="separator:abbd0d9893967a342b0f1062a856d0647"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adbb73cdb2ad6bc7a2a641871b2a17c17"><td class="memItemLeft" align="right" valign="top"><a id="adbb73cdb2ad6bc7a2a641871b2a17c17"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><b>AutomatonNextStateHandler</b> = std::function&lt; AutomatonState(AutomatonState, QString, QString)&gt;</td></tr>
<tr class="separator:adbb73cdb2ad6bc7a2a641871b2a17c17"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-static-methods"></a>
Static Private Member Functions</h2></td></tr>
<tr class="memitem:a9b5cc56fefa0e9ef0dd01aec92c2041d"><td class="memItemLeft" align="right" valign="top"><a id="a9b5cc56fefa0e9ef0dd01aec92c2041d"></a>
static auto&#160;</td><td class="memItemRight" valign="bottom"><b>interactor_cb_fnc</b> (void *handle, const char *status, const char *args, int fd) -&gt; gpgme_error_t</td></tr>
<tr class="separator:a9b5cc56fefa0e9ef0dd01aec92c2041d"><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>
2022-05-08 22:01:23 +00:00
<tr class="memitem:a073f96ccfa483a8856197610b8bdee9e"><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"><b>ctx_</b></td></tr>
2022-05-08 19:59:26 +00:00
<tr class="separator:a073f96ccfa483a8856197610b8bdee9e"><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="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; GpgKeyManager &gt;</a></td></tr>
<tr class="memitem:ac963fee992753970bfb5c81608d4070f inherit pub_static_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memItemLeft" align="right" valign="top">static auto&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#ac963fee992753970bfb5c81608d4070f">GetInstance</a> (int channel=GpgFrontend::kGpgFrontendDefaultChannel) -&gt; <a class="el" href="classGpgFrontend_1_1GpgKeyManager.html">GpgKeyManager</a> &amp;</td></tr>
<tr class="memdesc:ac963fee992753970bfb5c81608d4070f 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#ac963fee992753970bfb5c81608d4070f">More...</a><br /></td></tr>
<tr class="separator:ac963fee992753970bfb5c81608d4070f inherit pub_static_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adff3ff15fc67b7e9cdeeb2577541fbc4 inherit pub_static_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memItemLeft" align="right" valign="top">static auto&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#adff3ff15fc67b7e9cdeeb2577541fbc4">CreateInstance</a> (int channel, const std::function&lt; ChannelObjectPtr(void)&gt; &amp;factory) -&gt; <a class="el" href="classGpgFrontend_1_1GpgKeyManager.html">GpgKeyManager</a> &amp;</td></tr>
<tr class="memdesc:adff3ff15fc67b7e9cdeeb2577541fbc4 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#adff3ff15fc67b7e9cdeeb2577541fbc4">More...</a><br /></td></tr>
<tr class="separator:adff3ff15fc67b7e9cdeeb2577541fbc4 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:ad983153cbe3a0c32c123c506e04f31fc inherit pub_static_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memItemLeft" align="right" valign="top">static auto&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#ad983153cbe3a0c32c123c506e04f31fc">GetDefaultChannel</a> () -&gt; int</td></tr>
<tr class="memdesc:ad983153cbe3a0c32c123c506e04f31fc 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#ad983153cbe3a0c32c123c506e04f31fc">More...</a><br /></td></tr>
<tr class="separator:ad983153cbe3a0c32c123c506e04f31fc inherit pub_static_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa7b5db19f3a130886f43607a345a0e1d inherit pub_static_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memItemLeft" align="right" valign="top">static auto&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#aa7b5db19f3a130886f43607a345a0e1d">GetAllChannelId</a> () -&gt; std::vector&lt; int &gt;</td></tr>
<tr class="memdesc:aa7b5db19f3a130886f43607a345a0e1d 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#aa7b5db19f3a130886f43607a345a0e1d">More...</a><br /></td></tr>
<tr class="separator:aa7b5db19f3a130886f43607a345a0e1d 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:a6a3672c8ff3d4fb5ef6bc1bda202bbb8 inherit pub_static_methods_classGpgFrontend_1_1ChannelObject"><td class="memItemLeft" align="right" valign="top">static auto&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1ChannelObject.html#a6a3672c8ff3d4fb5ef6bc1bda202bbb8">GetDefaultChannel</a> () -&gt; int</td></tr>
<tr class="memdesc:a6a3672c8ff3d4fb5ef6bc1bda202bbb8 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#a6a3672c8ff3d4fb5ef6bc1bda202bbb8">More...</a><br /></td></tr>
<tr class="separator:a6a3672c8ff3d4fb5ef6bc1bda202bbb8 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; GpgKeyManager &gt;</a></td></tr>
<tr class="memitem:a02e76b42ab51d77588b01c7508bed258 inherit pro_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memItemLeft" align="right" valign="top"><a id="a02e76b42ab51d77588b01c7508bed258"></a>
&#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. <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>
<tr class="memitem:a8296be8c449f88175285186831b995bc inherit pro_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memItemLeft" align="right" valign="top"><a id="a8296be8c449f88175285186831b995bc"></a>
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. <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="a210b717fd8ee63b064d77f32b0df4c5d"></a>
2022-05-08 19:59:26 +00:00
<h2 class="memtitle"><span class="permalink"><a href="#a210b717fd8ee63b064d77f32b0df4c5d">&#9670;&nbsp;</a></span>GpgKeyManager()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">GpgFrontend::GpgKeyManager::GpgKeyManager </td>
<td>(</td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>channel</em> = <code><a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#ad983153cbe3a0c32c123c506e04f31fc">SingletonFunctionObject::GetDefaultChannel</a>()</code></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">explicit</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Construct a new Gpg Key Manager object. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">channel</td><td>Copyright (C) 2021 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></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>
2022-05-08 22:01:23 +00:00
<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>
<a id="a85c5ca9f31480fe3351c056b92b0aa12"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a85c5ca9f31480fe3351c056b92b0aa12">&#9670;&nbsp;</a></span>RevSign()</h2>
2022-05-08 19:59:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">auto GpgFrontend::GpgKeyManager::RevSign </td>
2022-05-08 19:59:26 +00:00
<td>(</td>
<td class="paramtype">const <a class="el" href="classGpgFrontend_1_1GpgKey.html">GpgFrontend::GpgKey</a> &amp;&#160;</td>
<td class="paramname"><em>key</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const GpgFrontend::SignIdArgsListPtr &amp;&#160;</td>
<td class="paramname"><em>signature_id</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> -&gt; bool</td>
2022-05-08 19:59:26 +00:00
</tr>
</table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">key</td><td></td></tr>
<tr><td class="paramname">signature_id</td><td></td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true </dd>
<dd>
false </dd></dl>
<p class="reference">References <a class="el" href="namespaceGpgFrontend.html#a864178db4c07b932c2ae6e7a20fe87bf">GpgFrontend::CheckGpgError()</a>, and <a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#ac963fee992753970bfb5c81608d4070f">GpgFrontend::SingletonFunctionObject&lt; GpgKeyGetter &gt;::GetInstance()</a>.</p>
2022-05-08 19:59:26 +00:00
</div>
</div>
<a id="ab4a61f4a895ddc965a018a851b222dce"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab4a61f4a895ddc965a018a851b222dce">&#9670;&nbsp;</a></span>SetExpire()</h2>
2022-05-08 19:59:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">auto GpgFrontend::GpgKeyManager::SetExpire </td>
2022-05-08 19:59:26 +00:00
<td>(</td>
<td class="paramtype">const <a class="el" href="classGpgFrontend_1_1GpgKey.html">GpgKey</a> &amp;&#160;</td>
<td class="paramname"><em>key</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">std::unique_ptr&lt; <a class="el" href="classGpgFrontend_1_1GpgSubKey.html">GpgSubKey</a> &gt; &amp;&#160;</td>
<td class="paramname"><em>subkey</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">std::unique_ptr&lt; QDateTime &gt; &amp;&#160;</td>
2022-05-08 19:59:26 +00:00
<td class="paramname"><em>expires</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> -&gt; bool</td>
2022-05-08 19:59:26 +00:00
</tr>
</table>
</div><div class="memdoc">
<p>Set the Expire object. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">key</td><td></td></tr>
<tr><td class="paramname">subkey</td><td></td></tr>
<tr><td class="paramname">expires</td><td></td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true </dd>
<dd>
false </dd></dl>
<p class="reference">References <a class="el" href="namespaceGpgFrontend.html#a864178db4c07b932c2ae6e7a20fe87bf">GpgFrontend::CheckGpgError()</a>.</p>
2022-05-08 19:59:26 +00:00
</div>
</div>
<a id="a5fa56401416872cd4ed741830b72041b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5fa56401416872cd4ed741830b72041b">&#9670;&nbsp;</a></span>SetOwnerTrustLevel()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">auto GpgFrontend::GpgKeyManager::SetOwnerTrustLevel </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classGpgFrontend_1_1GpgKey.html">GpgKey</a> &amp;&#160;</td>
<td class="paramname"><em>key</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>trust_level</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> -&gt; bool</td>
</tr>
</table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd></dd></dl>
<p class="reference">References <a class="el" href="namespaceGpgFrontend.html#a864178db4c07b932c2ae6e7a20fe87bf">GpgFrontend::CheckGpgError()</a>.</p>
2022-05-08 19:59:26 +00:00
</div>
</div>
<a id="ab5e56b3a2161f3251666c988d7eaa929"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab5e56b3a2161f3251666c988d7eaa929">&#9670;&nbsp;</a></span>SignKey()</h2>
2022-05-08 19:59:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">auto GpgFrontend::GpgKeyManager::SignKey </td>
2022-05-08 19:59:26 +00:00
<td>(</td>
<td class="paramtype">const <a class="el" href="classGpgFrontend_1_1GpgKey.html">GpgKey</a> &amp;&#160;</td>
<td class="paramname"><em>target</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">GpgFrontend::KeyArgsList &amp;&#160;</td>
<td class="paramname"><em>keys</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const QString &amp;&#160;</td>
2022-05-08 19:59:26 +00:00
<td class="paramname"><em>uid</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const std::unique_ptr&lt; QDateTime &gt; &amp;&#160;</td>
2022-05-08 19:59:26 +00:00
<td class="paramname"><em>expires</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> -&gt; bool</td>
2022-05-08 19:59:26 +00:00
</tr>
</table>
</div><div class="memdoc">
<p>Sign a key pair(actually a certain uid) </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">target</td><td>target key pair </td></tr>
<tr><td class="paramname">uid</td><td>target </td></tr>
<tr><td class="paramname">expires</td><td>expire date and time of the signature </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>if successful </dd></dl>
<p class="reference">References <a class="el" href="namespaceGpgFrontend.html#a864178db4c07b932c2ae6e7a20fe87bf">GpgFrontend::CheckGpgError()</a>, and <a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#ac963fee992753970bfb5c81608d4070f">GpgFrontend::SingletonFunctionObject&lt; GpgBasicOperator &gt;::GetInstance()</a>.</p>
2022-05-08 19:59:26 +00:00
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
2022-05-08 22:01:23 +00:00
<a id="a073f96ccfa483a8856197610b8bdee9e"></a>
2022-05-08 19:59:26 +00:00
<h2 class="memtitle"><span class="permalink"><a href="#a073f96ccfa483a8856197610b8bdee9e">&#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::GpgKeyManager::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>
<div class="line"> <a class="code" href="classGpgFrontend_1_1SingletonFunctionObject.html#ac963fee992753970bfb5c81608d4070f">GpgContext::GetInstance</a>(<a class="code" href="classGpgFrontend_1_1SingletonFunctionObject.html#a94ee1e1251023610590e675ae3de8bd5">SingletonFunctionObject::GetChannel</a>())</div>
<div class="ttc" id="aclassGpgFrontend_1_1SingletonFunctionObject_html_a94ee1e1251023610590e675ae3de8bd5"><div class="ttname"><a href="classGpgFrontend_1_1SingletonFunctionObject.html#a94ee1e1251023610590e675ae3de8bd5">GpgFrontend::SingletonFunctionObject::GetChannel</a></div><div class="ttdeci">auto GetChannel() const -&gt; int</div><div class="ttdoc">Get the Channel object.</div><div class="ttdef"><b>Definition:</b> GpgFunctionObject.h:140</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1SingletonFunctionObject_html_ac963fee992753970bfb5c81608d4070f"><div class="ttname"><a href="classGpgFrontend_1_1SingletonFunctionObject.html#ac963fee992753970bfb5c81608d4070f">GpgFrontend::SingletonFunctionObject&lt; GpgContext &gt;::GetInstance</a></div><div class="ttdeci">static auto GetInstance(int channel=GpgFrontend::kGpgFrontendDefaultChannel) -&gt; GpgContext &amp;</div><div class="ttdoc">Get the Instance object.</div><div class="ttdef"><b>Definition:</b> GpgFunctionObject.h:80</div></div>
2022-05-08 19:59:26 +00:00
</div><!-- fragment -->
</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>src/core/function/gpg/<a class="el" href="GpgKeyManager_8h_source.html">GpgKeyManager.h</a></li>
<li>src/core/function/gpg/GpgKeyManager.cpp</li>
</ul>
</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="namespaceGpgFrontend.html">GpgFrontend</a></li><li class="navelem"><a class="el" href="classGpgFrontend_1_1GpgKeyManager.html">GpgKeyManager</a></li>
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
2022-05-08 19:59:26 +00:00
</ul>
</div>
</body>
</html>