GpgFrontend-Doxygen/docs/html/classGpgFrontend_1_1GpgBasicOperator.html

930 lines
70 KiB
HTML
Raw Permalink 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::GpgBasicOperator 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_1GpgBasicOperator.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-attribs">Private Attributes</a> &#124;
<a href="classGpgFrontend_1_1GpgBasicOperator-members.html">List of all members</a> </div>
2022-05-08 22:01:23 +00:00
<div class="headertitle">
<div class="title">GpgFrontend::GpgBasicOperator Class Reference</div> </div>
2022-05-08 19:59:26 +00:00
</div><!--header-->
<div class="contents">
<p>Basic operation collection.
<a href="classGpgFrontend_1_1GpgBasicOperator.html#details">More...</a></p>
<p><code>#include &lt;<a class="el" href="GpgBasicOperator_8h_source.html">GpgBasicOperator.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for GpgFrontend::GpgBasicOperator:</div>
<div class="dyncontent">
<div class="center"><img src="classGpgFrontend_1_1GpgBasicOperator__inherit__graph.png" border="0" usemap="#aGpgFrontend_1_1GpgBasicOperator_inherit__map" alt="Inheritance graph"/></div>
<map name="aGpgFrontend_1_1GpgBasicOperator_inherit__map" id="aGpgFrontend_1_1GpgBasicOperator_inherit__map">
<area shape="rect" title="Basic operation collection." alt="" coords="5,897,236,1121"/>
<area shape="rect" href="classGpgFrontend_1_1SingletonFunctionObject.html" title=" " alt="" coords="6,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="137,220,366,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::GpgBasicOperator:</div>
<div class="dyncontent">
<div class="center"><img src="classGpgFrontend_1_1GpgBasicOperator__coll__graph.png" border="0" usemap="#aGpgFrontend_1_1GpgBasicOperator_coll__map" alt="Collaboration graph"/></div>
<map name="aGpgFrontend_1_1GpgBasicOperator_coll__map" id="aGpgFrontend_1_1GpgBasicOperator_coll__map">
<area shape="rect" title="Basic operation collection." alt="" coords="86,1111,317,1335"/>
<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="175,5,383,171"/>
<area shape="rect" href="classGpgFrontend_1_1SingletonFunctionObject.html" title=" " alt="" coords="164,220,393,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">
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:a139be86330f88e5f833aa24263a3b2ae"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1GpgBasicOperator.html#a139be86330f88e5f833aa24263a3b2ae">GpgBasicOperator</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:a139be86330f88e5f833aa24263a3b2ae"><td class="mdescLeft">&#160;</td><td class="mdescRight">Construct a new Basic Operator object. <a href="classGpgFrontend_1_1GpgBasicOperator.html#a139be86330f88e5f833aa24263a3b2ae">More...</a><br /></td></tr>
<tr class="separator:a139be86330f88e5f833aa24263a3b2ae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a18fac140f828d738427e081aed152873"><td class="memItemLeft" align="right" valign="top"><a id="a18fac140f828d738427e081aed152873"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>Encrypt</b> (const KeyArgsList &amp;, const <a class="el" href="classGpgFrontend_1_1GFBuffer.html">GFBuffer</a> &amp;, bool, const GpgOperationCallback &amp;)</td></tr>
<tr class="separator:a18fac140f828d738427e081aed152873"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a86bad1916feef36c0729055e471cf026"><td class="memItemLeft" align="right" valign="top"><a id="a86bad1916feef36c0729055e471cf026"></a>
auto&#160;</td><td class="memItemRight" valign="bottom"><b>EncryptSync</b> (const KeyArgsList &amp;, const <a class="el" href="classGpgFrontend_1_1GFBuffer.html">GFBuffer</a> &amp;, bool) -&gt; std::tuple&lt; <a class="el" href="namespaceGpgFrontend.html#a2470eb154743191c3454203f23d3a2f8">GpgError</a>, DataObjectPtr &gt;</td></tr>
<tr class="separator:a86bad1916feef36c0729055e471cf026"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af95c6ea9e4a0aaccb17029557b63158a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1GpgBasicOperator.html#af95c6ea9e4a0aaccb17029557b63158a">EncryptSymmetric</a> (const <a class="el" href="classGpgFrontend_1_1GFBuffer.html">GFBuffer</a> &amp;in_buffer, bool ascii, const GpgOperationCallback &amp;cb)</td></tr>
<tr class="memdesc:af95c6ea9e4a0aaccb17029557b63158a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Call the interface provided by GPGME to symmetrical encryption. <a href="classGpgFrontend_1_1GpgBasicOperator.html#af95c6ea9e4a0aaccb17029557b63158a">More...</a><br /></td></tr>
<tr class="separator:af95c6ea9e4a0aaccb17029557b63158a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a71018b8a86ec41ebd1050f437649b173"><td class="memItemLeft" align="right" valign="top">auto&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1GpgBasicOperator.html#a71018b8a86ec41ebd1050f437649b173">EncryptSymmetricSync</a> (const <a class="el" href="classGpgFrontend_1_1GFBuffer.html">GFBuffer</a> &amp;in_buffer, bool ascii) -&gt; std::tuple&lt; <a class="el" href="namespaceGpgFrontend.html#a2470eb154743191c3454203f23d3a2f8">GpgError</a>, DataObjectPtr &gt;</td></tr>
<tr class="separator:a71018b8a86ec41ebd1050f437649b173"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a846cc480299eacc843cfb04a74f881ba"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1GpgBasicOperator.html#a846cc480299eacc843cfb04a74f881ba">EncryptSign</a> (const KeyArgsList &amp;keys, const KeyArgsList &amp;signers, const <a class="el" href="classGpgFrontend_1_1GFBuffer.html">GFBuffer</a> &amp;in_buffer, bool ascii, const GpgOperationCallback &amp;cb)</td></tr>
<tr class="memdesc:a846cc480299eacc843cfb04a74f881ba"><td class="mdescLeft">&#160;</td><td class="mdescRight">Call the interface provided by gpgme to perform encryption and signature operations at the same time. <a href="classGpgFrontend_1_1GpgBasicOperator.html#a846cc480299eacc843cfb04a74f881ba">More...</a><br /></td></tr>
<tr class="separator:a846cc480299eacc843cfb04a74f881ba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a231f7ca2d8b56b3791497cdbb7754e44"><td class="memItemLeft" align="right" valign="top">auto&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1GpgBasicOperator.html#a231f7ca2d8b56b3791497cdbb7754e44">EncryptSignSync</a> (const KeyArgsList &amp;keys, const KeyArgsList &amp;signers, const <a class="el" href="classGpgFrontend_1_1GFBuffer.html">GFBuffer</a> &amp;in_buffer, bool ascii) -&gt; std::tuple&lt; <a class="el" href="namespaceGpgFrontend.html#a2470eb154743191c3454203f23d3a2f8">GpgError</a>, DataObjectPtr &gt;</td></tr>
<tr class="separator:a231f7ca2d8b56b3791497cdbb7754e44"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a508bdf67776fe4e393956d935784f9a4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1GpgBasicOperator.html#a508bdf67776fe4e393956d935784f9a4">Decrypt</a> (const <a class="el" href="classGpgFrontend_1_1GFBuffer.html">GFBuffer</a> &amp;in_buffer, const GpgOperationCallback &amp;cb)</td></tr>
<tr class="memdesc:a508bdf67776fe4e393956d935784f9a4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Call the interface provided by gpgme for decryption operation. <a href="classGpgFrontend_1_1GpgBasicOperator.html#a508bdf67776fe4e393956d935784f9a4">More...</a><br /></td></tr>
<tr class="separator:a508bdf67776fe4e393956d935784f9a4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af25a8b568723bf1c3b8b59ab1786238c"><td class="memItemLeft" align="right" valign="top">auto&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1GpgBasicOperator.html#af25a8b568723bf1c3b8b59ab1786238c">DecryptSync</a> (const <a class="el" href="classGpgFrontend_1_1GFBuffer.html">GFBuffer</a> &amp;in_buffer) -&gt; std::tuple&lt; <a class="el" href="namespaceGpgFrontend.html#a2470eb154743191c3454203f23d3a2f8">GpgError</a>, DataObjectPtr &gt;</td></tr>
<tr class="separator:af25a8b568723bf1c3b8b59ab1786238c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a84a66a7a31269ba152c1329083540efc"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1GpgBasicOperator.html#a84a66a7a31269ba152c1329083540efc">DecryptVerify</a> (const <a class="el" href="classGpgFrontend_1_1GFBuffer.html">GFBuffer</a> &amp;in_buffer, const GpgOperationCallback &amp;cb)</td></tr>
<tr class="memdesc:a84a66a7a31269ba152c1329083540efc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Call the interface provided by gpgme to perform decryption and verification operations at the same time. <a href="classGpgFrontend_1_1GpgBasicOperator.html#a84a66a7a31269ba152c1329083540efc">More...</a><br /></td></tr>
<tr class="separator:a84a66a7a31269ba152c1329083540efc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2de32d6c71f3d559aab4ee78648878c0"><td class="memItemLeft" align="right" valign="top">auto&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1GpgBasicOperator.html#a2de32d6c71f3d559aab4ee78648878c0">DecryptVerifySync</a> (const <a class="el" href="classGpgFrontend_1_1GFBuffer.html">GFBuffer</a> &amp;in_buffer) -&gt; std::tuple&lt; <a class="el" href="namespaceGpgFrontend.html#a2470eb154743191c3454203f23d3a2f8">GpgError</a>, DataObjectPtr &gt;</td></tr>
<tr class="separator:a2de32d6c71f3d559aab4ee78648878c0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae9a2f9923061efae82fe012ebc7a56ab"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1GpgBasicOperator.html#ae9a2f9923061efae82fe012ebc7a56ab">Verify</a> (const <a class="el" href="classGpgFrontend_1_1GFBuffer.html">GFBuffer</a> &amp;in_buffer, const <a class="el" href="classGpgFrontend_1_1GFBuffer.html">GFBuffer</a> &amp;sig_buffer, const GpgOperationCallback &amp;cb)</td></tr>
<tr class="memdesc:ae9a2f9923061efae82fe012ebc7a56ab"><td class="mdescLeft">&#160;</td><td class="mdescRight">Call the interface provided by gpgme for verification operation. <a href="classGpgFrontend_1_1GpgBasicOperator.html#ae9a2f9923061efae82fe012ebc7a56ab">More...</a><br /></td></tr>
<tr class="separator:ae9a2f9923061efae82fe012ebc7a56ab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3507dec7f2528c8627d3289cfb638a7a"><td class="memItemLeft" align="right" valign="top">auto&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1GpgBasicOperator.html#a3507dec7f2528c8627d3289cfb638a7a">VerifySync</a> (const <a class="el" href="classGpgFrontend_1_1GFBuffer.html">GFBuffer</a> &amp;in_buffer, const <a class="el" href="classGpgFrontend_1_1GFBuffer.html">GFBuffer</a> &amp;sig_buffer) -&gt; std::tuple&lt; <a class="el" href="namespaceGpgFrontend.html#a2470eb154743191c3454203f23d3a2f8">GpgError</a>, DataObjectPtr &gt;</td></tr>
<tr class="separator:a3507dec7f2528c8627d3289cfb638a7a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8c52574f86bd8452a578143e08c7254b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1GpgBasicOperator.html#a8c52574f86bd8452a578143e08c7254b">Sign</a> (const KeyArgsList &amp;signers, const <a class="el" href="classGpgFrontend_1_1GFBuffer.html">GFBuffer</a> &amp;in_buffer, GpgSignMode mode, bool ascii, const GpgOperationCallback &amp;cb)</td></tr>
<tr class="memdesc:a8c52574f86bd8452a578143e08c7254b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Call the interface provided by gpgme for signing operation. <a href="classGpgFrontend_1_1GpgBasicOperator.html#a8c52574f86bd8452a578143e08c7254b">More...</a><br /></td></tr>
<tr class="separator:a8c52574f86bd8452a578143e08c7254b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aec37726d1386dcca7a75e1f2706bad77"><td class="memItemLeft" align="right" valign="top">auto&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1GpgBasicOperator.html#aec37726d1386dcca7a75e1f2706bad77">SignSync</a> (const KeyArgsList &amp;signers, const <a class="el" href="classGpgFrontend_1_1GFBuffer.html">GFBuffer</a> &amp;in_buffer, GpgSignMode mode, bool ascii) -&gt; std::tuple&lt; <a class="el" href="namespaceGpgFrontend.html#a2470eb154743191c3454203f23d3a2f8">GpgError</a>, DataObjectPtr &gt;</td></tr>
<tr class="separator:aec37726d1386dcca7a75e1f2706bad77"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aba9f6442dadcba29994d6680a4a0a8d6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1GpgBasicOperator.html#aba9f6442dadcba29994d6680a4a0a8d6">SetSigners</a> (const KeyArgsList &amp;signers, bool ascii)</td></tr>
<tr class="memdesc:aba9f6442dadcba29994d6680a4a0a8d6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the private key for signatures, this operation is a global operation. <a href="classGpgFrontend_1_1GpgBasicOperator.html#aba9f6442dadcba29994d6680a4a0a8d6">More...</a><br /></td></tr>
<tr class="separator:aba9f6442dadcba29994d6680a4a0a8d6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad8ee6cea649bd5bba1f68f4ff53cdf41"><td class="memItemLeft" align="right" valign="top">auto&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1GpgBasicOperator.html#ad8ee6cea649bd5bba1f68f4ff53cdf41">GetSigners</a> (bool ascii) -&gt; std::unique_ptr&lt; KeyArgsList &gt;</td></tr>
<tr class="memdesc:ad8ee6cea649bd5bba1f68f4ff53cdf41"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get a global signature private keys that has been set. <a href="classGpgFrontend_1_1GpgBasicOperator.html#ad8ee6cea649bd5bba1f68f4ff53cdf41">More...</a><br /></td></tr>
<tr class="separator:ad8ee6cea649bd5bba1f68f4ff53cdf41"><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; GpgBasicOperator &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_1GpgBasicOperator.html">GpgBasicOperator</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_1GpgBasicOperator.html">GpgBasicOperator</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_1GpgBasicOperator.html">GpgBasicOperator</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_1GpgBasicOperator.html">GpgBasicOperator</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_1GpgBasicOperator.html">GpgBasicOperator</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">
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:afad990a43ab06a060a93db9948ebb740"><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_1GpgBasicOperator.html#afad990a43ab06a060a93db9948ebb740">ctx_</a></td></tr>
<tr class="memdesc:afad990a43ab06a060a93db9948ebb740"><td class="mdescLeft">&#160;</td><td class="mdescRight">Corresponding context. <a href="classGpgFrontend_1_1GpgBasicOperator.html#afad990a43ab06a060a93db9948ebb740">More...</a><br /></td></tr>
<tr class="separator:afad990a43ab06a060a93db9948ebb740"><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; GpgBasicOperator &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_1GpgBasicOperator.html">GpgBasicOperator</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_1GpgBasicOperator.html">GpgBasicOperator</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; GpgBasicOperator &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>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
2022-05-08 22:01:23 +00:00
<div class="textblock"><p>Basic operation collection. </p>
2022-05-08 19:59:26 +00:00
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
2022-05-08 22:01:23 +00:00
<a id="a139be86330f88e5f833aa24263a3b2ae"></a>
2022-05-08 19:59:26 +00:00
<h2 class="memtitle"><span class="permalink"><a href="#a139be86330f88e5f833aa24263a3b2ae">&#9670;&nbsp;</a></span>GpgBasicOperator()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">GpgFrontend::GpgBasicOperator::GpgBasicOperator </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 Basic Operator object. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">channel</td><td>Channel corresponding to the context </td></tr>
2022-05-08 19:59:26 +00:00
</table>
</dd>
</dl>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a508bdf67776fe4e393956d935784f9a4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a508bdf67776fe4e393956d935784f9a4">&#9670;&nbsp;</a></span>Decrypt()</h2>
2022-05-08 19:59:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void GpgFrontend::GpgBasicOperator::Decrypt </td>
2022-05-08 19:59:26 +00:00
<td>(</td>
<td class="paramtype">const <a class="el" href="classGpgFrontend_1_1GFBuffer.html">GFBuffer</a> &amp;&#160;</td>
2022-05-08 19:59:26 +00:00
<td class="paramname"><em>in_buffer</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const GpgOperationCallback &amp;&#160;</td>
<td class="paramname"><em>cb</em>&#160;</td>
2022-05-08 19:59:26 +00:00
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Call the interface provided by gpgme for decryption operation. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">in_buffer</td><td>data that needs to be decrypted </td></tr>
<tr><td class="paramname">out_buffer</td><td>decrypted data </td></tr>
<tr><td class="paramname">result</td><td>the result of the operation </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>error code </dd></dl>
<p class="reference">References <a class="el" href="namespaceGpgFrontend.html#a864178db4c07b932c2ae6e7a20fe87bf">GpgFrontend::CheckGpgError()</a>, <a class="el" href="classGpgFrontend_1_1GpgBasicOperator.html#afad990a43ab06a060a93db9948ebb740">ctx_</a>, <a class="el" href="classGpgFrontend_1_1GpgData.html#a7e59c37c350caa54424ec8a4e2a2e7a2">GpgFrontend::GpgData::Read2GFBuffer()</a>, and <a class="el" href="namespaceGpgFrontend.html#abeb3c754e9529570abe5fef6a97f3c22">GpgFrontend::RunGpgOperaAsync()</a>.</p>
2022-05-08 19:59:26 +00:00
</div>
</div>
<a id="af25a8b568723bf1c3b8b59ab1786238c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af25a8b568723bf1c3b8b59ab1786238c">&#9670;&nbsp;</a></span>DecryptSync()</h2>
2022-05-08 19:59:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">auto GpgFrontend::GpgBasicOperator::DecryptSync </td>
2022-05-08 19:59:26 +00:00
<td>(</td>
<td class="paramtype">const <a class="el" href="classGpgFrontend_1_1GFBuffer.html">GFBuffer</a> &amp;&#160;</td>
<td class="paramname"><em>in_buffer</em></td><td>)</td>
<td> -&gt; std::tuple&lt;<a class="el" href="namespaceGpgFrontend.html#a2470eb154743191c3454203f23d3a2f8">GpgError</a>, DataObjectPtr&gt;</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">in_buffer</td><td></td></tr>
</table>
</dd>
</dl>
<p class="reference">References <a class="el" href="namespaceGpgFrontend.html#a864178db4c07b932c2ae6e7a20fe87bf">GpgFrontend::CheckGpgError()</a>, <a class="el" href="classGpgFrontend_1_1GpgData.html#a7e59c37c350caa54424ec8a4e2a2e7a2">GpgFrontend::GpgData::Read2GFBuffer()</a>, and <a class="el" href="namespaceGpgFrontend.html#a4c2a4a157e45e169682a99d7f5130dc0">GpgFrontend::RunGpgOperaSync()</a>.</p>
</div>
</div>
<a id="a84a66a7a31269ba152c1329083540efc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a84a66a7a31269ba152c1329083540efc">&#9670;&nbsp;</a></span>DecryptVerify()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
2022-05-08 19:59:26 +00:00
<tr>
<td class="memname">void GpgFrontend::GpgBasicOperator::DecryptVerify </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classGpgFrontend_1_1GFBuffer.html">GFBuffer</a> &amp;&#160;</td>
<td class="paramname"><em>in_buffer</em>, </td>
2022-05-08 19:59:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const GpgOperationCallback &amp;&#160;</td>
<td class="paramname"><em>cb</em>&#160;</td>
2022-05-08 19:59:26 +00:00
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Call the interface provided by gpgme to perform decryption and verification operations at the same time. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">in_buffer</td><td>data to be manipulated </td></tr>
<tr><td class="paramname">out_buffer</td><td>data resulting from decryption operation </td></tr>
<tr><td class="paramname">decrypt_result</td><td>the result of the decrypting operation </td></tr>
<tr><td class="paramname">verify_result</td><td>the result of the verifying operation </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>error code </dd></dl>
<p class="reference">References <a class="el" href="namespaceGpgFrontend.html#a864178db4c07b932c2ae6e7a20fe87bf">GpgFrontend::CheckGpgError()</a>, <a class="el" href="classGpgFrontend_1_1GpgBasicOperator.html#afad990a43ab06a060a93db9948ebb740">ctx_</a>, <a class="el" href="classGpgFrontend_1_1GpgData.html#a7e59c37c350caa54424ec8a4e2a2e7a2">GpgFrontend::GpgData::Read2GFBuffer()</a>, and <a class="el" href="namespaceGpgFrontend.html#abeb3c754e9529570abe5fef6a97f3c22">GpgFrontend::RunGpgOperaAsync()</a>.</p>
</div>
</div>
<a id="a2de32d6c71f3d559aab4ee78648878c0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2de32d6c71f3d559aab4ee78648878c0">&#9670;&nbsp;</a></span>DecryptVerifySync()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">auto GpgFrontend::GpgBasicOperator::DecryptVerifySync </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classGpgFrontend_1_1GFBuffer.html">GFBuffer</a> &amp;&#160;</td>
<td class="paramname"><em>in_buffer</em></td><td>)</td>
<td> -&gt; std::tuple&lt;<a class="el" href="namespaceGpgFrontend.html#a2470eb154743191c3454203f23d3a2f8">GpgError</a>, DataObjectPtr&gt;</td>
</tr>
</table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">in_buffer</td><td></td></tr>
</table>
</dd>
</dl>
2022-05-08 19:59:26 +00:00
<p class="reference">References <a class="el" href="namespaceGpgFrontend.html#a864178db4c07b932c2ae6e7a20fe87bf">GpgFrontend::CheckGpgError()</a>, <a class="el" href="classGpgFrontend_1_1GpgData.html#a7e59c37c350caa54424ec8a4e2a2e7a2">GpgFrontend::GpgData::Read2GFBuffer()</a>, and <a class="el" href="namespaceGpgFrontend.html#a4c2a4a157e45e169682a99d7f5130dc0">GpgFrontend::RunGpgOperaSync()</a>.</p>
2022-05-08 19:59:26 +00:00
</div>
</div>
<a id="a846cc480299eacc843cfb04a74f881ba"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a846cc480299eacc843cfb04a74f881ba">&#9670;&nbsp;</a></span>EncryptSign()</h2>
2022-05-08 19:59:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void GpgFrontend::GpgBasicOperator::EncryptSign </td>
2022-05-08 19:59:26 +00:00
<td>(</td>
<td class="paramtype">const KeyArgsList &amp;&#160;</td>
2022-05-08 19:59:26 +00:00
<td class="paramname"><em>keys</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const KeyArgsList &amp;&#160;</td>
<td class="paramname"><em>signers</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classGpgFrontend_1_1GFBuffer.html">GFBuffer</a> &amp;&#160;</td>
2022-05-08 19:59:26 +00:00
<td class="paramname"><em>in_buffer</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>ascii</em>, </td>
2022-05-08 19:59:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const GpgOperationCallback &amp;&#160;</td>
<td class="paramname"><em>cb</em>&#160;</td>
2022-05-08 19:59:26 +00:00
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Call the interface provided by gpgme to perform encryption and signature operations at the same time. </p>
2022-05-08 19:59:26 +00:00
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">keys</td><td>List of public keys </td></tr>
<tr><td class="paramname">signers</td><td>Private key for signatures </td></tr>
<tr><td class="paramname">in_buffer</td><td>Data for operation </td></tr>
<tr><td class="paramname">ascii</td><td>ascii mode </td></tr>
2022-05-08 19:59:26 +00:00
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>
2022-05-08 19:59:26 +00:00
<p class="reference">References <a class="el" href="namespaceGpgFrontend.html#a864178db4c07b932c2ae6e7a20fe87bf">GpgFrontend::CheckGpgError()</a>, <a class="el" href="classGpgFrontend_1_1GpgBasicOperator.html#afad990a43ab06a060a93db9948ebb740">ctx_</a>, <a class="el" href="classGpgFrontend_1_1GpgData.html#a7e59c37c350caa54424ec8a4e2a2e7a2">GpgFrontend::GpgData::Read2GFBuffer()</a>, <a class="el" href="namespaceGpgFrontend.html#abeb3c754e9529570abe5fef6a97f3c22">GpgFrontend::RunGpgOperaAsync()</a>, and <a class="el" href="classGpgFrontend_1_1GpgBasicOperator.html#aba9f6442dadcba29994d6680a4a0a8d6">SetSigners()</a>.</p>
2022-05-08 19:59:26 +00:00
</div>
</div>
<a id="a231f7ca2d8b56b3791497cdbb7754e44"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a231f7ca2d8b56b3791497cdbb7754e44">&#9670;&nbsp;</a></span>EncryptSignSync()</h2>
2022-05-08 19:59:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">auto GpgFrontend::GpgBasicOperator::EncryptSignSync </td>
2022-05-08 19:59:26 +00:00
<td>(</td>
<td class="paramtype">const KeyArgsList &amp;&#160;</td>
2022-05-08 19:59:26 +00:00
<td class="paramname"><em>keys</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const KeyArgsList &amp;&#160;</td>
2022-05-08 19:59:26 +00:00
<td class="paramname"><em>signers</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classGpgFrontend_1_1GFBuffer.html">GFBuffer</a> &amp;&#160;</td>
2022-05-08 19:59:26 +00:00
<td class="paramname"><em>in_buffer</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>ascii</em>&#160;</td>
2022-05-08 19:59:26 +00:00
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> -&gt; std::tuple&lt;<a class="el" href="namespaceGpgFrontend.html#a2470eb154743191c3454203f23d3a2f8">GpgError</a>, DataObjectPtr&gt;</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">keys</td><td></td></tr>
<tr><td class="paramname">signers</td><td></td></tr>
<tr><td class="paramname">in_buffer</td><td></td></tr>
<tr><td class="paramname">ascii</td><td></td></tr>
<tr><td class="paramname">cb</td><td></td></tr>
2022-05-08 19:59:26 +00:00
</table>
</dd>
</dl>
<p class="reference">References <a class="el" href="namespaceGpgFrontend.html#a864178db4c07b932c2ae6e7a20fe87bf">GpgFrontend::CheckGpgError()</a>, <a class="el" href="classGpgFrontend_1_1GpgData.html#a7e59c37c350caa54424ec8a4e2a2e7a2">GpgFrontend::GpgData::Read2GFBuffer()</a>, and <a class="el" href="namespaceGpgFrontend.html#a4c2a4a157e45e169682a99d7f5130dc0">GpgFrontend::RunGpgOperaSync()</a>.</p>
2022-05-08 19:59:26 +00:00
</div>
</div>
<a id="af95c6ea9e4a0aaccb17029557b63158a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af95c6ea9e4a0aaccb17029557b63158a">&#9670;&nbsp;</a></span>EncryptSymmetric()</h2>
2022-05-08 19:59:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void GpgFrontend::GpgBasicOperator::EncryptSymmetric </td>
2022-05-08 19:59:26 +00:00
<td>(</td>
<td class="paramtype">const <a class="el" href="classGpgFrontend_1_1GFBuffer.html">GFBuffer</a> &amp;&#160;</td>
2022-05-08 19:59:26 +00:00
<td class="paramname"><em>in_buffer</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>ascii</em>, </td>
2022-05-08 19:59:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const GpgOperationCallback &amp;&#160;</td>
<td class="paramname"><em>cb</em>&#160;</td>
2022-05-08 19:59:26 +00:00
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Call the interface provided by GPGME to symmetrical encryption. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">in_buffer</td><td>Data for encryption </td></tr>
<tr><td class="paramname">out_buffer</td><td>Encrypted data </td></tr>
<tr><td class="paramname">result</td><td>Encrypted results </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>GpgError </dd></dl>
2022-05-08 19:59:26 +00:00
<p class="reference">References <a class="el" href="namespaceGpgFrontend.html#a864178db4c07b932c2ae6e7a20fe87bf">GpgFrontend::CheckGpgError()</a>, <a class="el" href="classGpgFrontend_1_1GpgBasicOperator.html#afad990a43ab06a060a93db9948ebb740">ctx_</a>, <a class="el" href="classGpgFrontend_1_1GpgData.html#a7e59c37c350caa54424ec8a4e2a2e7a2">GpgFrontend::GpgData::Read2GFBuffer()</a>, and <a class="el" href="namespaceGpgFrontend.html#abeb3c754e9529570abe5fef6a97f3c22">GpgFrontend::RunGpgOperaAsync()</a>.</p>
2022-05-08 19:59:26 +00:00
</div>
</div>
<a id="a71018b8a86ec41ebd1050f437649b173"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a71018b8a86ec41ebd1050f437649b173">&#9670;&nbsp;</a></span>EncryptSymmetricSync()</h2>
2022-05-08 19:59:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">auto GpgFrontend::GpgBasicOperator::EncryptSymmetricSync </td>
2022-05-08 19:59:26 +00:00
<td>(</td>
<td class="paramtype">const <a class="el" href="classGpgFrontend_1_1GFBuffer.html">GFBuffer</a> &amp;&#160;</td>
<td class="paramname"><em>in_buffer</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>ascii</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> -&gt; std::tuple&lt;<a class="el" href="namespaceGpgFrontend.html#a2470eb154743191c3454203f23d3a2f8">GpgError</a>, DataObjectPtr&gt;</td>
</tr>
</table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">in_buffer</td><td></td></tr>
<tr><td class="paramname">ascii</td><td></td></tr>
<tr><td class="paramname">cb</td><td></td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>std::tuple&lt;GpgError, DataObjectPtr&gt; </dd></dl>
<p class="reference">References <a class="el" href="namespaceGpgFrontend.html#a864178db4c07b932c2ae6e7a20fe87bf">GpgFrontend::CheckGpgError()</a>, <a class="el" href="classGpgFrontend_1_1GpgData.html#a7e59c37c350caa54424ec8a4e2a2e7a2">GpgFrontend::GpgData::Read2GFBuffer()</a>, and <a class="el" href="namespaceGpgFrontend.html#a4c2a4a157e45e169682a99d7f5130dc0">GpgFrontend::RunGpgOperaSync()</a>.</p>
</div>
</div>
<a id="ad8ee6cea649bd5bba1f68f4ff53cdf41"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad8ee6cea649bd5bba1f68f4ff53cdf41">&#9670;&nbsp;</a></span>GetSigners()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">auto GpgFrontend::GpgBasicOperator::GetSigners </td>
<td>(</td>
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>ascii</em></td><td>)</td>
<td> -&gt; std::unique_ptr&lt;KeyArgsList&gt;</td>
2022-05-08 19:59:26 +00:00
</tr>
</table>
</div><div class="memdoc">
<p>Get a global signature private keys that has been set. </p>
<dl class="section return"><dt>Returns</dt><dd>Intelligent pointer pointing to the private key list </dd></dl>
</div>
</div>
<a id="aba9f6442dadcba29994d6680a4a0a8d6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aba9f6442dadcba29994d6680a4a0a8d6">&#9670;&nbsp;</a></span>SetSigners()</h2>
2022-05-08 19:59:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void GpgFrontend::GpgBasicOperator::SetSigners </td>
<td>(</td>
<td class="paramtype">const KeyArgsList &amp;&#160;</td>
<td class="paramname"><em>signers</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>ascii</em>&#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>Set the private key for signatures, this operation is a global operation. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">keys</td><td></td></tr>
</table>
</dd>
</dl>
<p class="reference">References <a class="el" href="namespaceGpgFrontend.html#a864178db4c07b932c2ae6e7a20fe87bf">GpgFrontend::CheckGpgError()</a>, and <a class="el" href="classGpgFrontend_1_1GpgBasicOperator.html#afad990a43ab06a060a93db9948ebb740">ctx_</a>.</p>
2022-05-08 19:59:26 +00:00
<p class="reference">Referenced by <a class="el" href="classGpgFrontend_1_1GpgBasicOperator.html#a846cc480299eacc843cfb04a74f881ba">EncryptSign()</a>, and <a class="el" href="classGpgFrontend_1_1GpgBasicOperator.html#a8c52574f86bd8452a578143e08c7254b">Sign()</a>.</p>
2022-05-08 19:59:26 +00:00
</div>
</div>
<a id="a8c52574f86bd8452a578143e08c7254b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8c52574f86bd8452a578143e08c7254b">&#9670;&nbsp;</a></span>Sign()</h2>
2022-05-08 19:59:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void GpgFrontend::GpgBasicOperator::Sign </td>
2022-05-08 19:59:26 +00:00
<td>(</td>
<td class="paramtype">const KeyArgsList &amp;&#160;</td>
2022-05-08 19:59:26 +00:00
<td class="paramname"><em>signers</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classGpgFrontend_1_1GFBuffer.html">GFBuffer</a> &amp;&#160;</td>
2022-05-08 19:59:26 +00:00
<td class="paramname"><em>in_buffer</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">GpgSignMode&#160;</td>
<td class="paramname"><em>mode</em>, </td>
2022-05-08 19:59:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>ascii</em>, </td>
2022-05-08 19:59:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const GpgOperationCallback &amp;&#160;</td>
<td class="paramname"><em>cb</em>&#160;</td>
2022-05-08 19:59:26 +00:00
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Call the interface provided by gpgme for signing operation. </p>
2022-05-08 22:01:23 +00:00
<p>The signing modes are as follows: &lsquo;GPGME_SIG_MODE_NORMAL&rsquo; A normal signature is made, the output includes the plaintext and the signature. &lsquo;GPGME_SIG_MODE_DETACH&rsquo; A detached signature is made. &lsquo;GPGME_SIG_MODE_CLEAR&rsquo; A clear text signature is made. The ASCII armor and text mode settings of the context are ignored.</p>
2022-05-08 19:59:26 +00:00
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">signers</td><td>private keys for signing operations </td></tr>
<tr><td class="paramname">in_buffer</td><td>data that needs to be signed </td></tr>
<tr><td class="paramname">out_buffer</td><td>verified data </td></tr>
<tr><td class="paramname">mode</td><td>signing mode </td></tr>
<tr><td class="paramname">result</td><td>the result of the operation </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>error code </dd></dl>
<p class="reference">References <a class="el" href="namespaceGpgFrontend.html#a864178db4c07b932c2ae6e7a20fe87bf">GpgFrontend::CheckGpgError()</a>, <a class="el" href="classGpgFrontend_1_1GpgBasicOperator.html#afad990a43ab06a060a93db9948ebb740">ctx_</a>, <a class="el" href="classGpgFrontend_1_1GpgData.html#a7e59c37c350caa54424ec8a4e2a2e7a2">GpgFrontend::GpgData::Read2GFBuffer()</a>, <a class="el" href="namespaceGpgFrontend.html#abeb3c754e9529570abe5fef6a97f3c22">GpgFrontend::RunGpgOperaAsync()</a>, and <a class="el" href="classGpgFrontend_1_1GpgBasicOperator.html#aba9f6442dadcba29994d6680a4a0a8d6">SetSigners()</a>.</p>
2022-05-08 19:59:26 +00:00
</div>
</div>
<a id="aec37726d1386dcca7a75e1f2706bad77"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aec37726d1386dcca7a75e1f2706bad77">&#9670;&nbsp;</a></span>SignSync()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">auto GpgFrontend::GpgBasicOperator::SignSync </td>
<td>(</td>
<td class="paramtype">const KeyArgsList &amp;&#160;</td>
<td class="paramname"><em>signers</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classGpgFrontend_1_1GFBuffer.html">GFBuffer</a> &amp;&#160;</td>
<td class="paramname"><em>in_buffer</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">GpgSignMode&#160;</td>
<td class="paramname"><em>mode</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>ascii</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> -&gt; std::tuple&lt;<a class="el" href="namespaceGpgFrontend.html#a2470eb154743191c3454203f23d3a2f8">GpgError</a>, DataObjectPtr&gt;</td>
</tr>
</table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">signers</td><td></td></tr>
<tr><td class="paramname">in_buffer</td><td></td></tr>
<tr><td class="paramname">mode</td><td></td></tr>
<tr><td class="paramname">ascii</td><td></td></tr>
<tr><td class="paramname">cb</td><td></td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>std::tuple&lt;GpgError, DataObjectPtr&gt; </dd></dl>
<p class="reference">References <a class="el" href="namespaceGpgFrontend.html#a864178db4c07b932c2ae6e7a20fe87bf">GpgFrontend::CheckGpgError()</a>, <a class="el" href="classGpgFrontend_1_1GpgData.html#a7e59c37c350caa54424ec8a4e2a2e7a2">GpgFrontend::GpgData::Read2GFBuffer()</a>, and <a class="el" href="namespaceGpgFrontend.html#a4c2a4a157e45e169682a99d7f5130dc0">GpgFrontend::RunGpgOperaSync()</a>.</p>
2022-05-08 19:59:26 +00:00
</div>
</div>
<a id="ae9a2f9923061efae82fe012ebc7a56ab"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae9a2f9923061efae82fe012ebc7a56ab">&#9670;&nbsp;</a></span>Verify()</h2>
2022-05-08 19:59:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void GpgFrontend::GpgBasicOperator::Verify </td>
2022-05-08 19:59:26 +00:00
<td>(</td>
<td class="paramtype">const <a class="el" href="classGpgFrontend_1_1GFBuffer.html">GFBuffer</a> &amp;&#160;</td>
2022-05-08 19:59:26 +00:00
<td class="paramname"><em>in_buffer</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classGpgFrontend_1_1GFBuffer.html">GFBuffer</a> &amp;&#160;</td>
2022-05-08 19:59:26 +00:00
<td class="paramname"><em>sig_buffer</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const GpgOperationCallback &amp;&#160;</td>
<td class="paramname"><em>cb</em>&#160;</td>
2022-05-08 19:59:26 +00:00
</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>Call the interface provided by gpgme for verification operation. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">in_buffer</td><td>data that needs to be verified </td></tr>
<tr><td class="paramname">out_buffer</td><td>verified data </td></tr>
<tr><td class="paramname">result</td><td>the result of the operation </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>error code </dd></dl>
<p class="reference">References <a class="el" href="namespaceGpgFrontend.html#a864178db4c07b932c2ae6e7a20fe87bf">GpgFrontend::CheckGpgError()</a>, <a class="el" href="classGpgFrontend_1_1GpgBasicOperator.html#afad990a43ab06a060a93db9948ebb740">ctx_</a>, and <a class="el" href="namespaceGpgFrontend.html#abeb3c754e9529570abe5fef6a97f3c22">GpgFrontend::RunGpgOperaAsync()</a>.</p>
</div>
</div>
<a id="a3507dec7f2528c8627d3289cfb638a7a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3507dec7f2528c8627d3289cfb638a7a">&#9670;&nbsp;</a></span>VerifySync()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">auto GpgFrontend::GpgBasicOperator::VerifySync </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classGpgFrontend_1_1GFBuffer.html">GFBuffer</a> &amp;&#160;</td>
<td class="paramname"><em>in_buffer</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classGpgFrontend_1_1GFBuffer.html">GFBuffer</a> &amp;&#160;</td>
<td class="paramname"><em>sig_buffer</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> -&gt; std::tuple&lt;<a class="el" href="namespaceGpgFrontend.html#a2470eb154743191c3454203f23d3a2f8">GpgError</a>, DataObjectPtr&gt;</td>
</tr>
</table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">in_buffer</td><td></td></tr>
<tr><td class="paramname">sig_buffer</td><td></td></tr>
<tr><td class="paramname">cb</td><td></td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>std::tuple&lt;GpgError, DataObjectPtr&gt; </dd></dl>
2022-05-08 19:59:26 +00:00
<p class="reference">References <a class="el" href="namespaceGpgFrontend.html#a864178db4c07b932c2ae6e7a20fe87bf">GpgFrontend::CheckGpgError()</a>, and <a class="el" href="namespaceGpgFrontend.html#a4c2a4a157e45e169682a99d7f5130dc0">GpgFrontend::RunGpgOperaSync()</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="afad990a43ab06a060a93db9948ebb740"></a>
2022-05-08 19:59:26 +00:00
<h2 class="memtitle"><span class="permalink"><a href="#afad990a43ab06a060a93db9948ebb740">&#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::GpgBasicOperator::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">= <a class="code" href="classGpgFrontend_1_1SingletonFunctionObject.html#ac963fee992753970bfb5c81608d4070f">GpgContext::GetInstance</a>(</div>
<div class="line"> <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:139</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:79</div></div>
2022-05-08 19:59:26 +00:00
</div><!-- fragment -->
<p>Corresponding context. </p>
<p class="reference">Referenced by <a class="el" href="classGpgFrontend_1_1GpgBasicOperator.html#a508bdf67776fe4e393956d935784f9a4">Decrypt()</a>, <a class="el" href="classGpgFrontend_1_1GpgBasicOperator.html#a84a66a7a31269ba152c1329083540efc">DecryptVerify()</a>, <a class="el" href="classGpgFrontend_1_1GpgBasicOperator.html#a846cc480299eacc843cfb04a74f881ba">EncryptSign()</a>, <a class="el" href="classGpgFrontend_1_1GpgBasicOperator.html#af95c6ea9e4a0aaccb17029557b63158a">EncryptSymmetric()</a>, <a class="el" href="classGpgFrontend_1_1GpgBasicOperator.html#aba9f6442dadcba29994d6680a4a0a8d6">SetSigners()</a>, <a class="el" href="classGpgFrontend_1_1GpgBasicOperator.html#a8c52574f86bd8452a578143e08c7254b">Sign()</a>, and <a class="el" href="classGpgFrontend_1_1GpgBasicOperator.html#ae9a2f9923061efae82fe012ebc7a56ab">Verify()</a>.</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="GpgBasicOperator_8h_source.html">GpgBasicOperator.h</a></li>
<li>src/core/function/gpg/GpgBasicOperator.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_1GpgBasicOperator.html">GpgBasicOperator</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>