GpgFrontend-Doxygen/docs/html/GpgFileOpera_8h_source.html

180 lines
24 KiB
HTML
Raw Normal View History

2022-05-08 19:59:26 +00:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
2022-05-08 22:01:23 +00:00
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
2022-05-08 19:59:26 +00:00
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>GpgFrontend Project: src/core/function/gpg/GpgFileOpera.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
2022-05-08 22:01:23 +00:00
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
2022-05-08 19:59:26 +00:00
<div id="projectname">GpgFrontend Project
</div>
<div id="projectbrief">A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
2022-05-08 22:01:23 +00:00
<!-- Generated by Doxygen 1.8.17 -->
2022-05-08 19:59:26 +00:00
<script type="text/javascript">
2022-05-08 22:01:23 +00:00
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
2022-05-08 19:59:26 +00:00
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
2022-05-08 22:01:23 +00:00
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
2022-05-08 19:59:26 +00:00
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
2022-05-08 22:01:23 +00:00
/* @license-end */</script>
2022-05-08 19:59:26 +00:00
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
2022-05-08 22:01:23 +00:00
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
2022-05-08 19:59:26 +00:00
$(document).ready(function(){initNavTree('GpgFileOpera_8h_source.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div class="header">
2022-05-08 22:01:23 +00:00
<div class="headertitle">
<div class="title">GpgFileOpera.h</div> </div>
2022-05-08 19:59:26 +00:00
</div><!--header-->
<div class="contents">
2022-05-08 22:01:23 +00:00
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160; </div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;<span class="preprocessor">#ifndef GPGFRONTEND_GPGFILEOPERA_H</span></div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;<span class="preprocessor">#define GPGFRONTEND_GPGFILEOPERA_H</span></div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160; </div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;<span class="preprocessor">#include &quot;core/GpgConstants.h&quot;</span></div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160;<span class="preprocessor">#include &quot;core/GpgContext.h&quot;</span></div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160;<span class="preprocessor">#include &quot;core/GpgModel.h&quot;</span></div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160; </div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceGpgFrontend.html">GpgFrontend</a> {</div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160; </div>
<div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1GpgFileOpera.html"> 43</a></span>&#160;<span class="keyword">class </span>GPGFRONTEND_CORE_EXPORT <a class="code" href="classGpgFrontend_1_1GpgFileOpera.html">GpgFileOpera</a></div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160; : <span class="keyword">public</span> <a class="code" href="classGpgFrontend_1_1SingletonFunctionObject.html">SingletonFunctionObject</a>&lt;GpgFileOpera&gt; {</div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160; <span class="keyword">public</span>:</div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160; </div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160; <span class="keyword">explicit</span> <a class="code" href="classGpgFrontend_1_1GpgFileOpera.html">GpgFileOpera</a>(</div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160; <span class="keywordtype">int</span> channel = <a class="code" href="classGpgFrontend_1_1SingletonFunctionObject.html#a50e2b3794d6553f4231eaec72d9d0a50">SingletonFunctionObject::GetDefaultChannel</a>());</div>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160; </div>
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160; <span class="keyword">static</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> EncryptFile(KeyListPtr keys, <span class="keyword">const</span> std::string&amp; in_path,</div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160; <span class="keyword">const</span> std::string&amp; out_path,</div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160; GpgEncrResult&amp; result,</div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160; <span class="keywordtype">int</span> _channel = GPGFRONTEND_DEFAULT_CHANNEL);</div>
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160; </div>
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160; <span class="keyword">static</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> EncryptFileSymmetric(</div>
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160; <span class="keyword">const</span> std::string&amp; in_path, <span class="keyword">const</span> std::string&amp; out_path,</div>
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160; GpgEncrResult&amp; result, <span class="keywordtype">int</span> _channel = GPGFRONTEND_DEFAULT_CHANNEL);</div>
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160; </div>
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>&#160; <span class="keyword">static</span> GpgError DecryptFile(<span class="keyword">const</span> std::string&amp; in_path,</div>
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160; <span class="keyword">const</span> std::string&amp; out_path,</div>
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>&#160; GpgDecrResult&amp; result);</div>
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>&#160; </div>
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>&#160; <span class="keyword">static</span> GpgError SignFile(KeyListPtr keys, <span class="keyword">const</span> std::string&amp; in_path,</div>
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>&#160; <span class="keyword">const</span> std::string&amp; out_path, GpgSignResult&amp; result,</div>
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>&#160; <span class="keywordtype">int</span> _channel = GPGFRONTEND_DEFAULT_CHANNEL);</div>
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>&#160; </div>
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>&#160; <span class="keyword">static</span> GpgError VerifyFile(<span class="keyword">const</span> std::string&amp; data_path,</div>
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>&#160; <span class="keyword">const</span> std::string&amp; sign_path,</div>
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>&#160; GpgVerifyResult&amp; result,</div>
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>&#160; <span class="keywordtype">int</span> _channel = GPGFRONTEND_DEFAULT_CHANNEL);</div>
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>&#160; </div>
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span>&#160; <span class="keyword">static</span> GpgError EncryptSignFile(KeyListPtr keys, KeyListPtr signer_keys,</div>
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>&#160; <span class="keyword">const</span> std::string&amp; in_path,</div>
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>&#160; <span class="keyword">const</span> std::string&amp; out_path,</div>
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span>&#160; GpgEncrResult&amp; encr_res,</div>
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span>&#160; GpgSignResult&amp; sign_res,</div>
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span>&#160; <span class="keywordtype">int</span> _channel = GPGFRONTEND_DEFAULT_CHANNEL);</div>
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span>&#160; </div>
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span>&#160; <span class="keyword">static</span> GpgError DecryptVerifyFile(<span class="keyword">const</span> std::string&amp; in_path,</div>
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>&#160; <span class="keyword">const</span> std::string&amp; out_path,</div>
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span>&#160; GpgDecrResult&amp; decr_res,</div>
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span>&#160; GpgVerifyResult&amp; verify_res);</div>
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span>&#160;};</div>
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span>&#160; </div>
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span>&#160;} <span class="comment">// namespace GpgFrontend</span></div>
<div class="line"><a name="l00153"></a><span class="lineno"> 153</span>&#160; </div>
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span>&#160;<span class="preprocessor">#endif // GPGFRONTEND_GPGFILEOPERA_H</span></div>
2022-05-08 19:59:26 +00:00
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
2022-05-08 22:01:23 +00:00
<div class="ttc" id="aclassGpgFrontend_1_1GpgFileOpera_html_a350df1c07c054625c4755a78e6ca5ca8"><div class="ttname"><a href="classGpgFrontend_1_1GpgFileOpera.html#a350df1c07c054625c4755a78e6ca5ca8">GpgFrontend::GpgFileOpera::SignFile</a></div><div class="ttdeci">static GpgError SignFile(KeyListPtr keys, const std::string &amp;in_path, const std::string &amp;out_path, GpgSignResult &amp;result, int _channel=GPGFRONTEND_DEFAULT_CHANNEL)</div><div class="ttdef"><b>Definition:</b> GpgFileOpera.cpp:103</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1SingletonFunctionObject_html"><div class="ttname"><a href="classGpgFrontend_1_1SingletonFunctionObject.html">GpgFrontend::SingletonFunctionObject</a></div><div class="ttdef"><b>Definition:</b> GpgFunctionObject.h:159</div></div>
2022-05-08 22:01:23 +00:00
<div class="ttc" id="aclassGpgFrontend_1_1FileOperator_html_a51121c94dc32a83d7073fbe7138b603b"><div class="ttname"><a href="classGpgFrontend_1_1FileOperator.html#a51121c94dc32a83d7073fbe7138b603b">GpgFrontend::FileOperator::WriteFileStd</a></div><div class="ttdeci">static bool WriteFileStd(const std::filesystem::path &amp;file_name, const std::string &amp;data)</div><div class="ttdoc">write file content using std struct</div><div class="ttdef"><b>Definition:</b> FileOperator.cpp:67</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1GpgBasicOperator_html_a9ea9e81194917e08f46eb657281b7953"><div class="ttname"><a href="classGpgFrontend_1_1GpgBasicOperator.html#a9ea9e81194917e08f46eb657281b7953">GpgFrontend::GpgBasicOperator::Decrypt</a></div><div class="ttdeci">gpgme_error_t Decrypt(BypeArrayRef in_buffer, ByteArrayPtr &amp;out_buffer, GpgDecrResult &amp;result)</div><div class="ttdoc">Call the interface provided by gpgme for decryption operation.</div><div class="ttdef"><b>Definition:</b> GpgBasicOperator.cpp:64</div></div>
<div class="ttc" id="anamespaceGpgFrontend_html"><div class="ttname"><a href="namespaceGpgFrontend.html">GpgFrontend</a></div><div class="ttdef"><b>Definition:</b> CoreCommonUtil.cpp:29</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1SingletonFunctionObject_html_a70484d7cfe9f9dcbcd5f8bb749250f36"><div class="ttname"><a href="classGpgFrontend_1_1SingletonFunctionObject.html#a70484d7cfe9f9dcbcd5f8bb749250f36">GpgFrontend::SingletonFunctionObject&lt; GpgBasicOperator &gt;::GetInstance</a></div><div class="ttdeci">static GpgBasicOperator &amp; GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)</div><div class="ttdoc">Get the Instance object.</div><div class="ttdef"><b>Definition:</b> GpgFunctionObject.h:181</div></div>
2022-05-08 22:01:23 +00:00
<div class="ttc" id="aclassGpgFrontend_1_1GpgBasicOperator_html_a11845a9a3ea2941e14faa9130f0ac9ef"><div class="ttname"><a href="classGpgFrontend_1_1GpgBasicOperator.html#a11845a9a3ea2941e14faa9130f0ac9ef">GpgFrontend::GpgBasicOperator::DecryptVerify</a></div><div class="ttdeci">gpgme_error_t DecryptVerify(BypeArrayRef in_buffer, ByteArrayPtr &amp;out_buffer, GpgDecrResult &amp;decrypt_result, GpgVerifyResult &amp;verify_result)</div><div class="ttdoc">Call the interface provided by gpgme to perform decryption and verification operations at the same ti...</div><div class="ttdef"><b>Definition:</b> GpgBasicOperator.cpp:123</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1GpgFileOpera_html_a234d939ae0b2c3f799dd01130fad9379"><div class="ttname"><a href="classGpgFrontend_1_1GpgFileOpera.html#a234d939ae0b2c3f799dd01130fad9379">GpgFrontend::GpgFileOpera::EncryptFile</a></div><div class="ttdeci">static unsigned int EncryptFile(KeyListPtr keys, const std::string &amp;in_path, const std::string &amp;out_path, GpgEncrResult &amp;result, int _channel=GPGFRONTEND_DEFAULT_CHANNEL)</div><div class="ttdoc">Encrypted file.</div><div class="ttdef"><b>Definition:</b> GpgFileOpera.cpp:40</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1GpgFileOpera_html"><div class="ttname"><a href="classGpgFrontend_1_1GpgFileOpera.html">GpgFrontend::GpgFileOpera</a></div><div class="ttdef"><b>Definition:</b> GpgFileOpera.h:43</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1GpgBasicOperator_html_af0347cb28ff73b2250395ceaa9001509"><div class="ttname"><a href="classGpgFrontend_1_1GpgBasicOperator.html#af0347cb28ff73b2250395ceaa9001509">GpgFrontend::GpgBasicOperator::Verify</a></div><div class="ttdeci">gpgme_error_t Verify(BypeArrayRef in_buffer, ByteArrayPtr &amp;sig_buffer, GpgVerifyResult &amp;result) const</div><div class="ttdoc">Call the interface provided by gpgme for verification operation.</div><div class="ttdef"><b>Definition:</b> GpgBasicOperator.cpp:81</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1GpgBasicOperator_html_a988d7e65e85fc7a578f26300332a65d3"><div class="ttname"><a href="classGpgFrontend_1_1GpgBasicOperator.html#a988d7e65e85fc7a578f26300332a65d3">GpgFrontend::GpgBasicOperator::Sign</a></div><div class="ttdeci">gpg_error_t Sign(KeyListPtr signers, BypeArrayRef in_buffer, ByteArrayPtr &amp;out_buffer, gpgme_sig_mode_t mode, GpgSignResult &amp;result)</div><div class="ttdoc">Call the interface provided by gpgme for signing operation.</div><div class="ttdef"><b>Definition:</b> GpgBasicOperator.cpp:101</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1GpgBasicOperator_html_a8f4ef57e941a066ad9d070eee51e2073"><div class="ttname"><a href="classGpgFrontend_1_1GpgBasicOperator.html#a8f4ef57e941a066ad9d070eee51e2073">GpgFrontend::GpgBasicOperator::EncryptSymmetric</a></div><div class="ttdeci">gpg_error_t EncryptSymmetric(BypeArrayRef in_buffer, ByteArrayPtr &amp;out_buffer, GpgEncrResult &amp;result)</div><div class="ttdoc">Call the interface provided by GPGME to symmetrical encryption.</div><div class="ttdef"><b>Definition:</b> GpgBasicOperator.cpp:203</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1GpgBasicOperator_html_a08906cf2bc2ddad8489438610f388f8a"><div class="ttname"><a href="classGpgFrontend_1_1GpgBasicOperator.html#a08906cf2bc2ddad8489438610f388f8a">GpgFrontend::GpgBasicOperator::EncryptSign</a></div><div class="ttdeci">gpgme_error_t EncryptSign(KeyListPtr keys, KeyListPtr signers, BypeArrayRef in_buffer, ByteArrayPtr &amp;out_buffer, GpgEncrResult &amp;encr_result, GpgSignResult &amp;sign_result)</div><div class="ttdoc">Call the interface provided by gpgme to perform encryption and signature operations at the same time.</div><div class="ttdef"><b>Definition:</b> GpgBasicOperator.cpp:144</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1GpgFileOpera_html_aa81da3d72c4fbc57e7138bfec7731152"><div class="ttname"><a href="classGpgFrontend_1_1GpgFileOpera.html#aa81da3d72c4fbc57e7138bfec7731152">GpgFrontend::GpgFileOpera::GpgFileOpera</a></div><div class="ttdeci">GpgFileOpera(int channel=SingletonFunctionObject::GetDefaultChannel())</div><div class="ttdef"><b>Definition:</b> GpgFileOpera.cpp:37</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1SingletonFunctionObject_html_a50e2b3794d6553f4231eaec72d9d0a50"><div class="ttname"><a href="classGpgFrontend_1_1SingletonFunctionObject.html#a50e2b3794d6553f4231eaec72d9d0a50">GpgFrontend::SingletonFunctionObject::GetDefaultChannel</a></div><div class="ttdeci">static int GetDefaultChannel()</div><div class="ttdoc">Get the Default Channel object.</div><div class="ttdef"><b>Definition:</b> GpgFunctionObject.h:245</div></div>
2022-05-08 22:01:23 +00:00
<div class="ttc" id="aclassGpgFrontend_1_1FileOperator_html_ad4424bce4f22ae75a16c542dfb4ddf0a"><div class="ttname"><a href="classGpgFrontend_1_1FileOperator.html#ad4424bce4f22ae75a16c542dfb4ddf0a">GpgFrontend::FileOperator::ReadFileStd</a></div><div class="ttdeci">static bool ReadFileStd(const std::filesystem::path &amp;file_name, std::string &amp;data)</div><div class="ttdoc">read file content using std struct</div><div class="ttdef"><b>Definition:</b> FileOperator.cpp:55</div></div>
<div class="ttc" id="anamespaceGpgFrontend_html_a4edac6df92596ba8eea3a8cdc1173684"><div class="ttname"><a href="namespaceGpgFrontend.html#a4edac6df92596ba8eea3a8cdc1173684">GpgFrontend::check_gpg_error_2_err_code</a></div><div class="ttdeci">GPGFRONTEND_CORE_EXPORT gpg_err_code_t check_gpg_error_2_err_code(gpgme_error_t err, gpgme_error_t predict=GPG_ERR_NO_ERROR)</div><div class="ttdef"><b>Definition:</b> GpgConstants.cpp:66</div></div>
2022-05-08 22:01:23 +00:00
<div class="ttc" id="aclassGpgFrontend_1_1GpgFileOpera_html_a90949b4e9e6116784260cd0e416551db"><div class="ttname"><a href="classGpgFrontend_1_1GpgFileOpera.html#a90949b4e9e6116784260cd0e416551db">GpgFrontend::GpgFileOpera::DecryptVerifyFile</a></div><div class="ttdeci">static GpgError DecryptVerifyFile(const std::string &amp;in_path, const std::string &amp;out_path, GpgDecrResult &amp;decr_res, GpgVerifyResult &amp;verify_res)</div><div class="ttdef"><b>Definition:</b> GpgFileOpera.cpp:197</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1GpgFileOpera_html_a14cddfe822c9410cd9c301d08963b7e7"><div class="ttname"><a href="classGpgFrontend_1_1GpgFileOpera.html#a14cddfe822c9410cd9c301d08963b7e7">GpgFrontend::GpgFileOpera::VerifyFile</a></div><div class="ttdeci">static GpgError VerifyFile(const std::string &amp;data_path, const std::string &amp;sign_path, GpgVerifyResult &amp;result, int _channel=GPGFRONTEND_DEFAULT_CHANNEL)</div><div class="ttdef"><b>Definition:</b> GpgFileOpera.cpp:135</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1GpgFileOpera_html_a6353e1688b113e5746aced6aa7f3876e"><div class="ttname"><a href="classGpgFrontend_1_1GpgFileOpera.html#a6353e1688b113e5746aced6aa7f3876e">GpgFrontend::GpgFileOpera::EncryptSignFile</a></div><div class="ttdeci">static GpgError EncryptSignFile(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)</div><div class="ttdef"><b>Definition:</b> GpgFileOpera.cpp:165</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1GpgFileOpera_html_a74eb3ba532a236d8ad284b41265b0ccd"><div class="ttname"><a href="classGpgFrontend_1_1GpgFileOpera.html#a74eb3ba532a236d8ad284b41265b0ccd">GpgFrontend::GpgFileOpera::DecryptFile</a></div><div class="ttdeci">static GpgError DecryptFile(const std::string &amp;in_path, const std::string &amp;out_path, GpgDecrResult &amp;result)</div><div class="ttdef"><b>Definition:</b> GpgFileOpera.cpp:71</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1GpgFileOpera_html_a826efca057afb07157453b3b9e267b0f"><div class="ttname"><a href="classGpgFrontend_1_1GpgFileOpera.html#a826efca057afb07157453b3b9e267b0f">GpgFrontend::GpgFileOpera::EncryptFileSymmetric</a></div><div class="ttdeci">static unsigned int EncryptFileSymmetric(const std::string &amp;in_path, const std::string &amp;out_path, GpgEncrResult &amp;result, int _channel=GPGFRONTEND_DEFAULT_CHANNEL)</div><div class="ttdoc">运用对称加密算法加密文件</div><div class="ttdef"><b>Definition:</b> GpgFileOpera.cpp:226</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1GpgBasicOperator_html_a32e1eac6bb0f322588ae75ae36a9884a"><div class="ttname"><a href="classGpgFrontend_1_1GpgBasicOperator.html#a32e1eac6bb0f322588ae75ae36a9884a">GpgFrontend::GpgBasicOperator::Encrypt</a></div><div class="ttdeci">gpg_error_t Encrypt(KeyListPtr keys, BypeArrayRef in_buffer, ByteArrayPtr &amp;out_buffer, GpgEncrResult &amp;result)</div><div class="ttdoc">Call the interface provided by gpgme for encryption operation.</div><div class="ttdef"><b>Definition:</b> GpgBasicOperator.cpp:38</div></div>
2022-05-08 19:59:26 +00:00
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_aebb8dcc11953d78e620bbef0b9e2183.html">core</a></li><li class="navelem"><a class="el" href="dir_f8a0abd6d3586538a5b71803e0ab7ffa.html">function</a></li><li class="navelem"><a class="el" href="dir_4c90737131b129f8f210b6ba3e14bca4.html">gpg</a></li><li class="navelem"><b>GpgFileOpera.h</b></li>
2022-05-08 22:01:23 +00:00
<li class="footer">Generated by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.17 </li>
2022-05-08 19:59:26 +00:00
</ul>
</div>
</body>
</html>