GpgFrontend-Doxygen/docs/html/classGpgFrontend_1_1GpgContext_1_1Impl.html

237 lines
16 KiB
HTML
Raw Normal View History

<!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=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>GpgFrontend Project: GpgFrontend::GpgContext::Impl 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>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">GpgFrontend Project
</div>
<div id="projectbrief">A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'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:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(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:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('classGpgFrontend_1_1GpgContext_1_1Impl.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="#pri-methods">Private Member Functions</a> &#124;
<a href="#pri-static-methods">Static Private Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="classGpgFrontend_1_1GpgContext_1_1Impl-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">GpgFrontend::GpgContext::Impl Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
Collaboration diagram for GpgFrontend::GpgContext::Impl:</div>
<div class="dyncontent">
<div class="center"><img src="classGpgFrontend_1_1GpgContext_1_1Impl__coll__graph.png" border="0" usemap="#aGpgFrontend_1_1GpgContext_1_1Impl_coll__map" alt="Collaboration graph"/></div>
<map name="aGpgFrontend_1_1GpgContext_1_1Impl_coll__map" id="aGpgFrontend_1_1GpgContext_1_1Impl_coll__map">
<area shape="rect" title=" " alt="" coords="123,1155,315,1481"/>
<area shape="rect" title=" " alt="" coords="5,941,97,1019"/>
<area shape="rect" href="classGpgFrontend_1_1GpgContext.html" title=" " alt="" coords="123,905,313,1055"/>
<area shape="rect" href="classGpgFrontend_1_1SingletonFunctionObject.html" title=" " alt="" coords="103,565,333,848"/>
<area shape="rect" href="classGpgFrontend_1_1ChannelObject.html" title="object which in channel system is called &quot;channel&quot;" alt="" coords="109,5,317,171"/>
<area shape="rect" href="classGpgFrontend_1_1SingletonFunctionObject.html" title=" " alt="" coords="234,220,463,503"/>
<area shape="rect" href="structGpgFrontend_1_1GpgContextInitArgs.html" title=" " alt="" coords="338,897,578,1063"/>
</map>
</div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:af1cf48d1f5f5a16193c0e575fdec2f95"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1GpgContext_1_1Impl.html#af1cf48d1f5f5a16193c0e575fdec2f95">Impl</a> (<a class="el" href="classGpgFrontend_1_1GpgContext.html">GpgContext</a> *parent, const <a class="el" href="structGpgFrontend_1_1GpgContextInitArgs.html">GpgContextInitArgs</a> &amp;args)</td></tr>
<tr class="separator:af1cf48d1f5f5a16193c0e575fdec2f95"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa83adb97f6c554a5f78cb58c5bcabf75"><td class="memItemLeft" align="right" valign="top"><a id="aa83adb97f6c554a5f78cb58c5bcabf75"></a>
auto&#160;</td><td class="memItemRight" valign="bottom"><b>BinaryContext</b> () const -&gt; gpgme_ctx_t</td></tr>
<tr class="separator:aa83adb97f6c554a5f78cb58c5bcabf75"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaf07931e12ccc1334a4ee4775747e031"><td class="memItemLeft" align="right" valign="top"><a id="aaf07931e12ccc1334a4ee4775747e031"></a>
auto&#160;</td><td class="memItemRight" valign="bottom"><b>DefaultContext</b> () const -&gt; gpgme_ctx_t</td></tr>
<tr class="separator:aaf07931e12ccc1334a4ee4775747e031"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeff757402e816579b245663004ee223f"><td class="memItemLeft" align="right" valign="top"><a id="aeff757402e816579b245663004ee223f"></a>
auto&#160;</td><td class="memItemRight" valign="bottom"><b>Good</b> () const -&gt; bool</td></tr>
<tr class="separator:aeff757402e816579b245663004ee223f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad48acf9c87da750c12cb39fb12dbf21c"><td class="memItemLeft" align="right" valign="top"><a id="ad48acf9c87da750c12cb39fb12dbf21c"></a>
auto&#160;</td><td class="memItemRight" valign="bottom"><b>SetPassphraseCb</b> (const gpgme_ctx_t &amp;ctx, gpgme_passphrase_cb_t cb) -&gt; bool</td></tr>
<tr class="separator:ad48acf9c87da750c12cb39fb12dbf21c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a730122e16659d4dae757b517c63c060b"><td class="memItemLeft" align="right" valign="top"><a id="a730122e16659d4dae757b517c63c060b"></a>
static auto&#160;</td><td class="memItemRight" valign="bottom"><b>TestPassphraseCb</b> (void *opaque, const char *uid_hint, const char *passphrase_info, int last_was_bad, int fd) -&gt; gpgme_error_t</td></tr>
<tr class="separator:a730122e16659d4dae757b517c63c060b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a74b2a478438801e57d606ac3e037bd48"><td class="memItemLeft" align="right" valign="top"><a id="a74b2a478438801e57d606ac3e037bd48"></a>
static auto&#160;</td><td class="memItemRight" valign="bottom"><b>CustomPassphraseCb</b> (void *hook, const char *uid_hint, const char *passphrase_info, int prev_was_bad, int fd) -&gt; gpgme_error_t</td></tr>
<tr class="separator:a74b2a478438801e57d606ac3e037bd48"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aec2edb332803afff03e02acdbc0b1ad4"><td class="memItemLeft" align="right" valign="top"><a id="aec2edb332803afff03e02acdbc0b1ad4"></a>
static auto&#160;</td><td class="memItemRight" valign="bottom"><b>TestStatusCb</b> (void *hook, const char *keyword, const char *args) -&gt; gpgme_error_t</td></tr>
<tr class="separator:aec2edb332803afff03e02acdbc0b1ad4"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
Private Member Functions</h2></td></tr>
<tr class="memitem:a10db480f37e3b31cece0312b2a7f5699"><td class="memItemLeft" align="right" valign="top"><a id="a10db480f37e3b31cece0312b2a7f5699"></a>
auto&#160;</td><td class="memItemRight" valign="bottom"><b>common_ctx_initialize</b> (const gpgme_ctx_t &amp;ctx, const <a class="el" href="structGpgFrontend_1_1GpgContextInitArgs.html">GpgContextInitArgs</a> &amp;args) -&gt; bool</td></tr>
<tr class="separator:a10db480f37e3b31cece0312b2a7f5699"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3a78904e9b2453a524face5276210bfb"><td class="memItemLeft" align="right" valign="top"><a id="a3a78904e9b2453a524face5276210bfb"></a>
auto&#160;</td><td class="memItemRight" valign="bottom"><b>binary_ctx_initialize</b> (const <a class="el" href="structGpgFrontend_1_1GpgContextInitArgs.html">GpgContextInitArgs</a> &amp;args) -&gt; bool</td></tr>
<tr class="separator:a3a78904e9b2453a524face5276210bfb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4c976fcea479a491a19970866fba84e4"><td class="memItemLeft" align="right" valign="top"><a id="a4c976fcea479a491a19970866fba84e4"></a>
auto&#160;</td><td class="memItemRight" valign="bottom"><b>default_ctx_initialize</b> (const <a class="el" href="structGpgFrontend_1_1GpgContextInitArgs.html">GpgContextInitArgs</a> &amp;args) -&gt; bool</td></tr>
<tr class="separator:a4c976fcea479a491a19970866fba84e4"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-static-methods"></a>
Static Private Member Functions</h2></td></tr>
<tr class="memitem:acfcf7fbbc51e16aa6ca1fe3e6a61514d"><td class="memItemLeft" align="right" valign="top"><a id="acfcf7fbbc51e16aa6ca1fe3e6a61514d"></a>
static auto&#160;</td><td class="memItemRight" valign="bottom"><b>set_ctx_key_list_mode</b> (const gpgme_ctx_t &amp;ctx) -&gt; bool</td></tr>
<tr class="separator:acfcf7fbbc51e16aa6ca1fe3e6a61514d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3834765ad4d5e65ef71ab7d37d4b181c"><td class="memItemLeft" align="right" valign="top"><a id="a3834765ad4d5e65ef71ab7d37d4b181c"></a>
static auto&#160;</td><td class="memItemRight" valign="bottom"><b>set_ctx_openpgp_engine_info</b> (gpgme_ctx_t ctx) -&gt; bool</td></tr>
<tr class="separator:a3834765ad4d5e65ef71ab7d37d4b181c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:a722be40df9fe2be11b6fe5a942f5ef9f"><td class="memItemLeft" align="right" valign="top"><a id="a722be40df9fe2be11b6fe5a942f5ef9f"></a>
<a class="el" href="classGpgFrontend_1_1GpgContext.html">GpgContext</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>parent_</b></td></tr>
<tr class="separator:a722be40df9fe2be11b6fe5a942f5ef9f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a40f4c66a307485273f1b892bdb08e980"><td class="memItemLeft" align="right" valign="top"><a id="a40f4c66a307485273f1b892bdb08e980"></a>
<a class="el" href="structGpgFrontend_1_1GpgContextInitArgs.html">GpgContextInitArgs</a>&#160;</td><td class="memItemRight" valign="bottom"><b>args_</b> {}</td></tr>
<tr class="separator:a40f4c66a307485273f1b892bdb08e980"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6f6f341e1d9718069207aaef12157279"><td class="memItemLeft" align="right" valign="top"><a id="a6f6f341e1d9718069207aaef12157279"></a>
gpgme_ctx_t&#160;</td><td class="memItemRight" valign="bottom"><b>ctx_ref_</b> = nullptr</td></tr>
<tr class="separator:a6f6f341e1d9718069207aaef12157279"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6e8a2c1ae213178e0e3ca23fd13a07d2"><td class="memItemLeft" align="right" valign="top"><a id="a6e8a2c1ae213178e0e3ca23fd13a07d2"></a>
gpgme_ctx_t&#160;</td><td class="memItemRight" valign="bottom"><b>binary_ctx_ref_</b> = nullptr</td></tr>
<tr class="separator:a6e8a2c1ae213178e0e3ca23fd13a07d2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a90bdcaec75667c38893241d235d44378"><td class="memItemLeft" align="right" valign="top"><a id="a90bdcaec75667c38893241d235d44378"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>good_</b> = true</td></tr>
<tr class="separator:a90bdcaec75667c38893241d235d44378"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae6d445d8271e044474535ea7b8a89569"><td class="memItemLeft" align="right" valign="top"><a id="ae6d445d8271e044474535ea7b8a89569"></a>
std::mutex&#160;</td><td class="memItemRight" valign="bottom"><b>ctx_ref_lock_</b></td></tr>
<tr class="separator:ae6d445d8271e044474535ea7b8a89569"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0ab4a7f9df7d1bf7d70281ff6188d64d"><td class="memItemLeft" align="right" valign="top"><a id="a0ab4a7f9df7d1bf7d70281ff6188d64d"></a>
std::mutex&#160;</td><td class="memItemRight" valign="bottom"><b>binary_ctx_ref_lock_</b></td></tr>
<tr class="separator:a0ab4a7f9df7d1bf7d70281ff6188d64d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="af1cf48d1f5f5a16193c0e575fdec2f95"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af1cf48d1f5f5a16193c0e575fdec2f95">&#9670;&nbsp;</a></span>Impl()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">GpgFrontend::GpgContext::Impl::Impl </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classGpgFrontend_1_1GpgContext.html">GpgContext</a> *&#160;</td>
<td class="paramname"><em>parent</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="structGpgFrontend_1_1GpgContextInitArgs.html">GpgContextInitArgs</a> &amp;&#160;</td>
<td class="paramname"><em>args</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">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Constructor Set up gpgme-context, set paths to app-run path </p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>src/core/function/gpg/GpgContext.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_1GpgContext.html">GpgContext</a></li><li class="navelem"><a class="el" href="classGpgFrontend_1_1GpgContext_1_1Impl.html">Impl</a></li>
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
</ul>
</div>
</body>
</html>