602 lines
43 KiB
HTML
602 lines
43 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.8.17"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<title>GpgFrontend Project: GpgFrontend::GpgKeyImportExporter 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.8.17 -->
|
|
<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');
|
|
/* @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_1GpgKeyImportExporter.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_1GpgKeyImportExporter-members.html">List of all members</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">GpgFrontend::GpgKeyImportExporter Class Reference</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<div class="dynheader">
|
|
Inheritance diagram for GpgFrontend::GpgKeyImportExporter:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="classGpgFrontend_1_1GpgKeyImportExporter__inherit__graph.png" border="0" usemap="#GpgFrontend_1_1GpgKeyImportExporter_inherit__map" alt="Inheritance graph"/></div>
|
|
<map name="GpgFrontend_1_1GpgKeyImportExporter_inherit__map" id="GpgFrontend_1_1GpgKeyImportExporter_inherit__map">
|
|
<area shape="rect" title=" " alt="" coords="23,859,231,1053"/>
|
|
<area shape="rect" href="classGpgFrontend_1_1SingletonFunctionObject.html" title=" " alt="" coords="5,439,248,809"/>
|
|
<area shape="rect" href="classGpgFrontend_1_1SingletonFunctionObject.html" title=" " alt="" coords="12,5,241,376"/>
|
|
</map>
|
|
</div>
|
|
<div class="dynheader">
|
|
Collaboration diagram for GpgFrontend::GpgKeyImportExporter:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="classGpgFrontend_1_1GpgKeyImportExporter__coll__graph.png" border="0" usemap="#GpgFrontend_1_1GpgKeyImportExporter_coll__map" alt="Collaboration graph"/></div>
|
|
<map name="GpgFrontend_1_1GpgKeyImportExporter_coll__map" id="GpgFrontend_1_1GpgKeyImportExporter_coll__map">
|
|
<area shape="rect" title=" " alt="" coords="1072,1593,1280,1788"/>
|
|
<area shape="rect" title=" " alt="" coords="1204,1851,1431,1943"/>
|
|
<area shape="rect" href="classGpgFrontend_1_1SingletonFunctionObject.html" title=" " alt="" coords="608,2175,851,2487"/>
|
|
<area shape="rect" title=" " alt="" coords="1214,2005,1421,2112"/>
|
|
<area shape="rect" title="STL class." alt="" coords="1301,594,1459,671"/>
|
|
<area shape="rect" title=" " alt="" coords="743,1652,969,1729"/>
|
|
<area shape="rect" title=" " alt="" coords="1135,1035,1321,1141"/>
|
|
<area shape="rect" title=" " alt="" coords="1365,5,1403,83"/>
|
|
<area shape="rect" title="STL class." alt="" coords="982,145,1117,223"/>
|
|
<area shape="rect" title=" " alt="" coords="672,300,824,407"/>
|
|
<area shape="rect" title=" " alt="" coords="509,1851,731,1943"/>
|
|
<area shape="rect" title=" " alt="" coords="1030,5,1069,83"/>
|
|
<area shape="rect" title="STL class." alt="" coords="430,315,573,392"/>
|
|
<area shape="rect" href="classGpgFrontend_1_1SingletonFunctionObject.html" title=" " alt="" coords="289,469,519,796"/>
|
|
<area shape="rect" href="classGpgFrontend_1_1SingletonFunctionObject.html" title=" " alt="" coords="428,932,657,1244"/>
|
|
<area shape="rect" title="STL class." alt="" coords="270,315,362,392"/>
|
|
<area shape="rect" href="classGpgFrontend_1_1GpgContext.html" title=" " alt="" coords="882,1321,1073,1531"/>
|
|
<area shape="rect" href="structGpgFrontend_1_1GpgContextInitArgs.html" title=" " alt="" coords="871,1027,1111,1149"/>
|
|
<area shape="rect" title="STL class." alt="" coords="947,594,1034,671"/>
|
|
<area shape="rect" href="classGpgFrontend_1_1GpgInfo.html" title="Use to record some info about gnupg." alt="" coords="682,1049,846,1127"/>
|
|
<area shape="rect" title="STL class." alt="" coords="921,307,1060,399"/>
|
|
</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:a0eede7c782d17b32d6c1f30cd8496561"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1GpgKeyImportExporter.html#a0eede7c782d17b32d6c1f30cd8496561">GpgKeyImportExporter</a> (int channel=<a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#a50e2b3794d6553f4231eaec72d9d0a50">SingletonFunctionObject::GetDefaultChannel</a>())</td></tr>
|
|
<tr class="memdesc:a0eede7c782d17b32d6c1f30cd8496561"><td class="mdescLeft"> </td><td class="mdescRight">Construct a new Gpg Key Import Exporter object. <a href="classGpgFrontend_1_1GpgKeyImportExporter.html#a0eede7c782d17b32d6c1f30cd8496561">More...</a><br /></td></tr>
|
|
<tr class="separator:a0eede7c782d17b32d6c1f30cd8496561"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ab7a9be5283047695cd47562775adf79d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGpgFrontend_1_1GpgImportInformation.html">GpgImportInformation</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1GpgKeyImportExporter.html#ab7a9be5283047695cd47562775adf79d">ImportKey</a> (StdBypeArrayPtr inBuffer)</td></tr>
|
|
<tr class="separator:ab7a9be5283047695cd47562775adf79d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aa9fbda8f6c3fa36a503075d7a124fa3f"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1GpgKeyImportExporter.html#aa9fbda8f6c3fa36a503075d7a124fa3f">ExportKeys</a> (KeyIdArgsListPtr &uid_list, ByteArrayPtr &out_buffer, bool secret=false) const</td></tr>
|
|
<tr class="separator:aa9fbda8f6c3fa36a503075d7a124fa3f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a8157afa844c8bf964ce83f5de71efc5a"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1GpgKeyImportExporter.html#a8157afa844c8bf964ce83f5de71efc5a">ExportKeys</a> (const KeyArgsList &keys, ByteArrayPtr &outBuffer, bool secret=false) const</td></tr>
|
|
<tr class="separator:a8157afa844c8bf964ce83f5de71efc5a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a51cb18aa7302d7a48ccd1ee17f060391"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1GpgKeyImportExporter.html#a51cb18aa7302d7a48ccd1ee17f060391">ExportKey</a> (const <a class="el" href="classGpgFrontend_1_1GpgKey.html">GpgKey</a> &key, ByteArrayPtr &out_buffer) const</td></tr>
|
|
<tr class="separator:a51cb18aa7302d7a48ccd1ee17f060391"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aa0a73314ef94f397e2ef53d40abc9731"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1GpgKeyImportExporter.html#aa0a73314ef94f397e2ef53d40abc9731">ExportKeyOpenSSH</a> (const <a class="el" href="classGpgFrontend_1_1GpgKey.html">GpgKey</a> &key, ByteArrayPtr &out_buffer) const</td></tr>
|
|
<tr class="separator:aa0a73314ef94f397e2ef53d40abc9731"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a6a5e8d642ac5a3e98799af6495ef590b"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1GpgKeyImportExporter.html#a6a5e8d642ac5a3e98799af6495ef590b">ExportSecretKey</a> (const <a class="el" href="classGpgFrontend_1_1GpgKey.html">GpgKey</a> &key, ByteArrayPtr &outBuffer) const</td></tr>
|
|
<tr class="separator:a6a5e8d642ac5a3e98799af6495ef590b"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:abf7c0442549ae8602e1249cdf0da55df"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1GpgKeyImportExporter.html#abf7c0442549ae8602e1249cdf0da55df">ExportSecretKeyShortest</a> (const <a class="el" href="classGpgFrontend_1_1GpgKey.html">GpgKey</a> &key, ByteArrayPtr &outBuffer) const</td></tr>
|
|
<tr class="separator:abf7c0442549ae8602e1249cdf0da55df"><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< GpgKeyImportExporter ></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"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#aabc5fe8e5a372ac276a265286457cb9a">SingletonFunctionObject</a> (<a class="el" href="classGpgFrontend_1_1GpgKeyImportExporter.html">GpgKeyImportExporter</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. <a href="classGpgFrontend_1_1SingletonFunctionObject.html#aabc5fe8e5a372ac276a265286457cb9a">More...</a><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"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#a7090636bed6f4bad5b99f28f6872c645">SingletonFunctionObject</a> (const <a class="el" href="classGpgFrontend_1_1GpgKeyImportExporter.html">GpgKeyImportExporter</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. <a href="classGpgFrontend_1_1SingletonFunctionObject.html#a7090636bed6f4bad5b99f28f6872c645">More...</a><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"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><b>operator=</b> (const <a class="el" href="classGpgFrontend_1_1GpgKeyImportExporter.html">GpgKeyImportExporter</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 name="pri-attribs"></a>
|
|
Private Attributes</h2></td></tr>
|
|
<tr class="memitem:ade0e4de4078b6589f863dbfc76786f0e"><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:ade0e4de4078b6589f863dbfc76786f0e"><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< GpgKeyImportExporter ></a></td></tr>
|
|
<tr class="memitem:a70484d7cfe9f9dcbcd5f8bb749250f36 inherit pub_static_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classGpgFrontend_1_1GpgKeyImportExporter.html">GpgKeyImportExporter</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#a70484d7cfe9f9dcbcd5f8bb749250f36">GetInstance</a> (int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)</td></tr>
|
|
<tr class="memdesc:a70484d7cfe9f9dcbcd5f8bb749250f36 inherit pub_static_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="mdescLeft"> </td><td class="mdescRight">Get the Instance object. <a href="classGpgFrontend_1_1SingletonFunctionObject.html#a70484d7cfe9f9dcbcd5f8bb749250f36">More...</a><br /></td></tr>
|
|
<tr class="separator:a70484d7cfe9f9dcbcd5f8bb749250f36 inherit pub_static_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a43b21fa20b4102b826e3527f7bbdf218 inherit pub_static_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classGpgFrontend_1_1GpgKeyImportExporter.html">GpgKeyImportExporter</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#a43b21fa20b4102b826e3527f7bbdf218">CreateInstance</a> (int channel, std::function< std::unique_ptr< <a class="el" href="classGpgFrontend_1_1GpgKeyImportExporter.html">GpgKeyImportExporter</a> >(void)> factory)</td></tr>
|
|
<tr class="memdesc:a43b21fa20b4102b826e3527f7bbdf218 inherit pub_static_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="mdescLeft"> </td><td class="mdescRight">Create a Instance object. <a href="classGpgFrontend_1_1SingletonFunctionObject.html#a43b21fa20b4102b826e3527f7bbdf218">More...</a><br /></td></tr>
|
|
<tr class="separator:a43b21fa20b4102b826e3527f7bbdf218 inherit pub_static_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a3d40217b6536ffafff8e58078d8e6b95 inherit pub_static_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classGpgFrontend_1_1GpgKeyImportExporter.html">GpgKeyImportExporter</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#a3d40217b6536ffafff8e58078d8e6b95">CreateInstance</a> (int channel, std::unique_ptr< <a class="el" href="classGpgFrontend_1_1GpgKeyImportExporter.html">GpgKeyImportExporter</a> > p_obj=nullptr)</td></tr>
|
|
<tr class="memdesc:a3d40217b6536ffafff8e58078d8e6b95 inherit pub_static_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="mdescLeft"> </td><td class="mdescRight">Create a Instance object. <a href="classGpgFrontend_1_1SingletonFunctionObject.html#a3d40217b6536ffafff8e58078d8e6b95">More...</a><br /></td></tr>
|
|
<tr class="separator:a3d40217b6536ffafff8e58078d8e6b95 inherit pub_static_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aadb8743cd8943395f5cbb631667da363 inherit pub_static_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classGpgFrontend_1_1GpgKeyImportExporter.html">GpgKeyImportExporter</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#aadb8743cd8943395f5cbb631667da363">ReleaseChannel</a> (int channel)</td></tr>
|
|
<tr class="separator:aadb8743cd8943395f5cbb631667da363 inherit pub_static_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a50e2b3794d6553f4231eaec72d9d0a50 inherit pub_static_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memItemLeft" align="right" valign="top">static int </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#a50e2b3794d6553f4231eaec72d9d0a50">GetDefaultChannel</a> ()</td></tr>
|
|
<tr class="memdesc:a50e2b3794d6553f4231eaec72d9d0a50 inherit pub_static_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="mdescLeft"> </td><td class="mdescRight">Get the Default Channel object. <a href="classGpgFrontend_1_1SingletonFunctionObject.html#a50e2b3794d6553f4231eaec72d9d0a50">More...</a><br /></td></tr>
|
|
<tr class="separator:a50e2b3794d6553f4231eaec72d9d0a50 inherit pub_static_methods_classGpgFrontend_1_1SingletonFunctionObject"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="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< GpgKeyImportExporter ></a></td></tr>
|
|
<tr class="memitem:a02e76b42ab51d77588b01c7508bed258 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#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. <a href="classGpgFrontend_1_1SingletonFunctionObject.html#a02e76b42ab51d77588b01c7508bed258">More...</a><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">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. <a href="classGpgFrontend_1_1SingletonFunctionObject.html#a8296be8c449f88175285186831b995bc">More...</a><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="a0eede7c782d17b32d6c1f30cd8496561"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a0eede7c782d17b32d6c1f30cd8496561">◆ </a></span>GpgKeyImportExporter()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">GpgFrontend::GpgKeyImportExporter::GpgKeyImportExporter </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 Import Exporter object. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">channel</td><td>Copyright (C) 2021 Saturneric</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<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 style="display: none;">.nosp@m.</span>bktu<span style="display: none;">.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="a51cb18aa7302d7a48ccd1ee17f060391"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a51cb18aa7302d7a48ccd1ee17f060391">◆ </a></span>ExportKey()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool GpgFrontend::GpgKeyImportExporter::ExportKey </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">GpgFrontend::ByteArrayPtr & </td>
|
|
<td class="paramname"><em>out_buffer</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td> const</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">out_buffer</td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>true </dd>
|
|
<dd>
|
|
false </dd></dl>
|
|
|
|
<p class="reference">References <a class="el" href="namespaceGpgFrontend.html#a4edac6df92596ba8eea3a8cdc1173684">GpgFrontend::check_gpg_error_2_err_code()</a>, <a class="el" href="classGpgFrontend_1_1GpgKey.html#a8930f958f3ca1f5566f63e8c2273837e">GpgFrontend::GpgKey::GetId()</a>, and <a class="el" href="classGpgFrontend_1_1GpgData.html#ae382a34ec551561315deca84c71c19c1">GpgFrontend::GpgData::Read2Buffer()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="aa0a73314ef94f397e2ef53d40abc9731"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aa0a73314ef94f397e2ef53d40abc9731">◆ </a></span>ExportKeyOpenSSH()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool GpgFrontend::GpgKeyImportExporter::ExportKeyOpenSSH </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">GpgFrontend::ByteArrayPtr & </td>
|
|
<td class="paramname"><em>out_buffer</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td> const</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">out_buffer</td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>true </dd>
|
|
<dd>
|
|
false </dd></dl>
|
|
|
|
<p class="reference">References <a class="el" href="namespaceGpgFrontend.html#a4edac6df92596ba8eea3a8cdc1173684">GpgFrontend::check_gpg_error_2_err_code()</a>, <a class="el" href="classGpgFrontend_1_1GpgKey.html#a8930f958f3ca1f5566f63e8c2273837e">GpgFrontend::GpgKey::GetId()</a>, and <a class="el" href="classGpgFrontend_1_1GpgData.html#ae382a34ec551561315deca84c71c19c1">GpgFrontend::GpgData::Read2Buffer()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a8157afa844c8bf964ce83f5de71efc5a"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a8157afa844c8bf964ce83f5de71efc5a">◆ </a></span>ExportKeys() <span class="overload">[1/2]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool GpgFrontend::GpgKeyImportExporter::ExportKeys </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const KeyArgsList & </td>
|
|
<td class="paramname"><em>keys</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">ByteArrayPtr & </td>
|
|
<td class="paramname"><em>out_buffer</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">bool </td>
|
|
<td class="paramname"><em>secret</em> = <code>false</code> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td> const</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">keys</td><td></td></tr>
|
|
<tr><td class="paramname">outBuffer</td><td></td></tr>
|
|
<tr><td class="paramname">secret</td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>true </dd>
|
|
<dd>
|
|
false</dd></dl>
|
|
<p>Export keys </p><dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">keys</td><td>keys used </td></tr>
|
|
<tr><td class="paramname">outBuffer</td><td>output byte array </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>if success </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="aa9fbda8f6c3fa36a503075d7a124fa3f"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aa9fbda8f6c3fa36a503075d7a124fa3f">◆ </a></span>ExportKeys() <span class="overload">[2/2]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool GpgFrontend::GpgKeyImportExporter::ExportKeys </td>
|
|
<td>(</td>
|
|
<td class="paramtype">KeyIdArgsListPtr & </td>
|
|
<td class="paramname"><em>uid_list</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">ByteArrayPtr & </td>
|
|
<td class="paramname"><em>out_buffer</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">bool </td>
|
|
<td class="paramname"><em>secret</em> = <code>false</code> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td> const</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">uid_list</td><td></td></tr>
|
|
<tr><td class="paramname">out_buffer</td><td></td></tr>
|
|
<tr><td class="paramname">secret</td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>true </dd>
|
|
<dd>
|
|
false</dd></dl>
|
|
<p>Export Key </p><dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">uid_list</td><td>key ids </td></tr>
|
|
<tr><td class="paramname">out_buffer</td><td>output byte array </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>if success </dd></dl>
|
|
|
|
<p class="reference">References <a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#a70484d7cfe9f9dcbcd5f8bb749250f36">GpgFrontend::SingletonFunctionObject< GpgKeyGetter >::GetInstance()</a>, <a class="el" href="classGpgFrontend_1_1GpgKeyGetter.html#aa5979c21af58b874b33c203752dcc805">GpgFrontend::GpgKeyGetter::GetKeys()</a>, and <a class="el" href="classGpgFrontend_1_1GpgData.html#ae382a34ec551561315deca84c71c19c1">GpgFrontend::GpgData::Read2Buffer()</a>.</p>
|
|
|
|
<p class="reference">Referenced by <a class="el" href="classGpgFrontend_1_1UI_1_1MainWindow.html#a76bf3784d751db78ed13bd9962e14472">GpgFrontend::UI::MainWindow::slot_append_selected_keys()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a6a5e8d642ac5a3e98799af6495ef590b"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a6a5e8d642ac5a3e98799af6495ef590b">◆ </a></span>ExportSecretKey()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool GpgFrontend::GpgKeyImportExporter::ExportSecretKey </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">ByteArrayPtr & </td>
|
|
<td class="paramname"><em>out_buffer</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td> const</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">outBuffer</td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>true </dd>
|
|
<dd>
|
|
false</dd></dl>
|
|
<p>Export the secret key of a key pair(including subkeys) </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">outBuffer</td><td>output byte array </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="namespaceGpgFrontend.html#a4edac6df92596ba8eea3a8cdc1173684">GpgFrontend::check_gpg_error_2_err_code()</a>, <a class="el" href="classGpgFrontend_1_1GpgKey.html#a8930f958f3ca1f5566f63e8c2273837e">GpgFrontend::GpgKey::GetId()</a>, and <a class="el" href="classGpgFrontend_1_1GpgData.html#ae382a34ec551561315deca84c71c19c1">GpgFrontend::GpgData::Read2Buffer()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="abf7c0442549ae8602e1249cdf0da55df"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#abf7c0442549ae8602e1249cdf0da55df">◆ </a></span>ExportSecretKeyShortest()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool GpgFrontend::GpgKeyImportExporter::ExportSecretKeyShortest </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">GpgFrontend::ByteArrayPtr & </td>
|
|
<td class="paramname"><em>out_buffer</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td> const</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">outBuffer</td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>true </dd>
|
|
<dd>
|
|
false </dd></dl>
|
|
|
|
<p class="reference">References <a class="el" href="namespaceGpgFrontend.html#a4edac6df92596ba8eea3a8cdc1173684">GpgFrontend::check_gpg_error_2_err_code()</a>, <a class="el" href="classGpgFrontend_1_1GpgKey.html#a8930f958f3ca1f5566f63e8c2273837e">GpgFrontend::GpgKey::GetId()</a>, and <a class="el" href="classGpgFrontend_1_1GpgData.html#ae382a34ec551561315deca84c71c19c1">GpgFrontend::GpgData::Read2Buffer()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ab7a9be5283047695cd47562775adf79d"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ab7a9be5283047695cd47562775adf79d">◆ </a></span>ImportKey()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classGpgFrontend_1_1GpgImportInformation.html">GpgFrontend::GpgImportInformation</a> GpgFrontend::GpgKeyImportExporter::ImportKey </td>
|
|
<td>(</td>
|
|
<td class="paramtype">StdBypeArrayPtr </td>
|
|
<td class="paramname"><em>in_buffer</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">inBuffer</td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classGpgFrontend_1_1GpgImportInformation.html">GpgImportInformation</a></dd></dl>
|
|
<p>Import key pair </p><dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">inBuffer</td><td>input byte array </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>Import information </dd></dl>
|
|
|
|
<p class="reference">References <a class="el" href="namespaceGpgFrontend.html#afdad4e5f4c3ac891c09216e245c0f48e">GpgFrontend::check_gpg_error()</a>.</p>
|
|
|
|
<p class="reference">Referenced by <a class="el" href="classGpgFrontend_1_1UI_1_1KeyServerImportDialog.html#a3b818c2a3e5c32fc32425b17e63367e2">GpgFrontend::UI::KeyServerImportDialog::import_keys()</a>, <a class="el" href="classGpgFrontend_1_1UI_1_1KeyList.html#ab64ba3049fac1aaa9fed4fb1c5919153">GpgFrontend::UI::KeyList::import_keys()</a>, <a class="el" href="classGpgFrontend_1_1KeyPackageOperator.html#a89538b180a42eb7d6ae53583fe10ee07">GpgFrontend::KeyPackageOperator::ImportKeyPackage()</a>, <a class="el" href="classGpgFrontend_1_1UI_1_1CommonUtils.html#a35a47fc31b81b6c4f5899e8ab5c4c51a">GpgFrontend::UI::CommonUtils::SlotImportKeyFromKeyServer()</a>, and <a class="el" href="classGpgFrontend_1_1UI_1_1CommonUtils.html#a3bc26cc1e0f00f0ce2f95c0b6c8778d8">GpgFrontend::UI::CommonUtils::SlotImportKeys()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Member Data Documentation</h2>
|
|
<a id="ade0e4de4078b6589f863dbfc76786f0e"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ade0e4de4078b6589f863dbfc76786f0e">◆ </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::GpgKeyImportExporter::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#a70484d7cfe9f9dcbcd5f8bb749250f36">GpgContext::GetInstance</a>(<a class="code" href="classGpgFrontend_1_1SingletonFunctionObject.html#aa99440b9177f5d0c18840f08a40d64b7">SingletonFunctionObject::GetChannel</a>())</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="GpgKeyImportExporter_8h_source.html">GpgKeyImportExporter.h</a></li>
|
|
<li>src/core/function/gpg/GpgKeyImportExporter.cpp</li>
|
|
</ul>
|
|
</div><!-- contents -->
|
|
</div><!-- doc-content -->
|
|
<div class="ttc" id="aclassGpgFrontend_1_1SingletonFunctionObject_html_a70484d7cfe9f9dcbcd5f8bb749250f36"><div class="ttname"><a href="classGpgFrontend_1_1SingletonFunctionObject.html#a70484d7cfe9f9dcbcd5f8bb749250f36">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>
|
|
<!-- 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_1GpgKeyImportExporter.html">GpgKeyImportExporter</a></li>
|
|
<li class="footer">Generated by
|
|
<a href="http://www.doxygen.org/index.html">
|
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.17 </li>
|
|
</ul>
|
|
</div>
|
|
</body>
|
|
</html>
|