GpgFrontend-Doxygen/docs/html/classGpgFrontend_1_1GpgFileOpera.html

710 lines
47 KiB
HTML
Raw Normal View History

2022-05-08 19:59:26 +00:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
2022-05-08 22:01:23 +00:00
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
2022-05-08 19:59:26 +00:00
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>GpgFrontend Project: GpgFrontend::GpgFileOpera Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
2022-05-08 22:01:23 +00:00
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
2022-05-08 19:59:26 +00:00
<div id="projectname">GpgFrontend Project
</div>
<div id="projectbrief">A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
2022-05-08 22:01:23 +00:00
<!-- Generated by Doxygen 1.8.17 -->
2022-05-08 19:59:26 +00:00
<script type="text/javascript">
2022-05-08 22:01:23 +00:00
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
2022-05-08 19:59:26 +00:00
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
2022-05-08 22:01:23 +00:00
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
2022-05-08 19:59:26 +00:00
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
2022-05-08 22:01:23 +00:00
/* @license-end */</script>
2022-05-08 19:59:26 +00:00
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
2022-05-08 22:01:23 +00:00
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
2022-05-08 19:59:26 +00:00
$(document).ready(function(){initNavTree('classGpgFrontend_1_1GpgFileOpera.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="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="classGpgFrontend_1_1GpgFileOpera-members.html">List of all members</a> </div>
2022-05-08 22:01:23 +00:00
<div class="headertitle">
<div class="title">GpgFrontend::GpgFileOpera Class Reference</div> </div>
2022-05-08 19:59:26 +00:00
</div><!--header-->
<div class="contents">
<div class="dynheader">
Inheritance diagram for GpgFrontend::GpgFileOpera:</div>
<div class="dyncontent">
2022-05-08 22:01:23 +00:00
<div class="center"><img src="classGpgFrontend_1_1GpgFileOpera__inherit__graph.png" border="0" usemap="#GpgFrontend_1_1GpgFileOpera_inherit__map" alt="Inheritance graph"/></div>
<map name="GpgFrontend_1_1GpgFileOpera_inherit__map" id="GpgFrontend_1_1GpgFileOpera_inherit__map">
<area shape="rect" title=" " alt="" coords="19,859,221,1039"/>
<area shape="rect" href="classGpgFrontend_1_1SingletonFunctionObject.html" title=" " alt="" coords="5,439,235,809"/>
<area shape="rect" href="classGpgFrontend_1_1SingletonFunctionObject.html" title=" " alt="" coords="5,5,235,376"/>
</map>
2022-05-08 19:59:26 +00:00
</div>
<div class="dynheader">
Collaboration diagram for GpgFrontend::GpgFileOpera:</div>
<div class="dyncontent">
2022-05-08 22:01:23 +00:00
<div class="center"><img src="classGpgFrontend_1_1GpgFileOpera__coll__graph.png" border="0" usemap="#GpgFrontend_1_1GpgFileOpera_coll__map" alt="Collaboration graph"/></div>
<map name="GpgFrontend_1_1GpgFileOpera_coll__map" id="GpgFrontend_1_1GpgFileOpera_coll__map">
<area shape="rect" title=" " alt="" coords="5,145,207,325"/>
<area shape="rect" title=" " alt="" coords="144,410,327,502"/>
<area shape="rect" href="classGpgFrontend_1_1SingletonFunctionObject.html" title=" " alt="" coords="361,961,590,1273"/>
<area shape="rect" title=" " alt="" coords="263,689,495,781"/>
<area shape="rect" title="STL class." alt="" coords="231,197,389,274"/>
<area shape="rect" title=" " alt="" coords="323,5,361,83"/>
<area shape="rect" title="STL class." alt="" coords="413,197,548,274"/>
<area shape="rect" title="STL class." alt="" coords="561,417,704,495"/>
<area shape="rect" href="classGpgFrontend_1_1SingletonFunctionObject.html" title=" " alt="" coords="695,572,925,899"/>
<area shape="rect" title="STL class." alt="" coords="973,417,1065,495"/>
<area shape="rect" title=" " alt="" coords="729,403,881,509"/>
<area shape="rect" title=" " alt="" coords="463,5,501,83"/>
</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:aa81da3d72c4fbc57e7138bfec7731152"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1GpgFileOpera.html#aa81da3d72c4fbc57e7138bfec7731152">GpgFileOpera</a> (int channel=<a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#a50e2b3794d6553f4231eaec72d9d0a50">SingletonFunctionObject::GetDefaultChannel</a>())</td></tr>
<tr class="separator:aa81da3d72c4fbc57e7138bfec7731152"><td class="memSeparator" colspan="2">&#160;</td></tr>
<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; GpgFileOpera &gt;</a></td></tr>
<tr class="memitem:aa99440b9177f5d0c18840f08a40d64b7 inherit pub_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#aa99440b9177f5d0c18840f08a40d64b7">GetChannel</a> () const</td></tr>
<tr class="memdesc:aa99440b9177f5d0c18840f08a40d64b7 inherit pub_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the Channel object. <a href="classGpgFrontend_1_1SingletonFunctionObject.html#aa99440b9177f5d0c18840f08a40d64b7">More...</a><br /></td></tr>
<tr class="separator:aa99440b9177f5d0c18840f08a40d64b7 inherit pub_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memSeparator" colspan="2">&#160;</td></tr>
2022-05-08 22:01:23 +00:00
<tr class="memitem:aabc5fe8e5a372ac276a265286457cb9a inherit pub_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#aabc5fe8e5a372ac276a265286457cb9a">SingletonFunctionObject</a> (<a class="el" href="classGpgFrontend_1_1GpgFileOpera.html">GpgFileOpera</a> &amp;&amp;)=delete</td></tr>
<tr class="memdesc:aabc5fe8e5a372ac276a265286457cb9a inherit pub_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="mdescLeft">&#160;</td><td class="mdescRight">Construct a new Singleton Function Object object. <a href="classGpgFrontend_1_1SingletonFunctionObject.html#aabc5fe8e5a372ac276a265286457cb9a">More...</a><br /></td></tr>
2022-05-08 19:59:26 +00:00
<tr class="separator:aabc5fe8e5a372ac276a265286457cb9a inherit pub_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memSeparator" colspan="2">&#160;</td></tr>
2022-05-08 22:01:23 +00:00
<tr class="memitem:a7090636bed6f4bad5b99f28f6872c645 inherit pub_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#a7090636bed6f4bad5b99f28f6872c645">SingletonFunctionObject</a> (const <a class="el" href="classGpgFrontend_1_1GpgFileOpera.html">GpgFileOpera</a> &amp;)=delete</td></tr>
<tr class="memdesc:a7090636bed6f4bad5b99f28f6872c645 inherit pub_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="mdescLeft">&#160;</td><td class="mdescRight">Construct a new Singleton Function Object object. <a href="classGpgFrontend_1_1SingletonFunctionObject.html#a7090636bed6f4bad5b99f28f6872c645">More...</a><br /></td></tr>
2022-05-08 19:59:26 +00:00
<tr class="separator:a7090636bed6f4bad5b99f28f6872c645 inherit pub_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memSeparator" colspan="2">&#160;</td></tr>
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_1GpgFileOpera.html">GpgFileOpera</a> &amp;)=delete</td></tr>
<tr class="separator:a03ce3095a745ecbf5e6a032e7da4bc97 inherit pub_methods_classGpgFrontend_1_1SingletonFunctionObject"><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-static-methods"></a>
2022-05-08 19:59:26 +00:00
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a234d939ae0b2c3f799dd01130fad9379"><td class="memItemLeft" align="right" valign="top">static unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1GpgFileOpera.html#a234d939ae0b2c3f799dd01130fad9379">EncryptFile</a> (KeyListPtr keys, const std::string &amp;in_path, const std::string &amp;out_path, GpgEncrResult &amp;result, int _channel=GPGFRONTEND_DEFAULT_CHANNEL)</td></tr>
<tr class="memdesc:a234d939ae0b2c3f799dd01130fad9379"><td class="mdescLeft">&#160;</td><td class="mdescRight">Encrypted file. <a href="classGpgFrontend_1_1GpgFileOpera.html#a234d939ae0b2c3f799dd01130fad9379">More...</a><br /></td></tr>
<tr class="separator:a234d939ae0b2c3f799dd01130fad9379"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a826efca057afb07157453b3b9e267b0f"><td class="memItemLeft" align="right" valign="top">static unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1GpgFileOpera.html#a826efca057afb07157453b3b9e267b0f">EncryptFileSymmetric</a> (const std::string &amp;in_path, const std::string &amp;out_path, GpgEncrResult &amp;result, int _channel=GPGFRONTEND_DEFAULT_CHANNEL)</td></tr>
<tr class="memdesc:a826efca057afb07157453b3b9e267b0f"><td class="mdescLeft">&#160;</td><td class="mdescRight">运用对称加密算法加密文件 <a href="classGpgFrontend_1_1GpgFileOpera.html#a826efca057afb07157453b3b9e267b0f">More...</a><br /></td></tr>
<tr class="separator:a826efca057afb07157453b3b9e267b0f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a74eb3ba532a236d8ad284b41265b0ccd"><td class="memItemLeft" align="right" valign="top">static GpgError&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1GpgFileOpera.html#a74eb3ba532a236d8ad284b41265b0ccd">DecryptFile</a> (const std::string &amp;in_path, const std::string &amp;out_path, GpgDecrResult &amp;result)</td></tr>
<tr class="separator:a74eb3ba532a236d8ad284b41265b0ccd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a350df1c07c054625c4755a78e6ca5ca8"><td class="memItemLeft" align="right" valign="top">static GpgError&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1GpgFileOpera.html#a350df1c07c054625c4755a78e6ca5ca8">SignFile</a> (KeyListPtr keys, const std::string &amp;in_path, const std::string &amp;out_path, GpgSignResult &amp;result, int _channel=GPGFRONTEND_DEFAULT_CHANNEL)</td></tr>
<tr class="separator:a350df1c07c054625c4755a78e6ca5ca8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a14cddfe822c9410cd9c301d08963b7e7"><td class="memItemLeft" align="right" valign="top">static GpgError&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1GpgFileOpera.html#a14cddfe822c9410cd9c301d08963b7e7">VerifyFile</a> (const std::string &amp;data_path, const std::string &amp;sign_path, GpgVerifyResult &amp;result, int _channel=GPGFRONTEND_DEFAULT_CHANNEL)</td></tr>
<tr class="separator:a14cddfe822c9410cd9c301d08963b7e7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6353e1688b113e5746aced6aa7f3876e"><td class="memItemLeft" align="right" valign="top">static GpgError&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1GpgFileOpera.html#a6353e1688b113e5746aced6aa7f3876e">EncryptSignFile</a> (KeyListPtr keys, KeyListPtr signer_keys, const std::string &amp;in_path, const std::string &amp;out_path, GpgEncrResult &amp;encr_res, GpgSignResult &amp;sign_res, int _channel=GPGFRONTEND_DEFAULT_CHANNEL)</td></tr>
<tr class="separator:a6353e1688b113e5746aced6aa7f3876e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a90949b4e9e6116784260cd0e416551db"><td class="memItemLeft" align="right" valign="top">static GpgError&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1GpgFileOpera.html#a90949b4e9e6116784260cd0e416551db">DecryptVerifyFile</a> (const std::string &amp;in_path, const std::string &amp;out_path, GpgDecrResult &amp;decr_res, GpgVerifyResult &amp;verify_res)</td></tr>
<tr class="separator:a90949b4e9e6116784260cd0e416551db"><td class="memSeparator" colspan="2">&#160;</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; GpgFileOpera &gt;</a></td></tr>
2022-05-08 22:01:23 +00:00
<tr class="memitem:a70484d7cfe9f9dcbcd5f8bb749250f36 inherit pub_static_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classGpgFrontend_1_1GpgFileOpera.html">GpgFileOpera</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#a70484d7cfe9f9dcbcd5f8bb749250f36">GetInstance</a> (int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)</td></tr>
<tr class="memdesc:a70484d7cfe9f9dcbcd5f8bb749250f36 inherit pub_static_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the Instance object. <a href="classGpgFrontend_1_1SingletonFunctionObject.html#a70484d7cfe9f9dcbcd5f8bb749250f36">More...</a><br /></td></tr>
<tr class="separator:a70484d7cfe9f9dcbcd5f8bb749250f36 inherit pub_static_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a43b21fa20b4102b826e3527f7bbdf218 inherit pub_static_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classGpgFrontend_1_1GpgFileOpera.html">GpgFileOpera</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#a43b21fa20b4102b826e3527f7bbdf218">CreateInstance</a> (int channel, std::function&lt; std::unique_ptr&lt; <a class="el" href="classGpgFrontend_1_1GpgFileOpera.html">GpgFileOpera</a> &gt;(void)&gt; factory)</td></tr>
<tr class="memdesc:a43b21fa20b4102b826e3527f7bbdf218 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#a43b21fa20b4102b826e3527f7bbdf218">More...</a><br /></td></tr>
<tr class="separator:a43b21fa20b4102b826e3527f7bbdf218 inherit pub_static_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3d40217b6536ffafff8e58078d8e6b95 inherit pub_static_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classGpgFrontend_1_1GpgFileOpera.html">GpgFileOpera</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#a3d40217b6536ffafff8e58078d8e6b95">CreateInstance</a> (int channel, std::unique_ptr&lt; <a class="el" href="classGpgFrontend_1_1GpgFileOpera.html">GpgFileOpera</a> &gt; p_obj=nullptr)</td></tr>
<tr class="memdesc:a3d40217b6536ffafff8e58078d8e6b95 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#a3d40217b6536ffafff8e58078d8e6b95">More...</a><br /></td></tr>
<tr class="separator:a3d40217b6536ffafff8e58078d8e6b95 inherit pub_static_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aadb8743cd8943395f5cbb631667da363 inherit pub_static_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classGpgFrontend_1_1GpgFileOpera.html">GpgFileOpera</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#aadb8743cd8943395f5cbb631667da363">ReleaseChannel</a> (int channel)</td></tr>
<tr class="separator:aadb8743cd8943395f5cbb631667da363 inherit pub_static_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memSeparator" colspan="2">&#160;</td></tr>
2022-05-08 19:59:26 +00:00
<tr class="memitem:a50e2b3794d6553f4231eaec72d9d0a50 inherit pub_static_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#a50e2b3794d6553f4231eaec72d9d0a50">GetDefaultChannel</a> ()</td></tr>
<tr class="memdesc:a50e2b3794d6553f4231eaec72d9d0a50 inherit pub_static_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the Default Channel object. <a href="classGpgFrontend_1_1SingletonFunctionObject.html#a50e2b3794d6553f4231eaec72d9d0a50">More...</a><br /></td></tr>
<tr class="separator:a50e2b3794d6553f4231eaec72d9d0a50 inherit pub_static_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memSeparator" colspan="2">&#160;</td></tr>
</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 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; GpgFileOpera &gt;</a></td></tr>
2022-05-08 22:01:23 +00:00
<tr class="memitem:a02e76b42ab51d77588b01c7508bed258 inherit pro_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#a02e76b42ab51d77588b01c7508bed258">SingletonFunctionObject</a> ()=default</td></tr>
<tr class="memdesc:a02e76b42ab51d77588b01c7508bed258 inherit pro_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="mdescLeft">&#160;</td><td class="mdescRight">Construct a new Singleton Function Object object. <a href="classGpgFrontend_1_1SingletonFunctionObject.html#a02e76b42ab51d77588b01c7508bed258">More...</a><br /></td></tr>
2022-05-08 19:59:26 +00:00
<tr class="separator:a02e76b42ab51d77588b01c7508bed258 inherit pro_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4aa7f1eb1d3281bb1fccfcbb1b416251 inherit pro_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#a4aa7f1eb1d3281bb1fccfcbb1b416251">SingletonFunctionObject</a> (int channel)</td></tr>
<tr class="memdesc:a4aa7f1eb1d3281bb1fccfcbb1b416251 inherit pro_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="mdescLeft">&#160;</td><td class="mdescRight">Construct a new Singleton Function Object object. <a href="classGpgFrontend_1_1SingletonFunctionObject.html#a4aa7f1eb1d3281bb1fccfcbb1b416251">More...</a><br /></td></tr>
<tr class="separator:a4aa7f1eb1d3281bb1fccfcbb1b416251 inherit pro_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memSeparator" colspan="2">&#160;</td></tr>
2022-05-08 22:01:23 +00:00
<tr class="memitem:a8296be8c449f88175285186831b995bc inherit pro_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#a8296be8c449f88175285186831b995bc">~SingletonFunctionObject</a> ()=default</td></tr>
<tr class="memdesc:a8296be8c449f88175285186831b995bc inherit pro_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destroy the Singleton Function Object object. <a href="classGpgFrontend_1_1SingletonFunctionObject.html#a8296be8c449f88175285186831b995bc">More...</a><br /></td></tr>
2022-05-08 19:59:26 +00:00
<tr class="separator:a8296be8c449f88175285186831b995bc inherit pro_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a56ba12077251893e48f5ec360e8c7040 inherit pro_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#a56ba12077251893e48f5ec360e8c7040">SetChannel</a> (int channel)</td></tr>
<tr class="memdesc:a56ba12077251893e48f5ec360e8c7040 inherit pro_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the Channel object. <a href="classGpgFrontend_1_1SingletonFunctionObject.html#a56ba12077251893e48f5ec360e8c7040">More...</a><br /></td></tr>
<tr class="separator:a56ba12077251893e48f5ec360e8c7040 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="aa81da3d72c4fbc57e7138bfec7731152"></a>
2022-05-08 19:59:26 +00:00
<h2 class="memtitle"><span class="permalink"><a href="#aa81da3d72c4fbc57e7138bfec7731152">&#9670;&nbsp;</a></span>GpgFileOpera()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">GpgFrontend::GpgFileOpera::GpgFileOpera </td>
<td>(</td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>channel</em> = <code><a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#a50e2b3794d6553f4231eaec72d9d0a50">SingletonFunctionObject::GetDefaultChannel</a>()</code></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
2022-05-08 22:01:23 +00:00
<p>Copyright (C) 2021 Saturneric</p>
<p>This file is part of <a class="el" href="namespaceGpgFrontend.html">GpgFrontend</a>.</p>
<p><a class="el" href="namespaceGpgFrontend.html">GpgFrontend</a> is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.</p>
<p><a class="el" href="namespaceGpgFrontend.html">GpgFrontend</a> is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.</p>
<p>You should have received a copy of the GNU General Public License along with <a class="el" href="namespaceGpgFrontend.html">GpgFrontend</a>. If not, see <a href="https://www.gnu.org/licenses/">https://www.gnu.org/licenses/</a>.</p>
<p>The initial version of the source code is inherited from the gpg4usb project, which is under GPL-3.0-or-later.</p>
<p>All the source code of <a class="el" href="namespaceGpgFrontend.html">GpgFrontend</a> was modified and released by Saturneric<a href="#" onclick="location.href='mai'+'lto:'+'eri'+'c@'+'bkt'+'us'+'.co'+'m'; return false;">eric@<span style="display: none;">.nosp@m.</span>bktu<span style="display: none;">.nosp@m.</span>s.com</a> starting on May 12, 2021.</p>
<p>SPDX-License-Identifier: GPL-3.0-or-later </p>
2022-05-08 19:59:26 +00:00
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
2022-05-08 22:01:23 +00:00
<a id="a74eb3ba532a236d8ad284b41265b0ccd"></a>
2022-05-08 19:59:26 +00:00
<h2 class="memtitle"><span class="permalink"><a href="#a74eb3ba532a236d8ad284b41265b0ccd">&#9670;&nbsp;</a></span>DecryptFile()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">GpgFrontend::GpgError GpgFrontend::GpgFileOpera::DecryptFile </td>
<td>(</td>
<td class="paramtype">const std::string &amp;&#160;</td>
<td class="paramname"><em>in_path</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const std::string &amp;&#160;</td>
<td class="paramname"><em>out_path</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">GpgDecrResult &amp;&#160;</td>
<td class="paramname"><em>result</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">in_path</td><td></td></tr>
<tr><td class="paramname">out_path</td><td></td></tr>
<tr><td class="paramname">result</td><td></td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>GpgError </dd></dl>
2022-05-08 22:01:23 +00:00
<p class="reference">References <a class="el" href="namespaceGpgFrontend.html#a4edac6df92596ba8eea3a8cdc1173684">GpgFrontend::check_gpg_error_2_err_code()</a>, <a class="el" href="classGpgFrontend_1_1GpgBasicOperator.html#a9ea9e81194917e08f46eb657281b7953">GpgFrontend::GpgBasicOperator::Decrypt()</a>, <a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#a70484d7cfe9f9dcbcd5f8bb749250f36">GpgFrontend::SingletonFunctionObject&lt; GpgBasicOperator &gt;::GetInstance()</a>, <a class="el" href="classGpgFrontend_1_1FileOperator.html#ad4424bce4f22ae75a16c542dfb4ddf0a">GpgFrontend::FileOperator::ReadFileStd()</a>, and <a class="el" href="classGpgFrontend_1_1FileOperator.html#a51121c94dc32a83d7073fbe7138b603b">GpgFrontend::FileOperator::WriteFileStd()</a>.</p>
2022-05-08 19:59:26 +00:00
<p class="reference">Referenced by <a class="el" href="classGpgFrontend_1_1UI_1_1MainWindow.html#a0a6d0618f2835a6dcae707a4ca770a48">GpgFrontend::UI::MainWindow::SlotFileDecrypt()</a>.</p>
</div>
</div>
2022-05-08 22:01:23 +00:00
<a id="a90949b4e9e6116784260cd0e416551db"></a>
2022-05-08 19:59:26 +00:00
<h2 class="memtitle"><span class="permalink"><a href="#a90949b4e9e6116784260cd0e416551db">&#9670;&nbsp;</a></span>DecryptVerifyFile()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">gpg_error_t GpgFrontend::GpgFileOpera::DecryptVerifyFile </td>
<td>(</td>
<td class="paramtype">const std::string &amp;&#160;</td>
<td class="paramname"><em>in_path</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const std::string &amp;&#160;</td>
<td class="paramname"><em>out_path</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">GpgDecrResult &amp;&#160;</td>
<td class="paramname"><em>decr_res</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">GpgVerifyResult &amp;&#160;</td>
<td class="paramname"><em>verify_res</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">in_path</td><td></td></tr>
<tr><td class="paramname">out_path</td><td></td></tr>
<tr><td class="paramname">decr_res</td><td></td></tr>
<tr><td class="paramname">verify_res</td><td></td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>GpgError </dd></dl>
2022-05-08 22:01:23 +00:00
<p class="reference">References <a class="el" href="namespaceGpgFrontend.html#a4edac6df92596ba8eea3a8cdc1173684">GpgFrontend::check_gpg_error_2_err_code()</a>, <a class="el" href="classGpgFrontend_1_1GpgBasicOperator.html#a11845a9a3ea2941e14faa9130f0ac9ef">GpgFrontend::GpgBasicOperator::DecryptVerify()</a>, <a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#a70484d7cfe9f9dcbcd5f8bb749250f36">GpgFrontend::SingletonFunctionObject&lt; GpgBasicOperator &gt;::GetInstance()</a>, <a class="el" href="classGpgFrontend_1_1FileOperator.html#ad4424bce4f22ae75a16c542dfb4ddf0a">GpgFrontend::FileOperator::ReadFileStd()</a>, and <a class="el" href="classGpgFrontend_1_1FileOperator.html#a51121c94dc32a83d7073fbe7138b603b">GpgFrontend::FileOperator::WriteFileStd()</a>.</p>
2022-05-08 19:59:26 +00:00
<p class="reference">Referenced by <a class="el" href="classGpgFrontend_1_1UI_1_1MainWindow.html#ab23c7e67dd1f5295b3c49ad79dfd5919">GpgFrontend::UI::MainWindow::SlotFileDecryptVerify()</a>.</p>
</div>
</div>
2022-05-08 22:01:23 +00:00
<a id="a234d939ae0b2c3f799dd01130fad9379"></a>
2022-05-08 19:59:26 +00:00
<h2 class="memtitle"><span class="permalink"><a href="#a234d939ae0b2c3f799dd01130fad9379">&#9670;&nbsp;</a></span>EncryptFile()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">GpgFrontend::GpgError GpgFrontend::GpgFileOpera::EncryptFile </td>
<td>(</td>
<td class="paramtype">KeyListPtr&#160;</td>
<td class="paramname"><em>keys</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const std::string &amp;&#160;</td>
<td class="paramname"><em>in_path</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const std::string &amp;&#160;</td>
<td class="paramname"><em>out_path</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">GpgEncrResult &amp;&#160;</td>
<td class="paramname"><em>result</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>_channel</em> = <code>GPGFRONTEND_DEFAULT_CHANNEL</code>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Encrypted file. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">keys</td><td>Used public key </td></tr>
<tr><td class="paramname">in_path</td><td>The path where the enter file is located </td></tr>
<tr><td class="paramname">out_path</td><td>The path where the output file is located </td></tr>
<tr><td class="paramname">result</td><td>Encrypted results </td></tr>
<tr><td class="paramname">_channel</td><td>Channel in context </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>unsigned int error code </dd></dl>
2022-05-08 22:01:23 +00:00
<p class="reference">References <a class="el" href="namespaceGpgFrontend.html#a4edac6df92596ba8eea3a8cdc1173684">GpgFrontend::check_gpg_error_2_err_code()</a>, <a class="el" href="classGpgFrontend_1_1GpgBasicOperator.html#a32e1eac6bb0f322588ae75ae36a9884a">GpgFrontend::GpgBasicOperator::Encrypt()</a>, <a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#a70484d7cfe9f9dcbcd5f8bb749250f36">GpgFrontend::SingletonFunctionObject&lt; GpgBasicOperator &gt;::GetInstance()</a>, <a class="el" href="classGpgFrontend_1_1FileOperator.html#ad4424bce4f22ae75a16c542dfb4ddf0a">GpgFrontend::FileOperator::ReadFileStd()</a>, and <a class="el" href="classGpgFrontend_1_1FileOperator.html#a51121c94dc32a83d7073fbe7138b603b">GpgFrontend::FileOperator::WriteFileStd()</a>.</p>
2022-05-08 19:59:26 +00:00
<p class="reference">Referenced by <a class="el" href="classGpgFrontend_1_1UI_1_1MainWindow.html#a9ec699536a35a37961a8c6da1e231ae3">GpgFrontend::UI::MainWindow::SlotFileEncrypt()</a>.</p>
</div>
</div>
2022-05-08 22:01:23 +00:00
<a id="a826efca057afb07157453b3b9e267b0f"></a>
2022-05-08 19:59:26 +00:00
<h2 class="memtitle"><span class="permalink"><a href="#a826efca057afb07157453b3b9e267b0f">&#9670;&nbsp;</a></span>EncryptFileSymmetric()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">unsigned int GpgFrontend::GpgFileOpera::EncryptFileSymmetric </td>
<td>(</td>
<td class="paramtype">const std::string &amp;&#160;</td>
<td class="paramname"><em>in_path</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const std::string &amp;&#160;</td>
<td class="paramname"><em>out_path</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">GpgFrontend::GpgEncrResult &amp;&#160;</td>
<td class="paramname"><em>result</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>_channel</em> = <code>GPGFRONTEND_DEFAULT_CHANNEL</code>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>运用对称加密算法加密文件 </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">in_path</td><td></td></tr>
<tr><td class="paramname">out_path</td><td></td></tr>
<tr><td class="paramname">result</td><td></td></tr>
<tr><td class="paramname">_channel</td><td></td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>unsigned int </dd></dl>
2022-05-08 22:01:23 +00:00
<p class="reference">References <a class="el" href="namespaceGpgFrontend.html#a4edac6df92596ba8eea3a8cdc1173684">GpgFrontend::check_gpg_error_2_err_code()</a>, <a class="el" href="classGpgFrontend_1_1GpgBasicOperator.html#a8f4ef57e941a066ad9d070eee51e2073">GpgFrontend::GpgBasicOperator::EncryptSymmetric()</a>, <a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#a70484d7cfe9f9dcbcd5f8bb749250f36">GpgFrontend::SingletonFunctionObject&lt; GpgBasicOperator &gt;::GetInstance()</a>, <a class="el" href="classGpgFrontend_1_1FileOperator.html#ad4424bce4f22ae75a16c542dfb4ddf0a">GpgFrontend::FileOperator::ReadFileStd()</a>, and <a class="el" href="classGpgFrontend_1_1FileOperator.html#a51121c94dc32a83d7073fbe7138b603b">GpgFrontend::FileOperator::WriteFileStd()</a>.</p>
2022-05-08 19:59:26 +00:00
<p class="reference">Referenced by <a class="el" href="classGpgFrontend_1_1UI_1_1MainWindow.html#a9ec699536a35a37961a8c6da1e231ae3">GpgFrontend::UI::MainWindow::SlotFileEncrypt()</a>.</p>
</div>
</div>
2022-05-08 22:01:23 +00:00
<a id="a6353e1688b113e5746aced6aa7f3876e"></a>
2022-05-08 19:59:26 +00:00
<h2 class="memtitle"><span class="permalink"><a href="#a6353e1688b113e5746aced6aa7f3876e">&#9670;&nbsp;</a></span>EncryptSignFile()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">gpg_error_t GpgFrontend::GpgFileOpera::EncryptSignFile </td>
<td>(</td>
<td class="paramtype">KeyListPtr&#160;</td>
<td class="paramname"><em>keys</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">KeyListPtr&#160;</td>
<td class="paramname"><em>signer_keys</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const std::string &amp;&#160;</td>
<td class="paramname"><em>in_path</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const std::string &amp;&#160;</td>
<td class="paramname"><em>out_path</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">GpgEncrResult &amp;&#160;</td>
<td class="paramname"><em>encr_res</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">GpgSignResult &amp;&#160;</td>
<td class="paramname"><em>sign_res</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>_channel</em> = <code>GPGFRONTEND_DEFAULT_CHANNEL</code>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</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">signer_keys</td><td></td></tr>
<tr><td class="paramname">in_path</td><td></td></tr>
<tr><td class="paramname">out_path</td><td></td></tr>
<tr><td class="paramname">encr_res</td><td></td></tr>
<tr><td class="paramname">sign_res</td><td></td></tr>
<tr><td class="paramname">_channel</td><td></td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>GpgError </dd></dl>
2022-05-08 22:01:23 +00:00
<p class="reference">References <a class="el" href="namespaceGpgFrontend.html#a4edac6df92596ba8eea3a8cdc1173684">GpgFrontend::check_gpg_error_2_err_code()</a>, <a class="el" href="classGpgFrontend_1_1GpgBasicOperator.html#a08906cf2bc2ddad8489438610f388f8a">GpgFrontend::GpgBasicOperator::EncryptSign()</a>, <a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#a70484d7cfe9f9dcbcd5f8bb749250f36">GpgFrontend::SingletonFunctionObject&lt; GpgBasicOperator &gt;::GetInstance()</a>, <a class="el" href="classGpgFrontend_1_1FileOperator.html#ad4424bce4f22ae75a16c542dfb4ddf0a">GpgFrontend::FileOperator::ReadFileStd()</a>, and <a class="el" href="classGpgFrontend_1_1FileOperator.html#a51121c94dc32a83d7073fbe7138b603b">GpgFrontend::FileOperator::WriteFileStd()</a>.</p>
2022-05-08 19:59:26 +00:00
<p class="reference">Referenced by <a class="el" href="classGpgFrontend_1_1UI_1_1MainWindow.html#a25a2e4017d77cffc8362bde9606fad30">GpgFrontend::UI::MainWindow::SlotFileEncryptSign()</a>.</p>
</div>
</div>
2022-05-08 22:01:23 +00:00
<a id="a350df1c07c054625c4755a78e6ca5ca8"></a>
2022-05-08 19:59:26 +00:00
<h2 class="memtitle"><span class="permalink"><a href="#a350df1c07c054625c4755a78e6ca5ca8">&#9670;&nbsp;</a></span>SignFile()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">gpgme_error_t GpgFrontend::GpgFileOpera::SignFile </td>
<td>(</td>
<td class="paramtype">KeyListPtr&#160;</td>
<td class="paramname"><em>keys</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const std::string &amp;&#160;</td>
<td class="paramname"><em>in_path</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const std::string &amp;&#160;</td>
<td class="paramname"><em>out_path</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">GpgSignResult &amp;&#160;</td>
<td class="paramname"><em>result</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>_channel</em> = <code>GPGFRONTEND_DEFAULT_CHANNEL</code>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</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">in_path</td><td></td></tr>
<tr><td class="paramname">out_path</td><td></td></tr>
<tr><td class="paramname">result</td><td></td></tr>
<tr><td class="paramname">_channel</td><td></td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>GpgError </dd></dl>
2022-05-08 22:01:23 +00:00
<p class="reference">References <a class="el" href="namespaceGpgFrontend.html#a4edac6df92596ba8eea3a8cdc1173684">GpgFrontend::check_gpg_error_2_err_code()</a>, <a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#a70484d7cfe9f9dcbcd5f8bb749250f36">GpgFrontend::SingletonFunctionObject&lt; GpgBasicOperator &gt;::GetInstance()</a>, <a class="el" href="classGpgFrontend_1_1FileOperator.html#ad4424bce4f22ae75a16c542dfb4ddf0a">GpgFrontend::FileOperator::ReadFileStd()</a>, <a class="el" href="classGpgFrontend_1_1GpgBasicOperator.html#a988d7e65e85fc7a578f26300332a65d3">GpgFrontend::GpgBasicOperator::Sign()</a>, and <a class="el" href="classGpgFrontend_1_1FileOperator.html#a51121c94dc32a83d7073fbe7138b603b">GpgFrontend::FileOperator::WriteFileStd()</a>.</p>
2022-05-08 19:59:26 +00:00
<p class="reference">Referenced by <a class="el" href="classGpgFrontend_1_1UI_1_1MainWindow.html#a8bcdcbe678b8dc0837fffda2ebfe79bf">GpgFrontend::UI::MainWindow::SlotFileSign()</a>.</p>
</div>
</div>
2022-05-08 22:01:23 +00:00
<a id="a14cddfe822c9410cd9c301d08963b7e7"></a>
2022-05-08 19:59:26 +00:00
<h2 class="memtitle"><span class="permalink"><a href="#a14cddfe822c9410cd9c301d08963b7e7">&#9670;&nbsp;</a></span>VerifyFile()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">gpgme_error_t GpgFrontend::GpgFileOpera::VerifyFile </td>
<td>(</td>
<td class="paramtype">const std::string &amp;&#160;</td>
<td class="paramname"><em>data_path</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const std::string &amp;&#160;</td>
<td class="paramname"><em>sign_path</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">GpgVerifyResult &amp;&#160;</td>
<td class="paramname"><em>result</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>_channel</em> = <code>GPGFRONTEND_DEFAULT_CHANNEL</code>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">data_path</td><td></td></tr>
<tr><td class="paramname">sign_path</td><td></td></tr>
<tr><td class="paramname">result</td><td></td></tr>
<tr><td class="paramname">_channel</td><td></td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>GpgError </dd></dl>
2022-05-08 22:01:23 +00:00
<p class="reference">References <a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#a70484d7cfe9f9dcbcd5f8bb749250f36">GpgFrontend::SingletonFunctionObject&lt; GpgBasicOperator &gt;::GetInstance()</a>, <a class="el" href="classGpgFrontend_1_1FileOperator.html#ad4424bce4f22ae75a16c542dfb4ddf0a">GpgFrontend::FileOperator::ReadFileStd()</a>, and <a class="el" href="classGpgFrontend_1_1GpgBasicOperator.html#af0347cb28ff73b2250395ceaa9001509">GpgFrontend::GpgBasicOperator::Verify()</a>.</p>
2022-05-08 19:59:26 +00:00
<p class="reference">Referenced by <a class="el" href="classGpgFrontend_1_1UI_1_1MainWindow.html#a9879061cfd321c6757c77f75d46dc7d8">GpgFrontend::UI::MainWindow::SlotFileVerify()</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>src/core/function/gpg/<a class="el" href="GpgFileOpera_8h_source.html">GpgFileOpera.h</a></li>
<li>src/core/function/gpg/GpgFileOpera.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_1GpgFileOpera.html">GpgFileOpera</a></li>
2022-05-08 22:01:23 +00:00
<li class="footer">Generated by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.17 </li>
2022-05-08 19:59:26 +00:00
</ul>
</div>
</body>
</html>