764 lines
57 KiB
HTML
764 lines
57 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::GpgKeyOpera 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_1GpgKeyOpera.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> |
|
|
<a href="#pri-attribs">Private Attributes</a> |
|
|
<a href="classGpgFrontend_1_1GpgKeyOpera-members.html">List of all members</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">GpgFrontend::GpgKeyOpera Class Reference</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<div class="dynheader">
|
|
Inheritance diagram for GpgFrontend::GpgKeyOpera:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="classGpgFrontend_1_1GpgKeyOpera__inherit__graph.png" border="0" usemap="#aGpgFrontend_1_1GpgKeyOpera_inherit__map" alt="Inheritance graph"/></div>
|
|
<map name="aGpgFrontend_1_1GpgKeyOpera_inherit__map" id="aGpgFrontend_1_1GpgKeyOpera_inherit__map">
|
|
<area shape="rect" title=" " alt="" coords="5,897,244,1151"/>
|
|
<area shape="rect" href="classGpgFrontend_1_1SingletonFunctionObject.html" title=" " alt="" coords="10,565,239,848"/>
|
|
<area shape="rect" href="classGpgFrontend_1_1ChannelObject.html" title="object which in channel system is called "channel"" alt="" coords="15,5,223,171"/>
|
|
<area shape="rect" href="classGpgFrontend_1_1SingletonFunctionObject.html" title=" " alt="" coords="141,220,370,503"/>
|
|
</map>
|
|
</div>
|
|
<div class="dynheader">
|
|
Collaboration diagram for GpgFrontend::GpgKeyOpera:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="classGpgFrontend_1_1GpgKeyOpera__coll__graph.png" border="0" usemap="#aGpgFrontend_1_1GpgKeyOpera_coll__map" alt="Collaboration graph"/></div>
|
|
<map name="aGpgFrontend_1_1GpgKeyOpera_coll__map" id="aGpgFrontend_1_1GpgKeyOpera_coll__map">
|
|
<area shape="rect" title=" " alt="" coords="82,1111,321,1364"/>
|
|
<area shape="rect" href="classGpgFrontend_1_1SingletonFunctionObject.html" title=" " alt="" coords="5,565,235,848"/>
|
|
<area shape="rect" href="classGpgFrontend_1_1ChannelObject.html" title="object which in channel system is called "channel"" alt="" coords="160,5,368,171"/>
|
|
<area shape="rect" href="classGpgFrontend_1_1SingletonFunctionObject.html" title=" " alt="" coords="149,220,379,503"/>
|
|
<area shape="rect" href="classGpgFrontend_1_1SingletonFunctionObject.html" title=" " alt="" coords="259,565,488,848"/>
|
|
<area shape="rect" href="classGpgFrontend_1_1GpgContext.html" title=" " alt="" coords="247,897,438,1048"/>
|
|
</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:a01d6a920156a38a34c57d9c49c361079"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1GpgKeyOpera.html#a01d6a920156a38a34c57d9c49c361079">GpgKeyOpera</a> (int channel=<a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#ad983153cbe3a0c32c123c506e04f31fc">SingletonFunctionObject::GetDefaultChannel</a>())</td></tr>
|
|
<tr class="memdesc:a01d6a920156a38a34c57d9c49c361079"><td class="mdescLeft"> </td><td class="mdescRight">Construct a new Gpg Key Opera object. <a href="classGpgFrontend_1_1GpgKeyOpera.html#a01d6a920156a38a34c57d9c49c361079">More...</a><br /></td></tr>
|
|
<tr class="separator:a01d6a920156a38a34c57d9c49c361079"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a8a06d0f7a600d4428359b653a68f717e"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1GpgKeyOpera.html#a8a06d0f7a600d4428359b653a68f717e">DeleteKeys</a> (KeyIdArgsListPtr key_ids)</td></tr>
|
|
<tr class="separator:a8a06d0f7a600d4428359b653a68f717e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a151c47b997951e9162f8b036c3cb15e0"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1GpgKeyOpera.html#a151c47b997951e9162f8b036c3cb15e0">DeleteKey</a> (const KeyId &key_id)</td></tr>
|
|
<tr class="separator:a151c47b997951e9162f8b036c3cb15e0"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a46fcc0675c7015a70a7b2b2517a2b99e"><td class="memItemLeft" align="right" valign="top">auto </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1GpgKeyOpera.html#a46fcc0675c7015a70a7b2b2517a2b99e">SetExpire</a> (const <a class="el" href="classGpgFrontend_1_1GpgKey.html">GpgKey</a> &key, const SubkeyId &subkey_fpr, std::unique_ptr< QDateTime > &expires) -> <a class="el" href="namespaceGpgFrontend.html#a2470eb154743191c3454203f23d3a2f8">GpgError</a></td></tr>
|
|
<tr class="memdesc:a46fcc0675c7015a70a7b2b2517a2b99e"><td class="mdescLeft"> </td><td class="mdescRight">Set the Expire object. <a href="classGpgFrontend_1_1GpgKeyOpera.html#a46fcc0675c7015a70a7b2b2517a2b99e">More...</a><br /></td></tr>
|
|
<tr class="separator:a46fcc0675c7015a70a7b2b2517a2b99e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ad97b418381a346162684045d8471de2d"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1GpgKeyOpera.html#ad97b418381a346162684045d8471de2d">GenerateRevokeCert</a> (const <a class="el" href="classGpgFrontend_1_1GpgKey.html">GpgKey</a> &key, const QString &output_path)</td></tr>
|
|
<tr class="separator:ad97b418381a346162684045d8471de2d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a5e65fa1edd5db89b38cf021975a60465"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1GpgKeyOpera.html#a5e65fa1edd5db89b38cf021975a60465">ModifyPassword</a> (const <a class="el" href="classGpgFrontend_1_1GpgKey.html">GpgKey</a> &key, const GpgOperationCallback &)</td></tr>
|
|
<tr class="separator:a5e65fa1edd5db89b38cf021975a60465"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a9e8efd9e57e05059396f0120535eef30"><td class="memItemLeft" align="right" valign="top">auto </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1GpgKeyOpera.html#a9e8efd9e57e05059396f0120535eef30">ModifyTOFUPolicy</a> (const <a class="el" href="classGpgFrontend_1_1GpgKey.html">GpgKey</a> &key, gpgme_tofu_policy_t tofu_policy) -> <a class="el" href="namespaceGpgFrontend.html#a2470eb154743191c3454203f23d3a2f8">GpgFrontend::GpgError</a></td></tr>
|
|
<tr class="separator:a9e8efd9e57e05059396f0120535eef30"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:af20beaf00ea43b399ab39bdb8e358427"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1GpgKeyOpera.html#af20beaf00ea43b399ab39bdb8e358427">GenerateKey</a> (const std::shared_ptr< <a class="el" href="classGpgFrontend_1_1GenKeyInfo.html">GenKeyInfo</a> > &, const GpgOperationCallback &)</td></tr>
|
|
<tr class="separator:af20beaf00ea43b399ab39bdb8e358427"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ab3e567066b22fa9b146324dcdbd34d30"><td class="memItemLeft" align="right" valign="top">auto </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1GpgKeyOpera.html#ab3e567066b22fa9b146324dcdbd34d30">GenerateKeySync</a> (const std::shared_ptr< <a class="el" href="classGpgFrontend_1_1GenKeyInfo.html">GenKeyInfo</a> > &params) -> std::tuple< <a class="el" href="namespaceGpgFrontend.html#a2470eb154743191c3454203f23d3a2f8">GpgError</a>, DataObjectPtr ></td></tr>
|
|
<tr class="separator:ab3e567066b22fa9b146324dcdbd34d30"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a54d339513039e008e821e64d0991206e"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1GpgKeyOpera.html#a54d339513039e008e821e64d0991206e">GenerateSubkey</a> (const <a class="el" href="classGpgFrontend_1_1GpgKey.html">GpgKey</a> &key, const std::shared_ptr< <a class="el" href="classGpgFrontend_1_1GenKeyInfo.html">GenKeyInfo</a> > &params, const GpgOperationCallback &)</td></tr>
|
|
<tr class="separator:a54d339513039e008e821e64d0991206e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a2ef5deb5bb7a50b5488228a72f6776bd"><td class="memItemLeft" align="right" valign="top">auto </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1GpgKeyOpera.html#a2ef5deb5bb7a50b5488228a72f6776bd">GenerateSubkeySync</a> (const <a class="el" href="classGpgFrontend_1_1GpgKey.html">GpgKey</a> &key, const std::shared_ptr< <a class="el" href="classGpgFrontend_1_1GenKeyInfo.html">GenKeyInfo</a> > &params) -> std::tuple< <a class="el" href="namespaceGpgFrontend.html#a2470eb154743191c3454203f23d3a2f8">GpgError</a>, DataObjectPtr ></td></tr>
|
|
<tr class="separator:a2ef5deb5bb7a50b5488228a72f6776bd"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:adf89f46010856486d25af3ea1e94b25d"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1GpgKeyOpera.html#adf89f46010856486d25af3ea1e94b25d">GenerateKeyWithSubkey</a> (const std::shared_ptr< <a class="el" href="classGpgFrontend_1_1GenKeyInfo.html">GenKeyInfo</a> > &params, const std::shared_ptr< <a class="el" href="classGpgFrontend_1_1GenKeyInfo.html">GenKeyInfo</a> > &subkey_params, const GpgOperationCallback &callback)</td></tr>
|
|
<tr class="separator:adf89f46010856486d25af3ea1e94b25d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a92708358f594869ff9cba1ea4d0a4ec6"><td class="memItemLeft" align="right" valign="top">auto </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1GpgKeyOpera.html#a92708358f594869ff9cba1ea4d0a4ec6">GenerateKeyWithSubkeySync</a> (const std::shared_ptr< <a class="el" href="classGpgFrontend_1_1GenKeyInfo.html">GenKeyInfo</a> > &params, const std::shared_ptr< <a class="el" href="classGpgFrontend_1_1GenKeyInfo.html">GenKeyInfo</a> > &subkey_params) -> std::tuple< <a class="el" href="namespaceGpgFrontend.html#a2470eb154743191c3454203f23d3a2f8">GpgError</a>, DataObjectPtr ></td></tr>
|
|
<tr class="separator:a92708358f594869ff9cba1ea4d0a4ec6"><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< GpgKeyOpera ></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_1GpgKeyOpera.html">GpgKeyOpera</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_1GpgKeyOpera.html">GpgKeyOpera</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_1GpgKeyOpera.html">GpgKeyOpera</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:a99eb547639a63e7c2f467ebb611c95b7 inherit pub_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memItemLeft" align="right" valign="top">auto </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#a99eb547639a63e7c2f467ebb611c95b7">operator=</a> (const <a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html">SingletonFunctionObject</a>< <a class="el" href="classGpgFrontend_1_1GpgKeyOpera.html">GpgKeyOpera</a> > &) -> <a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html">SingletonFunctionObject</a> &=delete</td></tr>
|
|
<tr class="memdesc:a99eb547639a63e7c2f467ebb611c95b7 inherit pub_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="mdescLeft"> </td><td class="mdescRight">prohibit copy <a href="classGpgFrontend_1_1SingletonFunctionObject.html#a99eb547639a63e7c2f467ebb611c95b7">More...</a><br /></td></tr>
|
|
<tr class="separator:a99eb547639a63e7c2f467ebb611c95b7 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_1GpgKeyOpera.html">GpgKeyOpera</a> &)=delete</td></tr>
|
|
<tr class="separator:a03ce3095a745ecbf5e6a032e7da4bc97 inherit pub_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a94ee1e1251023610590e675ae3de8bd5 inherit pub_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memItemLeft" align="right" valign="top">auto </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#a94ee1e1251023610590e675ae3de8bd5">GetChannel</a> () const -> int</td></tr>
|
|
<tr class="memdesc:a94ee1e1251023610590e675ae3de8bd5 inherit pub_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="mdescLeft"> </td><td class="mdescRight">Get the Channel object. <a href="classGpgFrontend_1_1SingletonFunctionObject.html#a94ee1e1251023610590e675ae3de8bd5">More...</a><br /></td></tr>
|
|
<tr class="separator:a94ee1e1251023610590e675ae3de8bd5 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:a85a29ff6a1233114eb9f159c408cbe35 inherit pub_methods_classGpgFrontend_1_1ChannelObject"><td class="memItemLeft" align="right" valign="top"><a id="a85a29ff6a1233114eb9f159c408cbe35"></a>
|
|
virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1ChannelObject.html#a85a29ff6a1233114eb9f159c408cbe35">~ChannelObject</a> () noexcept</td></tr>
|
|
<tr class="memdesc:a85a29ff6a1233114eb9f159c408cbe35 inherit pub_methods_classGpgFrontend_1_1ChannelObject"><td class="mdescLeft"> </td><td class="mdescRight">Destroy the Channel Object object. <br /></td></tr>
|
|
<tr class="separator:a85a29ff6a1233114eb9f159c408cbe35 inherit pub_methods_classGpgFrontend_1_1ChannelObject"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a3d55a57ee60bdb5a747125da9586a0e5 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#a3d55a57ee60bdb5a747125da9586a0e5">ChannelObject</a> (int channel, QString type)</td></tr>
|
|
<tr class="memdesc:a3d55a57ee60bdb5a747125da9586a0e5 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#a3d55a57ee60bdb5a747125da9586a0e5">More...</a><br /></td></tr>
|
|
<tr class="separator:a3d55a57ee60bdb5a747125da9586a0e5 inherit pub_methods_classGpgFrontend_1_1ChannelObject"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a085b36517fcc46916279b9d633da2d26 inherit pub_methods_classGpgFrontend_1_1ChannelObject"><td class="memItemLeft" align="right" valign="top">auto </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1ChannelObject.html#a085b36517fcc46916279b9d633da2d26">GetChannel</a> () const -> int</td></tr>
|
|
<tr class="memdesc:a085b36517fcc46916279b9d633da2d26 inherit pub_methods_classGpgFrontend_1_1ChannelObject"><td class="mdescLeft"> </td><td class="mdescRight">Get the Channel object. <a href="classGpgFrontend_1_1ChannelObject.html#a085b36517fcc46916279b9d633da2d26">More...</a><br /></td></tr>
|
|
<tr class="separator:a085b36517fcc46916279b9d633da2d26 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="pri-attribs"></a>
|
|
Private Attributes</h2></td></tr>
|
|
<tr class="memitem:ab4086c8ccd6f1f926993e96b687dea69"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGpgFrontend_1_1GpgContext.html">GpgContext</a> & </td><td class="memItemRight" valign="bottom"><b>ctx_</b></td></tr>
|
|
<tr class="separator:ab4086c8ccd6f1f926993e96b687dea69"><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 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< GpgKeyOpera ></a></td></tr>
|
|
<tr class="memitem:ac963fee992753970bfb5c81608d4070f inherit pub_static_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memItemLeft" align="right" valign="top">static auto </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#ac963fee992753970bfb5c81608d4070f">GetInstance</a> (int channel=GpgFrontend::kGpgFrontendDefaultChannel) -> <a class="el" href="classGpgFrontend_1_1GpgKeyOpera.html">GpgKeyOpera</a> &</td></tr>
|
|
<tr class="memdesc:ac963fee992753970bfb5c81608d4070f inherit pub_static_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="mdescLeft"> </td><td class="mdescRight">Get the Instance object. <a href="classGpgFrontend_1_1SingletonFunctionObject.html#ac963fee992753970bfb5c81608d4070f">More...</a><br /></td></tr>
|
|
<tr class="separator:ac963fee992753970bfb5c81608d4070f inherit pub_static_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:adff3ff15fc67b7e9cdeeb2577541fbc4 inherit pub_static_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memItemLeft" align="right" valign="top">static auto </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#adff3ff15fc67b7e9cdeeb2577541fbc4">CreateInstance</a> (int channel, const std::function< ChannelObjectPtr(void)> &factory) -> <a class="el" href="classGpgFrontend_1_1GpgKeyOpera.html">GpgKeyOpera</a> &</td></tr>
|
|
<tr class="memdesc:adff3ff15fc67b7e9cdeeb2577541fbc4 inherit pub_static_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="mdescLeft"> </td><td class="mdescRight">Create a Instance object. <a href="classGpgFrontend_1_1SingletonFunctionObject.html#adff3ff15fc67b7e9cdeeb2577541fbc4">More...</a><br /></td></tr>
|
|
<tr class="separator:adff3ff15fc67b7e9cdeeb2577541fbc4 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:ad983153cbe3a0c32c123c506e04f31fc inherit pub_static_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memItemLeft" align="right" valign="top">static auto </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#ad983153cbe3a0c32c123c506e04f31fc">GetDefaultChannel</a> () -> int</td></tr>
|
|
<tr class="memdesc:ad983153cbe3a0c32c123c506e04f31fc 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#ad983153cbe3a0c32c123c506e04f31fc">More...</a><br /></td></tr>
|
|
<tr class="separator:ad983153cbe3a0c32c123c506e04f31fc inherit pub_static_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aa7b5db19f3a130886f43607a345a0e1d inherit pub_static_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memItemLeft" align="right" valign="top">static auto </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#aa7b5db19f3a130886f43607a345a0e1d">GetAllChannelId</a> () -> std::vector< int ></td></tr>
|
|
<tr class="memdesc:aa7b5db19f3a130886f43607a345a0e1d 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#aa7b5db19f3a130886f43607a345a0e1d">More...</a><br /></td></tr>
|
|
<tr class="separator:aa7b5db19f3a130886f43607a345a0e1d 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:a6a3672c8ff3d4fb5ef6bc1bda202bbb8 inherit pub_static_methods_classGpgFrontend_1_1ChannelObject"><td class="memItemLeft" align="right" valign="top">static auto </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1ChannelObject.html#a6a3672c8ff3d4fb5ef6bc1bda202bbb8">GetDefaultChannel</a> () -> int</td></tr>
|
|
<tr class="memdesc:a6a3672c8ff3d4fb5ef6bc1bda202bbb8 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#a6a3672c8ff3d4fb5ef6bc1bda202bbb8">More...</a><br /></td></tr>
|
|
<tr class="separator:a6a3672c8ff3d4fb5ef6bc1bda202bbb8 inherit pub_static_methods_classGpgFrontend_1_1ChannelObject"><td class="memSeparator" colspan="2"> </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< GpgKeyOpera ></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="a01d6a920156a38a34c57d9c49c361079"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a01d6a920156a38a34c57d9c49c361079">◆ </a></span>GpgKeyOpera()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">GpgFrontend::GpgKeyOpera::GpgKeyOpera </td>
|
|
<td>(</td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>channel</em> = <code><a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#ad983153cbe3a0c32c123c506e04f31fc">SingletonFunctionObject::GetDefaultChannel</a>()</code></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">explicit</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Construct a new Gpg Key Opera 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="a151c47b997951e9162f8b036c3cb15e0"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a151c47b997951e9162f8b036c3cb15e0">◆ </a></span>DeleteKey()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void GpgFrontend::GpgKeyOpera::DeleteKey </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const KeyId & </td>
|
|
<td class="paramname"><em>key_id</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">key_id</td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p class="reference">References <a class="el" href="classGpgFrontend_1_1GpgKeyOpera.html#a8a06d0f7a600d4428359b653a68f717e">DeleteKeys()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a8a06d0f7a600d4428359b653a68f717e"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a8a06d0f7a600d4428359b653a68f717e">◆ </a></span>DeleteKeys()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void GpgFrontend::GpgKeyOpera::DeleteKeys </td>
|
|
<td>(</td>
|
|
<td class="paramtype">KeyIdArgsListPtr </td>
|
|
<td class="paramname"><em>key_ids</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">key_ids</td><td>Delete keys </td></tr>
|
|
<tr><td class="paramname">uidList</td><td>key ids </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p class="reference">References <a class="el" href="namespaceGpgFrontend.html#a864178db4c07b932c2ae6e7a20fe87bf">GpgFrontend::CheckGpgError()</a>, and <a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#ac963fee992753970bfb5c81608d4070f">GpgFrontend::SingletonFunctionObject< GpgKeyGetter >::GetInstance()</a>.</p>
|
|
|
|
<p class="reference">Referenced by <a class="el" href="classGpgFrontend_1_1GpgKeyOpera.html#a151c47b997951e9162f8b036c3cb15e0">DeleteKey()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="af20beaf00ea43b399ab39bdb8e358427"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#af20beaf00ea43b399ab39bdb8e358427">◆ </a></span>GenerateKey()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void GpgFrontend::GpgKeyOpera::GenerateKey </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const std::shared_ptr< <a class="el" href="classGpgFrontend_1_1GenKeyInfo.html">GenKeyInfo</a> > & </td>
|
|
<td class="paramname"><em>params</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const GpgOperationCallback & </td>
|
|
<td class="paramname"><em>callback</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">params</td><td></td></tr>
|
|
<tr><td class="paramname">result</td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="namespaceGpgFrontend.html#a2470eb154743191c3454203f23d3a2f8" title="gpgme error">GpgFrontend::GpgError</a></dd></dl>
|
|
<p>Generate a new key pair </p><dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">params</td><td>key generation args </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>error information </dd></dl>
|
|
|
|
<p class="reference">References <a class="el" href="namespaceGpgFrontend.html#a864178db4c07b932c2ae6e7a20fe87bf">GpgFrontend::CheckGpgError()</a>, and <a class="el" href="namespaceGpgFrontend.html#abeb3c754e9529570abe5fef6a97f3c22">GpgFrontend::RunGpgOperaAsync()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ab3e567066b22fa9b146324dcdbd34d30"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ab3e567066b22fa9b146324dcdbd34d30">◆ </a></span>GenerateKeySync()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">auto GpgFrontend::GpgKeyOpera::GenerateKeySync </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const std::shared_ptr< <a class="el" href="classGpgFrontend_1_1GenKeyInfo.html">GenKeyInfo</a> > & </td>
|
|
<td class="paramname"><em>params</em></td><td>)</td>
|
|
<td> -> std::tuple<<a class="el" href="namespaceGpgFrontend.html#a2470eb154743191c3454203f23d3a2f8">GpgError</a>, DataObjectPtr></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">params</td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p class="reference">References <a class="el" href="namespaceGpgFrontend.html#a864178db4c07b932c2ae6e7a20fe87bf">GpgFrontend::CheckGpgError()</a>, and <a class="el" href="namespaceGpgFrontend.html#a4c2a4a157e45e169682a99d7f5130dc0">GpgFrontend::RunGpgOperaSync()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="adf89f46010856486d25af3ea1e94b25d"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#adf89f46010856486d25af3ea1e94b25d">◆ </a></span>GenerateKeyWithSubkey()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void GpgFrontend::GpgKeyOpera::GenerateKeyWithSubkey </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const std::shared_ptr< <a class="el" href="classGpgFrontend_1_1GenKeyInfo.html">GenKeyInfo</a> > & </td>
|
|
<td class="paramname"><em>params</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const std::shared_ptr< <a class="el" href="classGpgFrontend_1_1GenKeyInfo.html">GenKeyInfo</a> > & </td>
|
|
<td class="paramname"><em>subkey_params</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const GpgOperationCallback & </td>
|
|
<td class="paramname"><em>callback</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">params</td><td></td></tr>
|
|
<tr><td class="paramname">subkey_params</td><td></td></tr>
|
|
<tr><td class="paramname">callback</td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p class="reference">References <a class="el" href="namespaceGpgFrontend.html#a864178db4c07b932c2ae6e7a20fe87bf">GpgFrontend::CheckGpgError()</a>, <a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#ac963fee992753970bfb5c81608d4070f">GpgFrontend::SingletonFunctionObject< GpgKeyGetter >::GetInstance()</a>, and <a class="el" href="namespaceGpgFrontend.html#abeb3c754e9529570abe5fef6a97f3c22">GpgFrontend::RunGpgOperaAsync()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a92708358f594869ff9cba1ea4d0a4ec6"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a92708358f594869ff9cba1ea4d0a4ec6">◆ </a></span>GenerateKeyWithSubkeySync()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">auto GpgFrontend::GpgKeyOpera::GenerateKeyWithSubkeySync </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const std::shared_ptr< <a class="el" href="classGpgFrontend_1_1GenKeyInfo.html">GenKeyInfo</a> > & </td>
|
|
<td class="paramname"><em>params</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const std::shared_ptr< <a class="el" href="classGpgFrontend_1_1GenKeyInfo.html">GenKeyInfo</a> > & </td>
|
|
<td class="paramname"><em>subkey_params</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td> -> std::tuple<<a class="el" href="namespaceGpgFrontend.html#a2470eb154743191c3454203f23d3a2f8">GpgError</a>, DataObjectPtr></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">params</td><td></td></tr>
|
|
<tr><td class="paramname">subkey_params</td><td></td></tr>
|
|
<tr><td class="paramname">callback</td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p class="reference">References <a class="el" href="namespaceGpgFrontend.html#a864178db4c07b932c2ae6e7a20fe87bf">GpgFrontend::CheckGpgError()</a>, <a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#ac963fee992753970bfb5c81608d4070f">GpgFrontend::SingletonFunctionObject< GpgKeyGetter >::GetInstance()</a>, and <a class="el" href="namespaceGpgFrontend.html#a4c2a4a157e45e169682a99d7f5130dc0">GpgFrontend::RunGpgOperaSync()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ad97b418381a346162684045d8471de2d"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ad97b418381a346162684045d8471de2d">◆ </a></span>GenerateRevokeCert()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void GpgFrontend::GpgKeyOpera::GenerateRevokeCert </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="classGpgFrontend_1_1GpgKey.html">GpgKey</a> & </td>
|
|
<td class="paramname"><em>key</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const QString & </td>
|
|
<td class="paramname"><em>output_path</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">key</td><td></td></tr>
|
|
<tr><td class="paramname">output_file_name</td><td>Generate revoke cert of a key pair </td></tr>
|
|
<tr><td class="paramname">key</td><td>target key pair </td></tr>
|
|
<tr><td class="paramname">outputFileName</td><td>out file name(path) </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>the process doing this job </dd></dl>
|
|
|
|
<p class="reference">References <a class="el" href="classGpgFrontend_1_1GpgCommandExecutor.html#ac3f979fcd910206e2d9cb30930e9eecb">GpgFrontend::GpgCommandExecutor::ExecuteSync()</a>, and <a class="el" href="classGpgFrontend_1_1GpgKey.html#acc06ff78f50cfa9ec94cebd39e235a40">GpgFrontend::GpgKey::GetFingerprint()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a54d339513039e008e821e64d0991206e"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a54d339513039e008e821e64d0991206e">◆ </a></span>GenerateSubkey()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void GpgFrontend::GpgKeyOpera::GenerateSubkey </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="classGpgFrontend_1_1GpgKey.html">GpgKey</a> & </td>
|
|
<td class="paramname"><em>key</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const std::shared_ptr< <a class="el" href="classGpgFrontend_1_1GenKeyInfo.html">GenKeyInfo</a> > & </td>
|
|
<td class="paramname"><em>params</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const GpgOperationCallback & </td>
|
|
<td class="paramname"><em>callback</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">key</td><td></td></tr>
|
|
<tr><td class="paramname">params</td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="namespaceGpgFrontend.html#a2470eb154743191c3454203f23d3a2f8" title="gpgme error">GpgFrontend::GpgError</a> </dd></dl>
|
|
|
|
<p class="reference">References <a class="el" href="namespaceGpgFrontend.html#a864178db4c07b932c2ae6e7a20fe87bf">GpgFrontend::CheckGpgError()</a>, <a class="el" href="classGpgFrontend_1_1GpgKey.html#a3dec62e06f6f8f43059b293ad192e0c1">GpgFrontend::GpgKey::GetId()</a>, and <a class="el" href="namespaceGpgFrontend.html#abeb3c754e9529570abe5fef6a97f3c22">GpgFrontend::RunGpgOperaAsync()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a2ef5deb5bb7a50b5488228a72f6776bd"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a2ef5deb5bb7a50b5488228a72f6776bd">◆ </a></span>GenerateSubkeySync()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">auto GpgFrontend::GpgKeyOpera::GenerateSubkeySync </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="classGpgFrontend_1_1GpgKey.html">GpgKey</a> & </td>
|
|
<td class="paramname"><em>key</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const std::shared_ptr< <a class="el" href="classGpgFrontend_1_1GenKeyInfo.html">GenKeyInfo</a> > & </td>
|
|
<td class="paramname"><em>params</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td> -> std::tuple<<a class="el" href="namespaceGpgFrontend.html#a2470eb154743191c3454203f23d3a2f8">GpgError</a>, DataObjectPtr></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">key</td><td></td></tr>
|
|
<tr><td class="paramname">params</td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p class="reference">References <a class="el" href="namespaceGpgFrontend.html#a864178db4c07b932c2ae6e7a20fe87bf">GpgFrontend::CheckGpgError()</a>, and <a class="el" href="namespaceGpgFrontend.html#a4c2a4a157e45e169682a99d7f5130dc0">GpgFrontend::RunGpgOperaSync()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a5e65fa1edd5db89b38cf021975a60465"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a5e65fa1edd5db89b38cf021975a60465">◆ </a></span>ModifyPassword()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void GpgFrontend::GpgKeyOpera::ModifyPassword </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="classGpgFrontend_1_1GpgKey.html">GpgKey</a> & </td>
|
|
<td class="paramname"><em>key</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const GpgOperationCallback & </td>
|
|
<td class="paramname"><em>callback</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">key</td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="namespaceGpgFrontend.html#a2470eb154743191c3454203f23d3a2f8" title="gpgme error">GpgFrontend::GpgError</a> </dd></dl>
|
|
|
|
<p class="reference">References <a class="el" href="namespaceGpgFrontend.html#abeb3c754e9529570abe5fef6a97f3c22">GpgFrontend::RunGpgOperaAsync()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a9e8efd9e57e05059396f0120535eef30"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a9e8efd9e57e05059396f0120535eef30">◆ </a></span>ModifyTOFUPolicy()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">auto GpgFrontend::GpgKeyOpera::ModifyTOFUPolicy </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="classGpgFrontend_1_1GpgKey.html">GpgKey</a> & </td>
|
|
<td class="paramname"><em>key</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">gpgme_tofu_policy_t </td>
|
|
<td class="paramname"><em>tofu_policy</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td> -> <a class="el" href="namespaceGpgFrontend.html#a2470eb154743191c3454203f23d3a2f8">GpgFrontend::GpgError</a></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">key</td><td></td></tr>
|
|
<tr><td class="paramname">tofu_policy</td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="namespaceGpgFrontend.html#a2470eb154743191c3454203f23d3a2f8" title="gpgme error">GpgFrontend::GpgError</a> </dd></dl>
|
|
|
|
<p class="reference">References <a class="el" href="namespaceGpgFrontend.html#a864178db4c07b932c2ae6e7a20fe87bf">GpgFrontend::CheckGpgError()</a>, and <a class="el" href="namespaceGpgFrontend.html#a3eb3e3e38d04e035e3c2d44b5a553d32">GpgFrontend::CompareSoftwareVersion()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a46fcc0675c7015a70a7b2b2517a2b99e"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a46fcc0675c7015a70a7b2b2517a2b99e">◆ </a></span>SetExpire()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">auto GpgFrontend::GpgKeyOpera::SetExpire </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="classGpgFrontend_1_1GpgKey.html">GpgKey</a> & </td>
|
|
<td class="paramname"><em>key</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const SubkeyId & </td>
|
|
<td class="paramname"><em>subkey_fpr</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">std::unique_ptr< QDateTime > & </td>
|
|
<td class="paramname"><em>expires</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td> -> <a class="el" href="namespaceGpgFrontend.html#a2470eb154743191c3454203f23d3a2f8">GpgError</a></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Set the Expire object. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">key</td><td></td></tr>
|
|
<tr><td class="paramname">subkey_fpr</td><td></td></tr>
|
|
<tr><td class="paramname">expires</td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>GpgError</dd></dl>
|
|
<p>Set the expire date and time of a key pair(actually the primary key) or subkey </p><dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">key</td><td>target key pair </td></tr>
|
|
<tr><td class="paramname">subkey</td><td>null if primary key </td></tr>
|
|
<tr><td class="paramname">expires</td><td>date and time </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>if successful </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Member Data Documentation</h2>
|
|
<a id="ab4086c8ccd6f1f926993e96b687dea69"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ab4086c8ccd6f1f926993e96b687dea69">◆ </a></span>ctx_</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classGpgFrontend_1_1GpgContext.html">GpgContext</a>& GpgFrontend::GpgKeyOpera::ctx_</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">private</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<b>Initial value:</b><div class="fragment"><div class="line">=</div>
|
|
<div class="line"> <a class="code" href="classGpgFrontend_1_1SingletonFunctionObject.html#ac963fee992753970bfb5c81608d4070f">GpgContext::GetInstance</a>(<a class="code" href="classGpgFrontend_1_1SingletonFunctionObject.html#a94ee1e1251023610590e675ae3de8bd5">SingletonFunctionObject::GetChannel</a>())</div>
|
|
<div class="ttc" id="aclassGpgFrontend_1_1SingletonFunctionObject_html_a94ee1e1251023610590e675ae3de8bd5"><div class="ttname"><a href="classGpgFrontend_1_1SingletonFunctionObject.html#a94ee1e1251023610590e675ae3de8bd5">GpgFrontend::SingletonFunctionObject::GetChannel</a></div><div class="ttdeci">auto GetChannel() const -> int</div><div class="ttdoc">Get the Channel object.</div><div class="ttdef"><b>Definition:</b> GpgFunctionObject.h:140</div></div>
|
|
<div class="ttc" id="aclassGpgFrontend_1_1SingletonFunctionObject_html_ac963fee992753970bfb5c81608d4070f"><div class="ttname"><a href="classGpgFrontend_1_1SingletonFunctionObject.html#ac963fee992753970bfb5c81608d4070f">GpgFrontend::SingletonFunctionObject< GpgContext >::GetInstance</a></div><div class="ttdeci">static auto GetInstance(int channel=GpgFrontend::kGpgFrontendDefaultChannel) -> GpgContext &</div><div class="ttdoc">Get the Instance object.</div><div class="ttdef"><b>Definition:</b> GpgFunctionObject.h:80</div></div>
|
|
</div><!-- fragment -->
|
|
</div>
|
|
</div>
|
|
<hr/>The documentation for this class was generated from the following files:<ul>
|
|
<li>src/core/function/gpg/<a class="el" href="GpgKeyOpera_8h_source.html">GpgKeyOpera.h</a></li>
|
|
<li>src/core/function/gpg/GpgKeyOpera.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_1GpgKeyOpera.html">GpgKeyOpera</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>
|