597 lines
42 KiB
HTML
597 lines
42 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=11"/>
|
||
|
<meta name="generator" content="Doxygen 1.9.3"/>
|
||
|
<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 id="projectrow">
|
||
|
<td id="projectalign">
|
||
|
<div id="projectname">GpgFrontend Project
|
||
|
</div>
|
||
|
<div id="projectbrief">A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
</div>
|
||
|
<!-- end header part -->
|
||
|
<!-- Generated by Doxygen 1.9.3 -->
|
||
|
<script type="text/javascript">
|
||
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||
|
var searchBox = new SearchBox("searchBox", "search",'Search','.html');
|
||
|
/* @license-end */
|
||
|
</script>
|
||
|
<script type="text/javascript" src="menudata.js"></script>
|
||
|
<script type="text/javascript" src="menu.js"></script>
|
||
|
<script type="text/javascript">
|
||
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||
|
$(function() {
|
||
|
initMenu('',true,false,'search.php','Search');
|
||
|
$(document).ready(function() { init_search(); });
|
||
|
});
|
||
|
/* @license-end */
|
||
|
</script>
|
||
|
<div id="main-nav"></div>
|
||
|
</div><!-- top -->
|
||
|
<div id="side-nav" class="ui-resizable side-nav-resizable">
|
||
|
<div id="nav-tree">
|
||
|
<div id="nav-tree-contents">
|
||
|
<div id="nav-sync" class="sync"></div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div id="splitbar" style="-moz-user-select:none;"
|
||
|
class="ui-resizable-handle">
|
||
|
</div>
|
||
|
</div>
|
||
|
<script type="text/javascript">
|
||
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||
|
$(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="#pub-static-methods">Static 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>
|
||
|
</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>
|
||
|
</div>
|
||
|
<table class="memberdecls">
|
||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" 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#a50e2b3794d6553f4231eaec72d9d0a50">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:a12e6b05b23781861065d7e3243c9349e"><td class="memItemLeft" align="right" valign="top">GpgError </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1GpgKeyOpera.html#a12e6b05b23781861065d7e3243c9349e">SetExpire</a> (const <a class="el" href="classGpgFrontend_1_1GpgKey.html">GpgKey</a> &key, const SubkeyId &subkey_fpr, std::unique_ptr< boost::posix_time::ptime > &expires)</td></tr>
|
||
|
<tr class="memdesc:a12e6b05b23781861065d7e3243c9349e"><td class="mdescLeft"> </td><td class="mdescRight">Set the Expire object. <a href="classGpgFrontend_1_1GpgKeyOpera.html#a12e6b05b23781861065d7e3243c9349e">More...</a><br /></td></tr>
|
||
|
<tr class="separator:a12e6b05b23781861065d7e3243c9349e"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ab7e16d1f4cba23ea5b5b9f6009ce5ee2"><td class="memItemLeft" align="right" valign="top">GpgFrontend::GpgError </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1GpgKeyOpera.html#ab7e16d1f4cba23ea5b5b9f6009ce5ee2">ModifyPassword</a> (const <a class="el" href="classGpgFrontend_1_1GpgKey.html">GpgKey</a> &key)</td></tr>
|
||
|
<tr class="separator:ab7e16d1f4cba23ea5b5b9f6009ce5ee2"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a76a7f59701add8a59d8835919dad2000"><td class="memItemLeft" align="right" valign="top">GpgFrontend::GpgError </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1GpgKeyOpera.html#a76a7f59701add8a59d8835919dad2000">ModifyTOFUPolicy</a> (const <a class="el" href="classGpgFrontend_1_1GpgKey.html">GpgKey</a> &key, gpgme_tofu_policy_t tofu_policy)</td></tr>
|
||
|
<tr class="separator:a76a7f59701add8a59d8835919dad2000"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a4cc3ac91613164d7dc61a016a2b4caea"><td class="memItemLeft" align="right" valign="top">GpgFrontend::GpgError </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1GpgKeyOpera.html#a4cc3ac91613164d7dc61a016a2b4caea">GenerateKey</a> (const std::unique_ptr< <a class="el" href="classGpgFrontend_1_1GenKeyInfo.html">GenKeyInfo</a> > &params, GpgGenKeyResult &result)</td></tr>
|
||
|
<tr class="separator:a4cc3ac91613164d7dc61a016a2b4caea"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a882d99e8407cc22fb8b6e61c531fbe85"><td class="memItemLeft" align="right" valign="top">GpgFrontend::GpgError </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1GpgKeyOpera.html#a882d99e8407cc22fb8b6e61c531fbe85">GenerateSubkey</a> (const <a class="el" href="classGpgFrontend_1_1GpgKey.html">GpgKey</a> &key, const std::unique_ptr< <a class="el" href="classGpgFrontend_1_1GenKeyInfo.html">GenKeyInfo</a> > &params)</td></tr>
|
||
|
<tr class="separator:a882d99e8407cc22fb8b6e61c531fbe85"><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: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="memitem:aabc5fe8e5a372ac276a265286457cb9a inherit pub_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memItemLeft" align="right" valign="top"><a id="aabc5fe8e5a372ac276a265286457cb9a" name="aabc5fe8e5a372ac276a265286457cb9a"></a>
|
||
|
 </td><td class="memItemRight" valign="bottom"><b>SingletonFunctionObject</b> (<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" name="a7090636bed6f4bad5b99f28f6872c645"></a>
|
||
|
 </td><td class="memItemRight" valign="bottom"><b>SingletonFunctionObject</b> (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:a03ce3095a745ecbf5e6a032e7da4bc97 inherit pub_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memItemLeft" align="right" valign="top"><a id="a03ce3095a745ecbf5e6a032e7da4bc97" name="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>
|
||
|
</table><table class="memberdecls">
|
||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-static-methods" name="pub-static-methods"></a>
|
||
|
Static Public Member Functions</h2></td></tr>
|
||
|
<tr class="memitem:a91a9a9f24f6b620ea7b906c529e3d9a4"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1GpgKeyOpera.html#a91a9a9f24f6b620ea7b906c529e3d9a4">GenerateRevokeCert</a> (const <a class="el" href="classGpgFrontend_1_1GpgKey.html">GpgKey</a> &key, const std::string &output_file_name)</td></tr>
|
||
|
<tr class="separator:a91a9a9f24f6b620ea7b906c529e3d9a4"><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< GpgKeyOpera ></a></td></tr>
|
||
|
<tr class="memitem:a8a378452876a685af879e04bfa456b6f inherit pub_static_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classGpgFrontend_1_1GpgKeyOpera.html">GpgKeyOpera</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#a8a378452876a685af879e04bfa456b6f">GetInstance</a> (int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)</td></tr>
|
||
|
<tr class="memdesc:a8a378452876a685af879e04bfa456b6f inherit pub_static_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="mdescLeft"> </td><td class="mdescRight">Get the Instance object. <a href="classGpgFrontend_1_1SingletonFunctionObject.html#a8a378452876a685af879e04bfa456b6f">More...</a><br /></td></tr>
|
||
|
<tr class="separator:a8a378452876a685af879e04bfa456b6f inherit pub_static_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a459af8206b25fed21b423aeb61c408fe inherit pub_static_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classGpgFrontend_1_1GpgKeyOpera.html">GpgKeyOpera</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#a459af8206b25fed21b423aeb61c408fe">CreateInstance</a> (int channel, std::function< std::unique_ptr< <a class="el" href="classGpgFrontend_1_1GpgKeyOpera.html">GpgKeyOpera</a> >(void)> factory)</td></tr>
|
||
|
<tr class="memdesc:a459af8206b25fed21b423aeb61c408fe inherit pub_static_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="mdescLeft"> </td><td class="mdescRight">Create a Instance object. <a href="classGpgFrontend_1_1SingletonFunctionObject.html#a459af8206b25fed21b423aeb61c408fe">More...</a><br /></td></tr>
|
||
|
<tr class="separator:a459af8206b25fed21b423aeb61c408fe inherit pub_static_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a3116637b021c316ec3b615baaa5a77a1 inherit pub_static_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classGpgFrontend_1_1GpgKeyOpera.html">GpgKeyOpera</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#a3116637b021c316ec3b615baaa5a77a1">CreateInstance</a> (int channel, std::unique_ptr< <a class="el" href="classGpgFrontend_1_1GpgKeyOpera.html">GpgKeyOpera</a> > p_obj=nullptr)</td></tr>
|
||
|
<tr class="memdesc:a3116637b021c316ec3b615baaa5a77a1 inherit pub_static_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="mdescLeft"> </td><td class="mdescRight">Create a Instance object. <a href="classGpgFrontend_1_1SingletonFunctionObject.html#a3116637b021c316ec3b615baaa5a77a1">More...</a><br /></td></tr>
|
||
|
<tr class="separator:a3116637b021c316ec3b615baaa5a77a1 inherit pub_static_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:abb1ea69c668223ee9da79e6c92d5a9fa inherit pub_static_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classGpgFrontend_1_1GpgKeyOpera.html">GpgKeyOpera</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#abb1ea69c668223ee9da79e6c92d5a9fa">ReleaseChannel</a> (int channel)</td></tr>
|
||
|
<tr class="separator:abb1ea69c668223ee9da79e6c92d5a9fa 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>
|
||
|
</table><table class="memberdecls">
|
||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pri-attribs" 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"><a class="el" href="classGpgFrontend_1_1GpgKeyOpera.html#ab4086c8ccd6f1f926993e96b687dea69">ctx_</a></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 id="inherited" 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< GpgKeyOpera ></a></td></tr>
|
||
|
<tr class="memitem:a02e76b42ab51d77588b01c7508bed258 inherit pro_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memItemLeft" align="right" valign="top"><a id="a02e76b42ab51d77588b01c7508bed258" name="a02e76b42ab51d77588b01c7508bed258"></a>
|
||
|
 </td><td class="memItemRight" valign="bottom"><b>SingletonFunctionObject</b> ()=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" name="a8296be8c449f88175285186831b995bc"></a>
|
||
|
virtual </td><td class="memItemRight" valign="bottom"><b>~SingletonFunctionObject</b> ()=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>
|
||
|
<tr class="memitem:a56ba12077251893e48f5ec360e8c7040 inherit pro_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#a56ba12077251893e48f5ec360e8c7040">SetChannel</a> (int channel)</td></tr>
|
||
|
<tr class="memdesc:a56ba12077251893e48f5ec360e8c7040 inherit pro_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="mdescLeft"> </td><td class="mdescRight">Set the Channel object. <a href="classGpgFrontend_1_1SingletonFunctionObject.html#a56ba12077251893e48f5ec360e8c7040">More...</a><br /></td></tr>
|
||
|
<tr class="separator:a56ba12077251893e48f5ec360e8c7040 inherit pro_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
</table>
|
||
|
<h2 class="groupheader">Constructor & Destructor Documentation</h2>
|
||
|
<a id="a01d6a920156a38a34c57d9c49c361079" name="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#a50e2b3794d6553f4231eaec72d9d0a50">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>
|
||
|
<p>Copyright (C) 2021 Saturneric</p>
|
||
|
<p >This file is part of <a class="el" href="namespaceGpgFrontend.html">GpgFrontend</a>.</p>
|
||
|
<p ><a class="el" href="namespaceGpgFrontend.html">GpgFrontend</a> is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.</p>
|
||
|
<p ><a class="el" href="namespaceGpgFrontend.html">GpgFrontend</a> is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.</p>
|
||
|
<p >You should have received a copy of the GNU General Public License along with <a class="el" href="namespaceGpgFrontend.html">GpgFrontend</a>. If not, see <a href="https://www.gnu.org/licenses/">https://www.gnu.org/licenses/</a>.</p>
|
||
|
<p >The initial version of the source code is inherited from the gpg4usb project, which is under GPL-3.0-or-later.</p>
|
||
|
<p >All the source code of <a class="el" href="namespaceGpgFrontend.html">GpgFrontend</a> was modified and released by Saturneric<a href="#" onclick="location.href='mai'+'lto:'+'eri'+'c@'+'bkt'+'us'+'.co'+'m'; return false;">eric@<span class="obfuscator">.nosp@m.</span>bktu<span class="obfuscator">.nosp@m.</span>s.com</a> starting on May 12, 2021.</p>
|
||
|
<p >SPDX-License-Identifier: GPL-3.0-or-later </p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<h2 class="groupheader">Member Function Documentation</h2>
|
||
|
<a id="a151c47b997951e9162f8b036c3cb15e0" name="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>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a id="a8a06d0f7a600d4428359b653a68f717e" name="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">GpgFrontend::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></td></tr>
|
||
|
</table>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<p>Delete keys </p><dl class="params"><dt>Parameters</dt><dd>
|
||
|
<table class="params">
|
||
|
<tr><td class="paramname">uidList</td><td>key ids </td></tr>
|
||
|
</table>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
|
||
|
<p class="reference">References <a class="el" href="namespaceGpgFrontend.html#afdad4e5f4c3ac891c09216e245c0f48e">GpgFrontend::check_gpg_error()</a>, <a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#a8a378452876a685af879e04bfa456b6f">GpgFrontend::SingletonFunctionObject< GpgKeyGetter >::GetInstance()</a>, and <a class="el" href="classGpgFrontend_1_1GpgKeyGetter.html#a9ae7ccc48f6ada97bb6f57c422bfabc4">GpgFrontend::GpgKeyGetter::GetKey()</a>.</p>
|
||
|
|
||
|
<p class="reference">Referenced by <a class="el" href="classGpgFrontend_1_1UI_1_1KeyMgmt.html#a0b139ae0d4baa234932cf228e94abd6b">GpgFrontend::UI::KeyMgmt::delete_keys_with_warning()</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a id="a4cc3ac91613164d7dc61a016a2b4caea" name="a4cc3ac91613164d7dc61a016a2b4caea"></a>
|
||
|
<h2 class="memtitle"><span class="permalink"><a href="#a4cc3ac91613164d7dc61a016a2b4caea">◆ </a></span>GenerateKey()</h2>
|
||
|
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">GpgFrontend::GpgError GpgFrontend::GpgKeyOpera::GenerateKey </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">const std::unique_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">GpgGenKeyResult & </td>
|
||
|
<td class="paramname"><em>result</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>GpgFrontend::GpgError</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#a2a6566f59b4be29e453a1edd93f6a337">GpgFrontend::_new_result()</a>, <a class="el" href="namespaceGpgFrontend.html#afdad4e5f4c3ac891c09216e245c0f48e">GpgFrontend::check_gpg_error()</a>, and <a class="el" href="namespaceGpgFrontend.html#a4edac6df92596ba8eea3a8cdc1173684">GpgFrontend::check_gpg_error_2_err_code()</a>.</p>
|
||
|
|
||
|
<p class="reference">Referenced by <a class="el" href="classGpgFrontend_1_1UI_1_1KeyGenDialog.html#af1f7a62dcb024513453766ee8816d514">GpgFrontend::UI::KeyGenDialog::slot_key_gen_accept()</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a id="a91a9a9f24f6b620ea7b906c529e3d9a4" name="a91a9a9f24f6b620ea7b906c529e3d9a4"></a>
|
||
|
<h2 class="memtitle"><span class="permalink"><a href="#a91a9a9f24f6b620ea7b906c529e3d9a4">◆ </a></span>GenerateRevokeCert()</h2>
|
||
|
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<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 std::string & </td>
|
||
|
<td class="paramname"><em>output_file_name</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">key</td><td></td></tr>
|
||
|
<tr><td class="paramname">output_file_name</td><td></td></tr>
|
||
|
</table>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<p>Generate revoke cert of a key pair </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">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#afca1c4b6a6c3758a834832768f52bbca">GpgFrontend::GpgCommandExecutor::Execute()</a>, <a class="el" href="classGpgFrontend_1_1GpgKey.html#a165b3f645e2c6a4bbd024199e1f1cc9b">GpgFrontend::GpgKey::GetFingerprint()</a>, and <a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#a8a378452876a685af879e04bfa456b6f">GpgFrontend::SingletonFunctionObject< GpgCommandExecutor >::GetInstance()</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a id="a882d99e8407cc22fb8b6e61c531fbe85" name="a882d99e8407cc22fb8b6e61c531fbe85"></a>
|
||
|
<h2 class="memtitle"><span class="permalink"><a href="#a882d99e8407cc22fb8b6e61c531fbe85">◆ </a></span>GenerateSubkey()</h2>
|
||
|
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">GpgFrontend::GpgError 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::unique_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></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>GpgFrontend::GpgError</dd></dl>
|
||
|
<p>Generate a new subkey of a certain key pair </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">params</td><td>opera args </td></tr>
|
||
|
</table>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<dl class="section return"><dt>Returns</dt><dd>error info </dd></dl>
|
||
|
|
||
|
<p class="reference">References <a class="el" href="namespaceGpgFrontend.html#afdad4e5f4c3ac891c09216e245c0f48e">GpgFrontend::check_gpg_error()</a>, and <a class="el" href="classGpgFrontend_1_1GpgKey.html#a8930f958f3ca1f5566f63e8c2273837e">GpgFrontend::GpgKey::GetId()</a>.</p>
|
||
|
|
||
|
<p class="reference">Referenced by <a class="el" href="classGpgFrontend_1_1UI_1_1SubkeyGenerateDialog.html#aab426dec4b4655b215b09b490e05ad05">GpgFrontend::UI::SubkeyGenerateDialog::slot_key_gen_accept()</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a id="ab7e16d1f4cba23ea5b5b9f6009ce5ee2" name="ab7e16d1f4cba23ea5b5b9f6009ce5ee2"></a>
|
||
|
<h2 class="memtitle"><span class="permalink"><a href="#ab7e16d1f4cba23ea5b5b9f6009ce5ee2">◆ </a></span>ModifyPassword()</h2>
|
||
|
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">GpgFrontend::GpgError 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><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>GpgFrontend::GpgError </dd></dl>
|
||
|
|
||
|
<p class="reference">References <a class="el" href="namespaceGpgFrontend.html#afdad4e5f4c3ac891c09216e245c0f48e">GpgFrontend::check_gpg_error()</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a id="a76a7f59701add8a59d8835919dad2000" name="a76a7f59701add8a59d8835919dad2000"></a>
|
||
|
<h2 class="memtitle"><span class="permalink"><a href="#a76a7f59701add8a59d8835919dad2000">◆ </a></span>ModifyTOFUPolicy()</h2>
|
||
|
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">GpgFrontend::GpgError 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></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>GpgFrontend::GpgError </dd></dl>
|
||
|
|
||
|
<p class="reference">References <a class="el" href="namespaceGpgFrontend.html#afdad4e5f4c3ac891c09216e245c0f48e">GpgFrontend::check_gpg_error()</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a id="a12e6b05b23781861065d7e3243c9349e" name="a12e6b05b23781861065d7e3243c9349e"></a>
|
||
|
<h2 class="memtitle"><span class="permalink"><a href="#a12e6b05b23781861065d7e3243c9349e">◆ </a></span>SetExpire()</h2>
|
||
|
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">GpgFrontend::GpgError 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< boost::posix_time::ptime > & </td>
|
||
|
<td class="paramname"><em>expires</em> </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td></td>
|
||
|
<td>)</td>
|
||
|
<td></td><td></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>
|
||
|
|
||
|
<p class="reference">References <a class="el" href="classGpgFrontend_1_1GpgKey.html#a165b3f645e2c6a4bbd024199e1f1cc9b">GpgFrontend::GpgKey::GetFingerprint()</a>, and <a class="el" href="classGpgFrontend_1_1GpgKey.html#a8930f958f3ca1f5566f63e8c2273837e">GpgFrontend::GpgKey::GetId()</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<h2 class="groupheader">Member Data Documentation</h2>
|
||
|
<a id="ab4086c8ccd6f1f926993e96b687dea69" name="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 hl_function" href="classGpgFrontend_1_1SingletonFunctionObject.html#a8a378452876a685af879e04bfa456b6f">GpgContext::GetInstance</a>(<a class="code hl_function" href="classGpgFrontend_1_1SingletonFunctionObject.html#aa99440b9177f5d0c18840f08a40d64b7">SingletonFunctionObject::GetChannel</a>())</div>
|
||
|
<div class="ttc" id="aclassGpgFrontend_1_1SingletonFunctionObject_html_a8a378452876a685af879e04bfa456b6f"><div class="ttname"><a href="classGpgFrontend_1_1SingletonFunctionObject.html#a8a378452876a685af879e04bfa456b6f">GpgFrontend::SingletonFunctionObject< GpgContext >::GetInstance</a></div><div class="ttdeci">static GpgContext & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)</div><div class="ttdoc">Get the Instance object.</div><div class="ttdef"><b>Definition:</b> GpgFunctionObject.h:57</div></div>
|
||
|
<div class="ttc" id="aclassGpgFrontend_1_1SingletonFunctionObject_html_aa99440b9177f5d0c18840f08a40d64b7"><div class="ttname"><a href="classGpgFrontend_1_1SingletonFunctionObject.html#aa99440b9177f5d0c18840f08a40d64b7">GpgFrontend::SingletonFunctionObject::GetChannel</a></div><div class="ttdeci">int GetChannel() const</div><div class="ttdoc">Get the Channel object.</div><div class="ttdef"><b>Definition:</b> GpgFunctionObject.h:134</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.3 </li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|