GpgFrontend-Doxygen/docs/html/GpgConstants_8h_source.html

216 lines
25 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"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.3"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>GpgFrontend Project: src/core/GpgConstants.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>
<tr id="projectrow">
<td id="projectalign">
<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.3 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search",'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<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">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('GpgConstants_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">
<div class="headertitle"><div class="title">GpgConstants.h</div></div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span> </div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"> 29</span><span class="preprocessor">#ifndef GPG_CONSTANTS_H</span></div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"> 30</span><span class="preprocessor">#define GPG_CONSTANTS_H</span></div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span> </div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"> 32</span><span class="preprocessor">#include &lt;GpgFrontend.h&gt;</span></div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"> 33</span><span class="preprocessor">#include &lt;gpgme.h&gt;</span></div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"> 34</span> </div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"> 35</span><span class="preprocessor">#include &lt;cassert&gt;</span></div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"> 36</span><span class="preprocessor">#include &lt;functional&gt;</span></div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span> </div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"> 38</span><span class="comment">// dll export macro</span></div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"> 39</span><span class="preprocessor">#include &quot;GpgFrontendCoreExport.h&quot;</span></div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"> 40</span> </div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"> 41</span><span class="keyword">const</span> <span class="keywordtype">int</span> RESTART_CODE = 1000; </div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"> 42</span> </div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"> 43</span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespaceGpgFrontend.html">GpgFrontend</a> {</div>
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"> 44</span> </div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"> 45</span><span class="keyword">using</span> ByteArray = std::string; </div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"> 46</span><span class="keyword">using</span> ByteArrayPtr = std::unique_ptr&lt;ByteArray&gt;; </div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"> 47</span><span class="keyword">using</span> StdBypeArrayPtr = std::unique_ptr&lt;ByteArray&gt;; </div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"> 48</span><span class="keyword">using</span> BypeArrayRef = ByteArray&amp;; </div>
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"> 49</span><span class="keyword">using</span> BypeArrayConstRef = <span class="keyword">const</span> ByteArray&amp;; </div>
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"> 50</span><span class="keyword">using</span> StringArgsPtr = std::unique_ptr&lt;std::vector&lt;std::string&gt;&gt;; </div>
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"> 51</span><span class="keyword">using</span> StringArgsRef = std::vector&lt;std::string&gt;&amp;; </div>
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"> 52</span> </div>
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"> 53</span><span class="keyword">using</span> GpgError = gpgme_error_t;</div>
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"> 54</span> </div>
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno"><a class="line" href="structGpgFrontend_1_1__result__ref__deletor.html"> 59</a></span><span class="keyword">struct </span><a class="code hl_struct" href="structGpgFrontend_1_1__result__ref__deletor.html">_result_ref_deletor</a> {</div>
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno"> 60</span> <span class="keywordtype">void</span> operator()(<span class="keywordtype">void</span>* _result);</div>
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"> 61</span>};</div>
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"> 62</span> </div>
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"> 63</span><span class="keyword">using</span> GpgEncrResult = std::shared_ptr&lt;struct _gpgme_op_encrypt_result&gt;; </div>
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"> 64</span><span class="keyword">using</span> GpgDecrResult = std::shared_ptr&lt;struct _gpgme_op_decrypt_result&gt;; </div>
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"> 65</span><span class="keyword">using</span> GpgSignResult = std::shared_ptr&lt;struct _gpgme_op_sign_result&gt;; </div>
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno"> 66</span><span class="keyword">using</span> GpgVerifyResult = std::shared_ptr&lt;struct _gpgme_op_verify_result&gt;; </div>
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno"> 67</span><span class="keyword">using</span> GpgGenKeyResult = std::shared_ptr&lt;struct _gpgme_op_genkey_result&gt;; </div>
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"> 68</span> </div>
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno"> 69</span><span class="comment">// Convert from gpgme_xxx_result to GpgXXXResult</span></div>
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno"> 70</span> </div>
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno"> 77</span>GPGFRONTEND_CORE_EXPORT GpgEncrResult</div>
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno"> 78</span><a class="code hl_function" href="namespaceGpgFrontend.html#a2a6566f59b4be29e453a1edd93f6a337">_new_result</a>(gpgme_encrypt_result_t&amp;&amp; result);</div>
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno"> 79</span> </div>
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno"> 86</span>GPGFRONTEND_CORE_EXPORT GpgDecrResult</div>
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno"> 87</span><a class="code hl_function" href="namespaceGpgFrontend.html#a2a6566f59b4be29e453a1edd93f6a337">_new_result</a>(gpgme_decrypt_result_t&amp;&amp; result);</div>
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno"> 88</span> </div>
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno"> 95</span>GPGFRONTEND_CORE_EXPORT GpgSignResult <a class="code hl_function" href="namespaceGpgFrontend.html#a2a6566f59b4be29e453a1edd93f6a337">_new_result</a>(gpgme_sign_result_t&amp;&amp; result);</div>
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno"> 96</span> </div>
<div class="line"><a id="l00103" name="l00103"></a><span class="lineno"> 103</span>GPGFRONTEND_CORE_EXPORT GpgVerifyResult</div>
<div class="line"><a id="l00104" name="l00104"></a><span class="lineno"> 104</span><a class="code hl_function" href="namespaceGpgFrontend.html#a2a6566f59b4be29e453a1edd93f6a337">_new_result</a>(gpgme_verify_result_t&amp;&amp; result);</div>
<div class="line"><a id="l00105" name="l00105"></a><span class="lineno"> 105</span> </div>
<div class="line"><a id="l00112" name="l00112"></a><span class="lineno"> 112</span>GPGFRONTEND_CORE_EXPORT GpgGenKeyResult</div>
<div class="line"><a id="l00113" name="l00113"></a><span class="lineno"> 113</span><a class="code hl_function" href="namespaceGpgFrontend.html#a2a6566f59b4be29e453a1edd93f6a337">_new_result</a>(gpgme_genkey_result_t&amp;&amp; result);</div>
<div class="line"><a id="l00114" name="l00114"></a><span class="lineno"> 114</span> </div>
<div class="line"><a id="l00115" name="l00115"></a><span class="lineno"> 115</span><span class="comment">// Error Info Printer</span></div>
<div class="line"><a id="l00116" name="l00116"></a><span class="lineno"> 116</span> </div>
<div class="line"><a id="l00123" name="l00123"></a><span class="lineno"> 123</span>GPGFRONTEND_CORE_EXPORT GpgError <a class="code hl_function" href="namespaceGpgFrontend.html#afdad4e5f4c3ac891c09216e245c0f48e">check_gpg_error</a>(GpgError err);</div>
<div class="line"><a id="l00124" name="l00124"></a><span class="lineno"> 124</span> </div>
<div class="line"><a id="l00132" name="l00132"></a><span class="lineno"> 132</span>GPGFRONTEND_CORE_EXPORT GpgError <a class="code hl_function" href="namespaceGpgFrontend.html#afdad4e5f4c3ac891c09216e245c0f48e">check_gpg_error</a>(GpgError gpgmeError,</div>
<div class="line"><a id="l00133" name="l00133"></a><span class="lineno"> 133</span> <span class="keyword">const</span> std::string&amp; comment);</div>
<div class="line"><a id="l00134" name="l00134"></a><span class="lineno"> 134</span> </div>
<div class="line"><a id="l00142" name="l00142"></a><span class="lineno"> 142</span>GPGFRONTEND_CORE_EXPORT gpg_err_code_t <a class="code hl_function" href="namespaceGpgFrontend.html#a4edac6df92596ba8eea3a8cdc1173684">check_gpg_error_2_err_code</a>(</div>
<div class="line"><a id="l00143" name="l00143"></a><span class="lineno"> 143</span> gpgme_error_t err, gpgme_error_t predict = GPG_ERR_NO_ERROR);</div>
<div class="line"><a id="l00144" name="l00144"></a><span class="lineno"> 144</span> </div>
<div class="line"><a id="l00145" name="l00145"></a><span class="lineno"> 145</span><span class="comment">// Fingerprint</span></div>
<div class="line"><a id="l00146" name="l00146"></a><span class="lineno"> 146</span> </div>
<div class="line"><a id="l00153" name="l00153"></a><span class="lineno"> 153</span>GPGFRONTEND_CORE_EXPORT std::string <a class="code hl_function" href="namespaceGpgFrontend.html#ac494a4b0d91e08a70db77a399c9a0f30">beautify_fingerprint</a>(</div>
<div class="line"><a id="l00154" name="l00154"></a><span class="lineno"> 154</span> BypeArrayConstRef fingerprint);</div>
<div class="line"><a id="l00155" name="l00155"></a><span class="lineno"> 155</span> </div>
<div class="line"><a id="l00156" name="l00156"></a><span class="lineno"> 156</span><span class="comment">// File Operation</span></div>
<div class="line"><a id="l00157" name="l00157"></a><span class="lineno"> 157</span> </div>
<div class="line"><a id="l00164" name="l00164"></a><span class="lineno"> 164</span>std::string <a class="code hl_function" href="namespaceGpgFrontend.html#a73f3e2217fb1d72dc75f266e11875f6d">read_all_data_in_file</a>(<span class="keyword">const</span> std::string&amp; path);</div>
<div class="line"><a id="l00165" name="l00165"></a><span class="lineno"> 165</span> </div>
<div class="line"><a id="l00174" name="l00174"></a><span class="lineno"> 174</span>GPGFRONTEND_CORE_EXPORT <span class="keywordtype">bool</span> <a class="code hl_function" href="namespaceGpgFrontend.html#a5135069571678eda9c1f07d17ed9ac41">write_buffer_to_file</a>(</div>
<div class="line"><a id="l00175" name="l00175"></a><span class="lineno"> 175</span> <span class="keyword">const</span> std::string&amp; path, <span class="keyword">const</span> std::string&amp; out_buffer);</div>
<div class="line"><a id="l00176" name="l00176"></a><span class="lineno"> 176</span> </div>
<div class="line"><a id="l00183" name="l00183"></a><span class="lineno"> 183</span>std::string <a class="code hl_function" href="namespaceGpgFrontend.html#acff2cf5dd5b112b324fa6574ee935f79">get_file_extension</a>(<span class="keyword">const</span> std::string&amp; path);</div>
<div class="line"><a id="l00184" name="l00184"></a><span class="lineno"> 184</span> </div>
<div class="line"><a id="l00191" name="l00191"></a><span class="lineno"> 191</span>std::string <a class="code hl_function" href="namespaceGpgFrontend.html#a5a2f5fc1ad3de55e41a1b7a388821328">get_only_file_name_with_path</a>(<span class="keyword">const</span> std::string&amp; path);</div>
<div class="line"><a id="l00192" name="l00192"></a><span class="lineno"> 192</span> </div>
<div class="line"><a id="l00193" name="l00193"></a><span class="lineno"> 193</span><span class="comment">// Check</span></div>
<div class="line"><a id="l00194" name="l00194"></a><span class="lineno"> 194</span> </div>
<div class="line"><a id="l00201" name="l00201"></a><span class="lineno"> 201</span><span class="keywordtype">int</span> <a class="code hl_function" href="namespaceGpgFrontend.html#a2a0394c8bdd277f5235f9875a1d69a99">text_is_signed</a>(BypeArrayRef text);</div>
<div class="line"><a id="l00202" name="l00202"></a><span class="lineno"> 202</span> </div>
<div class="line"><a id="l00203" name="l00203"></a><span class="lineno"> 203</span><span class="comment">// Channels</span></div>
<div class="line"><a id="l00204" name="l00204"></a><span class="lineno"> 204</span><span class="keyword">const</span> <span class="keywordtype">int</span> GPGFRONTEND_DEFAULT_CHANNEL = 0; </div>
<div class="line"><a id="l00205" name="l00205"></a><span class="lineno"> 205</span><span class="keyword">const</span> <span class="keywordtype">int</span> GPGFRONTEND_NON_ASCII_CHANNEL = 2; </div>
<div class="line"><a id="l00206" name="l00206"></a><span class="lineno"> 206</span> </div>
<div class="line"><a id="l00211" name="l00211"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1GpgConstants.html"> 211</a></span><span class="keyword">class </span>GPGFRONTEND_CORE_EXPORT <a class="code hl_class" href="classGpgFrontend_1_1GpgConstants.html">GpgConstants</a> {</div>
<div class="line"><a id="l00212" name="l00212"></a><span class="lineno"> 212</span> <span class="keyword">public</span>:</div>
<div class="line"><a id="l00213" name="l00213"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1GpgConstants.html#a237006d6db30c7e3f8de171210eb35f2"> 213</a></span> <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code hl_variable" href="classGpgFrontend_1_1GpgConstants.html#a237006d6db30c7e3f8de171210eb35f2">PGP_CRYPT_BEGIN</a>; </div>
<div class="line"><a id="l00214" name="l00214"></a><span class="lineno"> 214</span> <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* PGP_CRYPT_END; </div>
<div class="line"><a id="l00215" name="l00215"></a><span class="lineno"> 215</span> <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* PGP_SIGNED_BEGIN; </div>
<div class="line"><a id="l00216" name="l00216"></a><span class="lineno"> 216</span> <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* PGP_SIGNED_END; </div>
<div class="line"><a id="l00217" name="l00217"></a><span class="lineno"> 217</span> <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* PGP_SIGNATURE_BEGIN; </div>
<div class="line"><a id="l00218" name="l00218"></a><span class="lineno"> 218</span> <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* PGP_SIGNATURE_END; </div>
<div class="line"><a id="l00219" name="l00219"></a><span class="lineno"> 219</span> <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* PGP_PUBLIC_KEY_BEGIN; </div>
<div class="line"><a id="l00220" name="l00220"></a><span class="lineno"> 220</span> <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* PGP_PRIVATE_KEY_BEGIN; </div>
<div class="line"><a id="l00221" name="l00221"></a><span class="lineno"> 221</span> <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* GPG_FRONTEND_SHORT_CRYPTO_HEAD; </div>
<div class="line"><a id="l00222" name="l00222"></a><span class="lineno"> 222</span>};</div>
<div class="line"><a id="l00223" name="l00223"></a><span class="lineno"> 223</span> </div>
<div class="line"><a id="l00224" name="l00224"></a><span class="lineno"> 224</span>} <span class="comment">// namespace GpgFrontend</span></div>
<div class="line"><a id="l00225" name="l00225"></a><span class="lineno"> 225</span> </div>
<div class="line"><a id="l00226" name="l00226"></a><span class="lineno"> 226</span><span class="preprocessor">#endif </span><span class="comment">// GPG_CONSTANTS_H</span></div>
<div class="ttc" id="aclassGpgFrontend_1_1GpgConstants_html"><div class="ttname"><a href="classGpgFrontend_1_1GpgConstants.html">GpgFrontend::GpgConstants</a></div><div class="ttdef"><b>Definition:</b> GpgConstants.h:211</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1GpgConstants_html_a237006d6db30c7e3f8de171210eb35f2"><div class="ttname"><a href="classGpgFrontend_1_1GpgConstants.html#a237006d6db30c7e3f8de171210eb35f2">GpgFrontend::GpgConstants::PGP_CRYPT_BEGIN</a></div><div class="ttdeci">static const char * PGP_CRYPT_BEGIN</div><div class="ttdef"><b>Definition:</b> GpgConstants.h:213</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="anamespaceGpgFrontend_html_a2a0394c8bdd277f5235f9875a1d69a99"><div class="ttname"><a href="namespaceGpgFrontend.html#a2a0394c8bdd277f5235f9875a1d69a99">GpgFrontend::text_is_signed</a></div><div class="ttdeci">int text_is_signed(BypeArrayRef text)</div><div class="ttdef"><b>Definition:</b> GpgConstants.cpp:176</div></div>
<div class="ttc" id="anamespaceGpgFrontend_html_a2a6566f59b4be29e453a1edd93f6a337"><div class="ttname"><a href="namespaceGpgFrontend.html#a2a6566f59b4be29e453a1edd93f6a337">GpgFrontend::_new_result</a></div><div class="ttdeci">GPGFRONTEND_CORE_EXPORT GpgEncrResult _new_result(gpgme_encrypt_result_t &amp;&amp;result)</div><div class="ttdef"><b>Definition:</b> GpgConstants.cpp:191</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:64</div></div>
<div class="ttc" id="anamespaceGpgFrontend_html_a5135069571678eda9c1f07d17ed9ac41"><div class="ttname"><a href="namespaceGpgFrontend.html#a5135069571678eda9c1f07d17ed9ac41">GpgFrontend::write_buffer_to_file</a></div><div class="ttdeci">GPGFRONTEND_CORE_EXPORT bool write_buffer_to_file(const std::string &amp;path, const std::string &amp;out_buffer)</div><div class="ttdef"><b>Definition:</b> GpgConstants.cpp:135</div></div>
<div class="ttc" id="anamespaceGpgFrontend_html_a5a2f5fc1ad3de55e41a1b7a388821328"><div class="ttname"><a href="namespaceGpgFrontend.html#a5a2f5fc1ad3de55e41a1b7a388821328">GpgFrontend::get_only_file_name_with_path</a></div><div class="ttdeci">std::string get_only_file_name_with_path(const std::string &amp;path)</div><div class="ttdoc">Get the only file name with path object.</div><div class="ttdef"><b>Definition:</b> GpgConstants.cpp:164</div></div>
<div class="ttc" id="anamespaceGpgFrontend_html_a73f3e2217fb1d72dc75f266e11875f6d"><div class="ttname"><a href="namespaceGpgFrontend.html#a73f3e2217fb1d72dc75f266e11875f6d">GpgFrontend::read_all_data_in_file</a></div><div class="ttdeci">std::string read_all_data_in_file(const std::string &amp;path)</div><div class="ttdef"><b>Definition:</b> GpgConstants.cpp:117</div></div>
<div class="ttc" id="anamespaceGpgFrontend_html_ac494a4b0d91e08a70db77a399c9a0f30"><div class="ttname"><a href="namespaceGpgFrontend.html#ac494a4b0d91e08a70db77a399c9a0f30">GpgFrontend::beautify_fingerprint</a></div><div class="ttdeci">GPGFRONTEND_CORE_EXPORT std::string beautify_fingerprint(BypeArrayConstRef fingerprint)</div><div class="ttdef"><b>Definition:</b> GpgConstants.cpp:85</div></div>
<div class="ttc" id="anamespaceGpgFrontend_html_acff2cf5dd5b112b324fa6574ee935f79"><div class="ttname"><a href="namespaceGpgFrontend.html#acff2cf5dd5b112b324fa6574ee935f79">GpgFrontend::get_file_extension</a></div><div class="ttdeci">std::string get_file_extension(const std::string &amp;path)</div><div class="ttdoc">Get the file extension object.</div><div class="ttdef"><b>Definition:</b> GpgConstants.cpp:151</div></div>
<div class="ttc" id="anamespaceGpgFrontend_html_afdad4e5f4c3ac891c09216e245c0f48e"><div class="ttname"><a href="namespaceGpgFrontend.html#afdad4e5f4c3ac891c09216e245c0f48e">GpgFrontend::check_gpg_error</a></div><div class="ttdeci">GPGFRONTEND_CORE_EXPORT GpgError check_gpg_error(GpgError err)</div><div class="ttdef"><b>Definition:</b> GpgConstants.cpp:55</div></div>
<div class="ttc" id="astructGpgFrontend_1_1__result__ref__deletor_html"><div class="ttname"><a href="structGpgFrontend_1_1__result__ref__deletor.html">GpgFrontend::_result_ref_deletor</a></div><div class="ttdoc">Result Deleter.</div><div class="ttdef"><b>Definition:</b> GpgConstants.h:59</div></div>
</div><!-- fragment --></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="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_aebb8dcc11953d78e620bbef0b9e2183.html">core</a></li><li class="navelem"><b>GpgConstants.h</b></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.3 </li>
</ul>
</div>
</body>
</html>