727 lines
56 KiB
HTML
727 lines
56 KiB
HTML
<!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 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&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&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&dn=gpl-2.0.txt GPL-v2 */
|
|
$(document).ready(function(){initNavTree('classGpgFrontend_1_1GpgContext.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="#nested-classes">Classes</a> |
|
|
<a href="#signals">Signals</a> |
|
|
<a href="#pub-methods">Public Member Functions</a> |
|
|
<a href="#pub-static-methods">Static Public Member Functions</a> |
|
|
<a href="#pri-types">Private Types</a> |
|
|
<a href="#pri-methods">Private Member Functions</a> |
|
|
<a href="#pri-attribs">Private Attributes</a> |
|
|
<a href="classGpgFrontend_1_1GpgContext-members.html">List of all members</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">GpgFrontend::GpgContext Class Reference</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<div class="dynheader">
|
|
Inheritance diagram for GpgFrontend::GpgContext:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="classGpgFrontend_1_1GpgContext__inherit__graph.png" border="0" usemap="#aGpgFrontend_1_1GpgContext_inherit__map" alt="Inheritance graph"/></div>
|
|
<map name="aGpgFrontend_1_1GpgContext_inherit__map" id="aGpgFrontend_1_1GpgContext_inherit__map">
|
|
<area shape="rect" title=" " alt="" coords="5,883,235,1209"/>
|
|
<area shape="rect" title=" " alt="" coords="31,653,105,731"/>
|
|
<area shape="rect" href="classGpgFrontend_1_1SingletonFunctionObject.html" title=" " alt="" coords="129,551,359,833"/>
|
|
<area shape="rect" href="classGpgFrontend_1_1ChannelObject.html" title="object which in channel system" alt="" coords="80,5,288,156"/>
|
|
<area shape="rect" href="classGpgFrontend_1_1SingletonFunctionObject.html" title=" " alt="" coords="205,205,435,488"/>
|
|
</map>
|
|
</div>
|
|
<div class="dynheader">
|
|
Collaboration diagram for GpgFrontend::GpgContext:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="classGpgFrontend_1_1GpgContext__coll__graph.png" border="0" usemap="#aGpgFrontend_1_1GpgContext_coll__map" alt="Collaboration graph"/></div>
|
|
<map name="aGpgFrontend_1_1GpgContext_coll__map" id="aGpgFrontend_1_1GpgContext_coll__map">
|
|
<area shape="rect" title=" " alt="" coords="375,1472,604,1740"/>
|
|
<area shape="rect" title=" " alt="" coords="5,1229,80,1307"/>
|
|
<area shape="rect" href="classGpgFrontend_1_1SingletonFunctionObject.html" title=" " alt="" coords="104,1127,333,1409"/>
|
|
<area shape="rect" href="classGpgFrontend_1_1ChannelObject.html" title="object which in channel system" alt="" coords="25,315,233,465"/>
|
|
<area shape="rect" href="classGpgFrontend_1_1SingletonFunctionObject.html" title=" " alt="" coords="120,675,349,957"/>
|
|
<area shape="rect" title=" " alt="" coords="939,517,1125,623"/>
|
|
<area shape="rect" title=" " alt="" coords="953,160,1111,237"/>
|
|
<area shape="rect" title=" " alt="" coords="1150,13,1189,90"/>
|
|
<area shape="rect" title=" " alt="" coords="1135,160,1265,237"/>
|
|
<area shape="rect" title=" " alt="" coords="1289,160,1423,237"/>
|
|
<area shape="rect" title=" " alt="" coords="487,777,630,855"/>
|
|
<area shape="rect" href="classGpgFrontend_1_1GpgInfo.html" title="Use to record some info about gnupg." alt="" coords="683,1229,847,1307"/>
|
|
<area shape="rect" href="structGpgFrontend_1_1GpgContextInitArgs.html" title=" " alt="" coords="299,981,539,1103"/>
|
|
<area shape="rect" title=" " alt="" coords="661,160,747,237"/>
|
|
<area shape="rect" title=" " alt="" coords="731,770,936,862"/>
|
|
<area shape="rect" title=" " alt="" coords="808,351,995,429"/>
|
|
<area shape="rect" title=" " alt="" coords="635,5,773,97"/>
|
|
<area shape="rect" title=" " alt="" coords="1366,13,1405,90"/>
|
|
</map>
|
|
</div>
|
|
<table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
|
|
Classes</h2></td></tr>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structGpgFrontend_1_1GpgContext_1_1__ctx__ref__deleter.html">_ctx_ref_deleter</a></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="signals"></a>
|
|
Signals</h2></td></tr>
|
|
<tr class="memitem:a36e807be6873698b5f8d4218bdfe8732"><td class="memItemLeft" align="right" valign="top"><a id="a36e807be6873698b5f8d4218bdfe8732"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><b>SignalNeedUserInputPassphrase</b> ()</td></tr>
|
|
<tr class="separator:a36e807be6873698b5f8d4218bdfe8732"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><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:a39882b323569987592231f722a2ef147"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1GpgContext.html#a39882b323569987592231f722a2ef147">GpgContext</a> (const <a class="el" href="structGpgFrontend_1_1GpgContextInitArgs.html">GpgContextInitArgs</a> &args={})</td></tr>
|
|
<tr class="memdesc:a39882b323569987592231f722a2ef147"><td class="mdescLeft"> </td><td class="mdescRight">Construct a new Gpg Context object. <a href="classGpgFrontend_1_1GpgContext.html#a39882b323569987592231f722a2ef147">More...</a><br /></td></tr>
|
|
<tr class="separator:a39882b323569987592231f722a2ef147"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a2429d3f9daa189b4d5d8624c9f4d528b"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1GpgContext.html#a2429d3f9daa189b4d5d8624c9f4d528b">GpgContext</a> (int channel)</td></tr>
|
|
<tr class="memdesc:a2429d3f9daa189b4d5d8624c9f4d528b"><td class="mdescLeft"> </td><td class="mdescRight">Construct a new Gpg Context object. <a href="classGpgFrontend_1_1GpgContext.html#a2429d3f9daa189b4d5d8624c9f4d528b">More...</a><br /></td></tr>
|
|
<tr class="separator:a2429d3f9daa189b4d5d8624c9f4d528b"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ae89dee551354c1541337881898832725"><td class="memItemLeft" align="right" valign="top"><a id="ae89dee551354c1541337881898832725"></a>
|
|
 </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1GpgContext.html#ae89dee551354c1541337881898832725">~GpgContext</a> () override=default</td></tr>
|
|
<tr class="memdesc:ae89dee551354c1541337881898832725"><td class="mdescLeft"> </td><td class="mdescRight">Destroy the Gpg Context object. <br /></td></tr>
|
|
<tr class="separator:ae89dee551354c1541337881898832725"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a73c505a2f3d39d1638dc4d9a3e13a913"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1GpgContext.html#a73c505a2f3d39d1638dc4d9a3e13a913">good</a> () const</td></tr>
|
|
<tr class="separator:a73c505a2f3d39d1638dc4d9a3e13a913"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a4a8f6ff37e45979159ab375b2c7d48c3"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classGpgFrontend_1_1GpgInfo.html">GpgInfo</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1GpgContext.html#a4a8f6ff37e45979159ab375b2c7d48c3">GetInfo</a> (bool refresh=false)</td></tr>
|
|
<tr class="memdesc:a4a8f6ff37e45979159ab375b2c7d48c3"><td class="mdescLeft"> </td><td class="mdescRight">Get the Info object. <a href="classGpgFrontend_1_1GpgContext.html#a4a8f6ff37e45979159ab375b2c7d48c3">More...</a><br /></td></tr>
|
|
<tr class="separator:a4a8f6ff37e45979159ab375b2c7d48c3"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a5b419175bd9927f3d449637db8ba6524"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1GpgContext.html#a5b419175bd9927f3d449637db8ba6524">operator gpgme_ctx_t</a> () const</td></tr>
|
|
<tr class="separator:a5b419175bd9927f3d449637db8ba6524"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a3399fc60086ff5010a089bff48bbc63c"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1GpgContext.html#a3399fc60086ff5010a089bff48bbc63c">SetPassphraseCb</a> (gpgme_passphrase_cb_t func) const</td></tr>
|
|
<tr class="memdesc:a3399fc60086ff5010a089bff48bbc63c"><td class="mdescLeft"> </td><td class="mdescRight">Set the Passphrase Cb object. <a href="classGpgFrontend_1_1GpgContext.html#a3399fc60086ff5010a089bff48bbc63c">More...</a><br /></td></tr>
|
|
<tr class="separator:a3399fc60086ff5010a089bff48bbc63c"><td class="memSeparator" colspan="2"> </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="-"/> Public Member Functions inherited from <a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html">GpgFrontend::SingletonFunctionObject< GpgContext ></a></td></tr>
|
|
<tr class="memitem:a194e49b07d46345bdad386505d743a61 inherit pub_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memItemLeft" align="right" valign="top"><a id="a194e49b07d46345bdad386505d743a61"></a>
|
|
 </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#a194e49b07d46345bdad386505d743a61">SingletonFunctionObject</a> (const <a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html">SingletonFunctionObject</a>< <a class="el" href="classGpgFrontend_1_1GpgContext.html">GpgContext</a> > &)=delete</td></tr>
|
|
<tr class="memdesc:a194e49b07d46345bdad386505d743a61 inherit pub_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="mdescLeft"> </td><td class="mdescRight">prohibit copy <br /></td></tr>
|
|
<tr class="separator:a194e49b07d46345bdad386505d743a61 inherit pub_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aabc5fe8e5a372ac276a265286457cb9a inherit pub_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memItemLeft" align="right" valign="top"><a id="aabc5fe8e5a372ac276a265286457cb9a"></a>
|
|
 </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#aabc5fe8e5a372ac276a265286457cb9a">SingletonFunctionObject</a> (<a class="el" href="classGpgFrontend_1_1GpgContext.html">GpgContext</a> &&)=delete</td></tr>
|
|
<tr class="memdesc:aabc5fe8e5a372ac276a265286457cb9a inherit pub_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="mdescLeft"> </td><td class="mdescRight">Construct a new Singleton Function Object object. <br /></td></tr>
|
|
<tr class="separator:aabc5fe8e5a372ac276a265286457cb9a inherit pub_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a7090636bed6f4bad5b99f28f6872c645 inherit pub_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memItemLeft" align="right" valign="top"><a id="a7090636bed6f4bad5b99f28f6872c645"></a>
|
|
 </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#a7090636bed6f4bad5b99f28f6872c645">SingletonFunctionObject</a> (const <a class="el" href="classGpgFrontend_1_1GpgContext.html">GpgContext</a> &)=delete</td></tr>
|
|
<tr class="memdesc:a7090636bed6f4bad5b99f28f6872c645 inherit pub_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="mdescLeft"> </td><td class="mdescRight">Construct a new Singleton Function Object object. <br /></td></tr>
|
|
<tr class="separator:a7090636bed6f4bad5b99f28f6872c645 inherit pub_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aabb190a60f7a5d4ded43cae16ab8f59e inherit pub_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html">SingletonFunctionObject</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#aabb190a60f7a5d4ded43cae16ab8f59e">operator=</a> (const <a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html">SingletonFunctionObject</a>< <a class="el" href="classGpgFrontend_1_1GpgContext.html">GpgContext</a> > &)=delete</td></tr>
|
|
<tr class="memdesc:aabb190a60f7a5d4ded43cae16ab8f59e inherit pub_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="mdescLeft"> </td><td class="mdescRight">prohibit copy <a href="classGpgFrontend_1_1SingletonFunctionObject.html#aabb190a60f7a5d4ded43cae16ab8f59e">More...</a><br /></td></tr>
|
|
<tr class="separator:aabb190a60f7a5d4ded43cae16ab8f59e inherit pub_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a03ce3095a745ecbf5e6a032e7da4bc97 inherit pub_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memItemLeft" align="right" valign="top"><a id="a03ce3095a745ecbf5e6a032e7da4bc97"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><b>operator=</b> (const <a class="el" href="classGpgFrontend_1_1GpgContext.html">GpgContext</a> &)=delete</td></tr>
|
|
<tr class="separator:a03ce3095a745ecbf5e6a032e7da4bc97 inherit pub_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aa99440b9177f5d0c18840f08a40d64b7 inherit pub_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memItemLeft" align="right" valign="top">int </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"> </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"> </td></tr>
|
|
<tr class="inherit_header pub_methods_classGpgFrontend_1_1ChannelObject"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classGpgFrontend_1_1ChannelObject')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classGpgFrontend_1_1ChannelObject.html">GpgFrontend::ChannelObject</a></td></tr>
|
|
<tr class="memitem:aedbf32eddc701e521bd8e790ef208da0 inherit pub_methods_classGpgFrontend_1_1ChannelObject"><td class="memItemLeft" align="right" valign="top"><a id="aedbf32eddc701e521bd8e790ef208da0"></a>
|
|
 </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1ChannelObject.html#aedbf32eddc701e521bd8e790ef208da0">ChannelObject</a> () noexcept</td></tr>
|
|
<tr class="memdesc:aedbf32eddc701e521bd8e790ef208da0 inherit pub_methods_classGpgFrontend_1_1ChannelObject"><td class="mdescLeft"> </td><td class="mdescRight">Construct a new Default Channel Object object. <br /></td></tr>
|
|
<tr class="separator:aedbf32eddc701e521bd8e790ef208da0 inherit pub_methods_classGpgFrontend_1_1ChannelObject"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a68ad2a19339e3cd50626fe0eaad17ccd inherit pub_methods_classGpgFrontend_1_1ChannelObject"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1ChannelObject.html#a68ad2a19339e3cd50626fe0eaad17ccd">ChannelObject</a> (int channel)</td></tr>
|
|
<tr class="memdesc:a68ad2a19339e3cd50626fe0eaad17ccd inherit pub_methods_classGpgFrontend_1_1ChannelObject"><td class="mdescLeft"> </td><td class="mdescRight">Construct a new Channel Object object. <a href="classGpgFrontend_1_1ChannelObject.html#a68ad2a19339e3cd50626fe0eaad17ccd">More...</a><br /></td></tr>
|
|
<tr class="separator:a68ad2a19339e3cd50626fe0eaad17ccd inherit pub_methods_classGpgFrontend_1_1ChannelObject"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a0e13a4bff1cfb679f68a3a2590a3b1b8 inherit pub_methods_classGpgFrontend_1_1ChannelObject"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1ChannelObject.html#a0e13a4bff1cfb679f68a3a2590a3b1b8">GetChannel</a> () const</td></tr>
|
|
<tr class="memdesc:a0e13a4bff1cfb679f68a3a2590a3b1b8 inherit pub_methods_classGpgFrontend_1_1ChannelObject"><td class="mdescLeft"> </td><td class="mdescRight">Get the Channel object. <a href="classGpgFrontend_1_1ChannelObject.html#a0e13a4bff1cfb679f68a3a2590a3b1b8">More...</a><br /></td></tr>
|
|
<tr class="separator:a0e13a4bff1cfb679f68a3a2590a3b1b8 inherit pub_methods_classGpgFrontend_1_1ChannelObject"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aa3b19cad6d873b314bba32a3dae85f09 inherit pub_methods_classGpgFrontend_1_1ChannelObject"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1ChannelObject.html#aa3b19cad6d873b314bba32a3dae85f09">SetChannel</a> (int channel)</td></tr>
|
|
<tr class="memdesc:aa3b19cad6d873b314bba32a3dae85f09 inherit pub_methods_classGpgFrontend_1_1ChannelObject"><td class="mdescLeft"> </td><td class="mdescRight">Set the Channel object. <a href="classGpgFrontend_1_1ChannelObject.html#aa3b19cad6d873b314bba32a3dae85f09">More...</a><br /></td></tr>
|
|
<tr class="separator:aa3b19cad6d873b314bba32a3dae85f09 inherit pub_methods_classGpgFrontend_1_1ChannelObject"><td class="memSeparator" colspan="2"> </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:acc4234054002065dfbc5d5261a4950d4"><td class="memItemLeft" align="right" valign="top">static gpgme_error_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1GpgContext.html#acc4234054002065dfbc5d5261a4950d4">test_passphrase_cb</a> (void *opaque, const char *uid_hint, const char *passphrase_info, int last_was_bad, int fd)</td></tr>
|
|
<tr class="separator:acc4234054002065dfbc5d5261a4950d4"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:af46f09a4f5c77429c3e782b551812ec2"><td class="memItemLeft" align="right" valign="top">static gpgme_error_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1GpgContext.html#af46f09a4f5c77429c3e782b551812ec2">custom_passphrase_cb</a> (void *opaque, const char *uid_hint, const char *passphrase_info, int last_was_bad, int fd)</td></tr>
|
|
<tr class="separator:af46f09a4f5c77429c3e782b551812ec2"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a3844cd0966134939e5c4be9a725e5271"><td class="memItemLeft" align="right" valign="top">static gpgme_error_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1GpgContext.html#a3844cd0966134939e5c4be9a725e5271">test_status_cb</a> (void *hook, const char *keyword, const char *args)</td></tr>
|
|
<tr class="separator:a3844cd0966134939e5c4be9a725e5271"><td class="memSeparator" colspan="2"> </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="-"/> Static Public Member Functions inherited from <a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html">GpgFrontend::SingletonFunctionObject< GpgContext ></a></td></tr>
|
|
<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_1GpgContext.html">GpgContext</a> & </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"> </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"> </td></tr>
|
|
<tr class="memitem:a083807ff8cec58dc0aa732844edaf518 inherit pub_static_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classGpgFrontend_1_1GpgContext.html">GpgContext</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#a083807ff8cec58dc0aa732844edaf518">CreateInstance</a> (int channel, std::function< std::unique_ptr< <a class="el" href="classGpgFrontend_1_1ChannelObject.html">ChannelObject</a> >(void)> factory)</td></tr>
|
|
<tr class="memdesc:a083807ff8cec58dc0aa732844edaf518 inherit pub_static_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="mdescLeft"> </td><td class="mdescRight">Create a Instance object. <a href="classGpgFrontend_1_1SingletonFunctionObject.html#a083807ff8cec58dc0aa732844edaf518">More...</a><br /></td></tr>
|
|
<tr class="separator:a083807ff8cec58dc0aa732844edaf518 inherit pub_static_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ab49b1d50252e1934691a9483a6df2106 inherit pub_static_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#ab49b1d50252e1934691a9483a6df2106">ReleaseChannel</a> (int channel)</td></tr>
|
|
<tr class="separator:ab49b1d50252e1934691a9483a6df2106 inherit pub_static_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a50e2b3794d6553f4231eaec72d9d0a50 inherit pub_static_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memItemLeft" align="right" valign="top">static int </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"> </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"> </td></tr>
|
|
<tr class="memitem:a5f2f0474871971f86ff91fb6a2408621 inherit pub_static_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memItemLeft" align="right" valign="top">static std::vector< int > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#a5f2f0474871971f86ff91fb6a2408621">GetAllChannelId</a> ()</td></tr>
|
|
<tr class="memdesc:a5f2f0474871971f86ff91fb6a2408621 inherit pub_static_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="mdescLeft"> </td><td class="mdescRight">Get all the channel ids. <a href="classGpgFrontend_1_1SingletonFunctionObject.html#a5f2f0474871971f86ff91fb6a2408621">More...</a><br /></td></tr>
|
|
<tr class="separator:a5f2f0474871971f86ff91fb6a2408621 inherit pub_static_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="inherit_header pub_static_methods_classGpgFrontend_1_1ChannelObject"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_classGpgFrontend_1_1ChannelObject')"><img src="closed.png" alt="-"/> Static Public Member Functions inherited from <a class="el" href="classGpgFrontend_1_1ChannelObject.html">GpgFrontend::ChannelObject</a></td></tr>
|
|
<tr class="memitem:aece9c525c49900734bc1bebf85b644ef inherit pub_static_methods_classGpgFrontend_1_1ChannelObject"><td class="memItemLeft" align="right" valign="top">static int </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1ChannelObject.html#aece9c525c49900734bc1bebf85b644ef">GetDefaultChannel</a> ()</td></tr>
|
|
<tr class="memdesc:aece9c525c49900734bc1bebf85b644ef inherit pub_static_methods_classGpgFrontend_1_1ChannelObject"><td class="mdescLeft"> </td><td class="mdescRight">Get the Default Channel object. <a href="classGpgFrontend_1_1ChannelObject.html#aece9c525c49900734bc1bebf85b644ef">More...</a><br /></td></tr>
|
|
<tr class="separator:aece9c525c49900734bc1bebf85b644ef inherit pub_static_methods_classGpgFrontend_1_1ChannelObject"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-types"></a>
|
|
Private Types</h2></td></tr>
|
|
<tr class="memitem:aeafe3f6d1d97d63aeefa428cce23bc59"><td class="memItemLeft" align="right" valign="top"><a id="aeafe3f6d1d97d63aeefa428cce23bc59"></a>
|
|
using </td><td class="memItemRight" valign="bottom"><b>CtxRefHandler</b> = std::unique_ptr< struct gpgme_context, <a class="el" href="structGpgFrontend_1_1GpgContext_1_1__ctx__ref__deleter.html">_ctx_ref_deleter</a> ></td></tr>
|
|
<tr class="separator:aeafe3f6d1d97d63aeefa428cce23bc59"><td class="memSeparator" colspan="2"> </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:aaf3f394ff1790897c315c3249b1f06fe"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1GpgContext.html#aaf3f394ff1790897c315c3249b1f06fe">post_init_ctx</a> ()</td></tr>
|
|
<tr class="separator:aaf3f394ff1790897c315c3249b1f06fe"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ac7c9b2212a77e7cede94d68243541b1b"><td class="memItemLeft" align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1GpgContext.html#ac7c9b2212a77e7cede94d68243541b1b">need_user_input_passphrase</a> ()</td></tr>
|
|
<tr class="separator:ac7c9b2212a77e7cede94d68243541b1b"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a76fba43d1439c7811e1a9424d0c16d40"><td class="memItemLeft" align="right" valign="top"><a id="a76fba43d1439c7811e1a9424d0c16d40"></a>
|
|
std::optional< std::string > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1GpgContext.html#a76fba43d1439c7811e1a9424d0c16d40">check_binary_chacksum</a> (std::filesystem::path)</td></tr>
|
|
<tr class="memdesc:a76fba43d1439c7811e1a9424d0c16d40"><td class="mdescLeft"> </td><td class="mdescRight">Construct a new std::check component existence object. <br /></td></tr>
|
|
<tr class="separator:a76fba43d1439c7811e1a9424d0c16d40"><td class="memSeparator" colspan="2"> </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:a838e2ec5571dc810af7c075c28d630db"><td class="memItemLeft" align="right" valign="top"><a id="a838e2ec5571dc810af7c075c28d630db"></a>
|
|
<a class="el" href="classGpgFrontend_1_1GpgInfo.html">GpgInfo</a> </td><td class="memItemRight" valign="bottom"><b>info_</b> {}</td></tr>
|
|
<tr class="separator:a838e2ec5571dc810af7c075c28d630db"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a4765cccf9f994a9c7b3d962a24bed77e"><td class="memItemLeft" align="right" valign="top"><a id="a4765cccf9f994a9c7b3d962a24bed77e"></a>
|
|
<a class="el" href="structGpgFrontend_1_1GpgContextInitArgs.html">GpgContextInitArgs</a> </td><td class="memItemRight" valign="bottom"><b>args_</b> {}</td></tr>
|
|
<tr class="separator:a4765cccf9f994a9c7b3d962a24bed77e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ad89cdcb4fd0d8ad759e59254e4b7281c"><td class="memItemLeft" align="right" valign="top"><a id="ad89cdcb4fd0d8ad759e59254e4b7281c"></a>
|
|
bool </td><td class="memItemRight" valign="bottom"><b>extend_info_loaded_</b> = false</td></tr>
|
|
<tr class="separator:ad89cdcb4fd0d8ad759e59254e4b7281c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a4fb92a23d989f514536a26509b4d0993"><td class="memItemLeft" align="right" valign="top"><a id="a4fb92a23d989f514536a26509b4d0993"></a>
|
|
std::shared_mutex </td><td class="memItemRight" valign="bottom"><b>preload_lock_</b> {}</td></tr>
|
|
<tr class="separator:a4fb92a23d989f514536a26509b4d0993"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aaf3f5b4528b35bf0dc7a50163224a9a3"><td class="memItemLeft" align="right" valign="top"><a id="aaf3f5b4528b35bf0dc7a50163224a9a3"></a>
|
|
CtxRefHandler </td><td class="memItemRight" valign="bottom"><b>_ctx_ref</b> = nullptr</td></tr>
|
|
<tr class="separator:aaf3f5b4528b35bf0dc7a50163224a9a3"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a01e46d0718b61a224a52028b9da90468"><td class="memItemLeft" align="right" valign="top"><a id="a01e46d0718b61a224a52028b9da90468"></a>
|
|
bool </td><td class="memItemRight" valign="bottom"><b>good_</b> = true</td></tr>
|
|
<tr class="separator:a01e46d0718b61a224a52028b9da90468"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
|
|
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="-"/> Protected Member Functions inherited from <a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html">GpgFrontend::SingletonFunctionObject< GpgContext ></a></td></tr>
|
|
<tr class="memitem:a02e76b42ab51d77588b01c7508bed258 inherit pro_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memItemLeft" align="right" valign="top"><a id="a02e76b42ab51d77588b01c7508bed258"></a>
|
|
 </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"> </td><td class="mdescRight">Construct a new Singleton Function Object object. <br /></td></tr>
|
|
<tr class="separator:a02e76b42ab51d77588b01c7508bed258 inherit pro_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a4aa7f1eb1d3281bb1fccfcbb1b416251 inherit pro_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memItemLeft" align="right" valign="top"> </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"> </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"> </td></tr>
|
|
<tr class="memitem:a8296be8c449f88175285186831b995bc inherit pro_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memItemLeft" align="right" valign="top"><a id="a8296be8c449f88175285186831b995bc"></a>
|
|
virtual </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"> </td><td class="mdescRight">Destroy the Singleton Function Object object. <br /></td></tr>
|
|
<tr class="separator:a8296be8c449f88175285186831b995bc inherit pro_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<h2 class="groupheader">Constructor & Destructor Documentation</h2>
|
|
<a id="a39882b323569987592231f722a2ef147"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a39882b323569987592231f722a2ef147">◆ </a></span>GpgContext() <span class="overload">[1/2]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">GpgFrontend::GpgContext::GpgContext </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="structGpgFrontend_1_1GpgContextInitArgs.html">GpgContextInitArgs</a> & </td>
|
|
<td class="paramname"><em>args</em> = <code>{}</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">
|
|
|
|
<p>Construct a new Gpg Context object. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">args</td><td>Constructor Set up gpgme-context, set paths to app-run path </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p class="reference">References <a class="el" href="classGpgFrontend_1_1GpgInfo.html#a2416ae0ab9bedc61782d16075750a9c0">GpgFrontend::GpgInfo::AppPath</a>, <a class="el" href="classGpgFrontend_1_1GpgInfo.html#a48659b780f8d0153ca0eb985a072b5ba">GpgFrontend::GpgInfo::AssuanPath</a>, <a class="el" href="namespaceGpgFrontend.html#afdad4e5f4c3ac891c09216e245c0f48e">GpgFrontend::check_gpg_error()</a>, <a class="el" href="namespaceGpgFrontend.html#a4edac6df92596ba8eea3a8cdc1173684">GpgFrontend::check_gpg_error_2_err_code()</a>, <a class="el" href="classGpgFrontend_1_1GpgInfo.html#ac8ecbf438d05dc434c77825dd38dfdf2">GpgFrontend::GpgInfo::CMSPath</a>, <a class="el" href="classGpgFrontend_1_1GpgInfo.html#a7347d47006bdf41f1da979ea3289de7e">GpgFrontend::GpgInfo::DatabasePath</a>, <a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#a70484d7cfe9f9dcbcd5f8bb749250f36">GpgFrontend::SingletonFunctionObject< TaskRunnerGetter >::GetInstance()</a>, <a class="el" href="classGpgFrontend_1_1GpgInfo.html#abbb3d503b10073bebf86d79bbaeab4c9">GpgFrontend::GpgInfo::GnupgVersion</a>, <a class="el" href="classGpgFrontend_1_1GpgInfo.html#a2fcd53b59bc251c38eb8d79cec946777">GpgFrontend::GpgInfo::GpgConfPath</a>, and <a class="el" href="classGpgFrontend_1_1GpgContext.html#aaf3f394ff1790897c315c3249b1f06fe">post_init_ctx()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a2429d3f9daa189b4d5d8624c9f4d528b"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a2429d3f9daa189b4d5d8624c9f4d528b">◆ </a></span>GpgContext() <span class="overload">[2/2]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">GpgFrontend::GpgContext::GpgContext </td>
|
|
<td>(</td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>channel</em></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">
|
|
|
|
<p>Construct a new Gpg Context object. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">channel</td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Member Function Documentation</h2>
|
|
<a id="af46f09a4f5c77429c3e782b551812ec2"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#af46f09a4f5c77429c3e782b551812ec2">◆ </a></span>custom_passphrase_cb()</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::GpgContext::custom_passphrase_cb </td>
|
|
<td>(</td>
|
|
<td class="paramtype">void * </td>
|
|
<td class="paramname"><em>opaque</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const char * </td>
|
|
<td class="paramname"><em>uid_hint</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const char * </td>
|
|
<td class="paramname"><em>passphrase_info</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>last_was_bad</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>fd</em> </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">opaque</td><td></td></tr>
|
|
<tr><td class="paramname">uid_hint</td><td></td></tr>
|
|
<tr><td class="paramname">passphrase_info</td><td></td></tr>
|
|
<tr><td class="paramname">last_was_bad</td><td></td></tr>
|
|
<tr><td class="paramname">fd</td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>gpgme_error_t </dd></dl>
|
|
|
|
<p class="reference">References <a class="el" href="classGpgFrontend_1_1CoreCommonUtil.html#a8588dfa6ccb57c055f022b13e2da1e7c">GpgFrontend::CoreCommonUtil::GetInstance()</a>, <a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#a70484d7cfe9f9dcbcd5f8bb749250f36">GpgFrontend::SingletonFunctionObject< GpgContext >::GetInstance()</a>, <a class="el" href="classGpgFrontend_1_1CoreCommonUtil.html#a7689d3abb54a1cef6a826fc944d9dec7">GpgFrontend::CoreCommonUtil::GetTempCacheValue()</a>, and <a class="el" href="classGpgFrontend_1_1GpgContext.html#ac7c9b2212a77e7cede94d68243541b1b">need_user_input_passphrase()</a>.</p>
|
|
|
|
<p class="reference">Referenced by <a class="el" href="classGpgFrontend_1_1GpgContext.html#aaf3f394ff1790897c315c3249b1f06fe">post_init_ctx()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a4a8f6ff37e45979159ab375b2c7d48c3"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a4a8f6ff37e45979159ab375b2c7d48c3">◆ </a></span>GetInfo()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">const <a class="el" href="classGpgFrontend_1_1GpgInfo.html">GpgInfo</a> & GpgFrontend::GpgContext::GetInfo </td>
|
|
<td>(</td>
|
|
<td class="paramtype">bool </td>
|
|
<td class="paramname"><em>refresh</em> = <code>false</code></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Get the Info object. </p>
|
|
<dl class="section return"><dt>Returns</dt><dd>const <a class="el" href="classGpgFrontend_1_1GpgInfo.html" title="Use to record some info about gnupg.">GpgInfo</a>& </dd></dl>
|
|
|
|
<p class="reference">References <a class="el" href="classGpgFrontend_1_1GpgContext.html#a76fba43d1439c7811e1a9424d0c16d40">check_binary_chacksum()</a>, <a class="el" href="classGpgFrontend_1_1GpgInfo.html#a8c7e75d67b2438c61bbe4cebe68a7029">GpgFrontend::GpgInfo::DirmngrPath</a>, <a class="el" href="classGpgFrontend_1_1GpgCommandExecutor.html#affa984ec4c2982c527761289f73c1ab4">GpgFrontend::GpgCommandExecutor::Execute()</a>, <a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#a70484d7cfe9f9dcbcd5f8bb749250f36">GpgFrontend::SingletonFunctionObject< GpgCommandExecutor >::GetInstance()</a>, <a class="el" href="classGpgFrontend_1_1GpgInfo.html#a0c1dbdb54f880a620419fdbd8336dc5d">GpgFrontend::GpgInfo::GnuPGHomePath</a>, <a class="el" href="classGpgFrontend_1_1GpgInfo.html#abbb3d503b10073bebf86d79bbaeab4c9">GpgFrontend::GpgInfo::GnupgVersion</a>, <a class="el" href="classGpgFrontend_1_1GpgInfo.html#af6ca2e99ffc487b8e4aa251d3cb23191">GpgFrontend::GpgInfo::GpgAgentPath</a>, <a class="el" href="classGpgFrontend_1_1GpgInfo.html#a2fcd53b59bc251c38eb8d79cec946777">GpgFrontend::GpgInfo::GpgConfPath</a>, and <a class="el" href="classGpgFrontend_1_1GpgInfo.html#a072503811cb59dad27040e4e8914d18b">GpgFrontend::GpgInfo::KeyboxdPath</a>.</p>
|
|
|
|
<p class="reference">Referenced by <a class="el" href="classGpgFrontend_1_1GpgContext.html#aaf3f394ff1790897c315c3249b1f06fe">post_init_ctx()</a>, and <a class="el" href="classGpgFrontend_1_1UI_1_1CommonUtils.html#afc845c1c37487c99f78d8e66f6874f6d">GpgFrontend::UI::CommonUtils::SlotExecuteGpgCommand()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a73c505a2f3d39d1638dc4d9a3e13a913"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a73c505a2f3d39d1638dc4d9a3e13a913">◆ </a></span>good()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool GpgFrontend::GpgContext::good </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<dl class="section return"><dt>Returns</dt><dd>true </dd>
|
|
<dd>
|
|
false </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ac7c9b2212a77e7cede94d68243541b1b"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ac7c9b2212a77e7cede94d68243541b1b">◆ </a></span>need_user_input_passphrase()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">std::string GpgFrontend::GpgContext::need_user_input_passphrase </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">private</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<dl class="section return"><dt>Returns</dt><dd>std::string </dd></dl>
|
|
|
|
<p class="reference">References <a class="el" href="classGpgFrontend_1_1CoreSignalStation.html#a0c5893909726b919ea733de9906cfb36">GpgFrontend::CoreSignalStation::GetInstance()</a>.</p>
|
|
|
|
<p class="reference">Referenced by <a class="el" href="classGpgFrontend_1_1GpgContext.html#af46f09a4f5c77429c3e782b551812ec2">custom_passphrase_cb()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a5b419175bd9927f3d449637db8ba6524"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a5b419175bd9927f3d449637db8ba6524">◆ </a></span>operator gpgme_ctx_t()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">GpgFrontend::GpgContext::operator gpgme_ctx_t </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<dl class="section return"><dt>Returns</dt><dd>gpgme_ctx_t </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="aaf3f394ff1790897c315c3249b1f06fe"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aaf3f394ff1790897c315c3249b1f06fe">◆ </a></span>post_init_ctx()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void GpgFrontend::GpgContext::post_init_ctx </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">private</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Setting the output type must be done at the beginning</p>
|
|
<p>think this means ascii-armor --> ?</p>
|
|
<p>Setting the output type must be done at the beginning</p>
|
|
<p>think this means ascii-armor --> ?</p>
|
|
|
|
<p class="reference">References <a class="el" href="classGpgFrontend_1_1GpgInfo.html#a2416ae0ab9bedc61782d16075750a9c0">GpgFrontend::GpgInfo::AppPath</a>, <a class="el" href="namespaceGpgFrontend.html#afdad4e5f4c3ac891c09216e245c0f48e">GpgFrontend::check_gpg_error()</a>, <a class="el" href="namespaceGpgFrontend.html#a4edac6df92596ba8eea3a8cdc1173684">GpgFrontend::check_gpg_error_2_err_code()</a>, <a class="el" href="classGpgFrontend_1_1GpgContext.html#af46f09a4f5c77429c3e782b551812ec2">custom_passphrase_cb()</a>, <a class="el" href="classGpgFrontend_1_1GpgInfo.html#a7347d47006bdf41f1da979ea3289de7e">GpgFrontend::GpgInfo::DatabasePath</a>, <a class="el" href="classGpgFrontend_1_1GpgContext.html#a4a8f6ff37e45979159ab375b2c7d48c3">GetInfo()</a>, <a class="el" href="classGpgFrontend_1_1CoreSignalStation.html#a0c5893909726b919ea733de9906cfb36">GpgFrontend::CoreSignalStation::GetInstance()</a>, <a class="el" href="classGpgFrontend_1_1GpgInfo.html#abbb3d503b10073bebf86d79bbaeab4c9">GpgFrontend::GpgInfo::GnupgVersion</a>, <a class="el" href="classGpgFrontend_1_1GpgContext.html#a3399fc60086ff5010a089bff48bbc63c">SetPassphraseCb()</a>, <a class="el" href="classGpgFrontend_1_1GpgContext.html#acc4234054002065dfbc5d5261a4950d4">test_passphrase_cb()</a>, and <a class="el" href="classGpgFrontend_1_1GpgContext.html#a3844cd0966134939e5c4be9a725e5271">test_status_cb()</a>.</p>
|
|
|
|
<p class="reference">Referenced by <a class="el" href="classGpgFrontend_1_1GpgContext.html#a39882b323569987592231f722a2ef147">GpgContext()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a3399fc60086ff5010a089bff48bbc63c"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a3399fc60086ff5010a089bff48bbc63c">◆ </a></span>SetPassphraseCb()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void GpgFrontend::GpgContext::SetPassphraseCb </td>
|
|
<td>(</td>
|
|
<td class="paramtype">gpgme_passphrase_cb_t </td>
|
|
<td class="paramname"><em>func</em></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Set the Passphrase Cb object. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">func</td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p class="reference">References <a class="el" href="classGpgFrontend_1_1GpgInfo.html#abbb3d503b10073bebf86d79bbaeab4c9">GpgFrontend::GpgInfo::GnupgVersion</a>.</p>
|
|
|
|
<p class="reference">Referenced by <a class="el" href="classGpgFrontend_1_1GpgContext.html#aaf3f394ff1790897c315c3249b1f06fe">post_init_ctx()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="acc4234054002065dfbc5d5261a4950d4"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#acc4234054002065dfbc5d5261a4950d4">◆ </a></span>test_passphrase_cb()</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::GpgContext::test_passphrase_cb </td>
|
|
<td>(</td>
|
|
<td class="paramtype">void * </td>
|
|
<td class="paramname"><em>opaque</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const char * </td>
|
|
<td class="paramname"><em>uid_hint</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const char * </td>
|
|
<td class="paramname"><em>passphrase_info</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>last_was_bad</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>fd</em> </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">opaque</td><td></td></tr>
|
|
<tr><td class="paramname">uid_hint</td><td></td></tr>
|
|
<tr><td class="paramname">passphrase_info</td><td></td></tr>
|
|
<tr><td class="paramname">last_was_bad</td><td></td></tr>
|
|
<tr><td class="paramname">fd</td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>gpgme_error_t </dd></dl>
|
|
|
|
<p class="reference">Referenced by <a class="el" href="classGpgFrontend_1_1GpgContext.html#aaf3f394ff1790897c315c3249b1f06fe">post_init_ctx()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a3844cd0966134939e5c4be9a725e5271"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a3844cd0966134939e5c4be9a725e5271">◆ </a></span>test_status_cb()</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::GpgContext::test_status_cb </td>
|
|
<td>(</td>
|
|
<td class="paramtype">void * </td>
|
|
<td class="paramname"><em>hook</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const char * </td>
|
|
<td class="paramname"><em>keyword</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const char * </td>
|
|
<td class="paramname"><em>args</em> </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">hook</td><td></td></tr>
|
|
<tr><td class="paramname">keyword</td><td></td></tr>
|
|
<tr><td class="paramname">args</td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>gpgme_error_t </dd></dl>
|
|
|
|
<p class="reference">Referenced by <a class="el" href="classGpgFrontend_1_1GpgContext.html#aaf3f394ff1790897c315c3249b1f06fe">post_init_ctx()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<hr/>The documentation for this class was generated from the following files:<ul>
|
|
<li>src/core/<a class="el" href="GpgContext_8h_source.html">GpgContext.h</a></li>
|
|
<li>src/core/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="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>
|