GpgFrontend-Doxygen/docs/html/GpgGenKeyInfo_8h_source.html

311 lines
48 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: src/core/GpgGenKeyInfo.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">GpgFrontend Project
</div>
<div id="projectbrief">A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('GpgGenKeyInfo_8h_source.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="headertitle">
<div class="title">GpgGenKeyInfo.h</div> </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160; </div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;<span class="preprocessor">#ifndef GPGFRONTEND_GPGGENKEYINFO_H</span></div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;<span class="preprocessor">#define GPGFRONTEND_GPGGENKEYINFO_H</span></div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160; </div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;<span class="preprocessor">#include &lt;boost/date_time.hpp&gt;</span></div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160;<span class="preprocessor">#include &lt;boost/date_time/gregorian/greg_duration_types.hpp&gt;</span></div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160;<span class="preprocessor">#include &lt;boost/format.hpp&gt;</span></div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160;<span class="preprocessor">#include &lt;string&gt;</span></div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160;<span class="preprocessor">#include &lt;vector&gt;</span></div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160; </div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160;<span class="preprocessor">#include &quot;GpgFrontend.h&quot;</span></div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160; </div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceGpgFrontend.html">GpgFrontend</a> {</div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160; </div>
<div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1GenKeyInfo.html"> 42</a></span>&#160;<span class="keyword">class </span>GPGFRONTEND_CORE_EXPORT <a class="code" href="classGpgFrontend_1_1GenKeyInfo.html">GenKeyInfo</a> {</div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160; <span class="keywordtype">bool</span> standalone_ = <span class="keyword">false</span>; </div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160; <span class="keywordtype">bool</span> subkey_ = <span class="keyword">false</span>; </div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160; std::string name_; </div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160; std::string email_; </div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160; std::string comment_; </div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160; </div>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160; std::string algo_; </div>
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160; <span class="keywordtype">int</span> key_size_ = 2048;</div>
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160; boost::posix_time::ptime expired_ =</div>
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160; boost::posix_time::second_clock::local_time() +</div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160; boost::gregorian::years(2); </div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160; <span class="keywordtype">bool</span> non_expired_ = <span class="keyword">false</span>; </div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160; </div>
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160; <span class="keywordtype">bool</span> no_passphrase_ = <span class="keyword">false</span>; </div>
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160; <span class="keywordtype">bool</span> allow_no_pass_phrase_ = <span class="keyword">true</span>; </div>
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160; </div>
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160; <span class="keywordtype">int</span> suggest_max_key_size_ = 4096; </div>
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160; <span class="keywordtype">int</span> suggest_size_addition_step_ = 1024; </div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160; <span class="keywordtype">int</span> suggest_min_key_size_ = 1024; </div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160; </div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160; std::string passphrase_; </div>
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160; </div>
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160; <span class="keyword">using</span> KeyGenAlgo = std::pair&lt;std::string, std::string&gt;;</div>
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160; </div>
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160; <span class="keyword">public</span>:</div>
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> std::vector&lt;KeyGenAlgo&gt; &amp;GetSupportedKeyAlgo();</div>
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160; </div>
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> std::vector&lt;KeyGenAlgo&gt; &amp;GetSupportedSubkeyAlgo();</div>
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160; </div>
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> std::vector&lt;KeyGenAlgo&gt; &amp;GetSupportedKeyAlgoStandalone();</div>
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>&#160; </div>
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> std::vector&lt;KeyGenAlgo&gt; &amp;GetSupportedSubkeyAlgoStandalone();</div>
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160; </div>
<div class="line"><a name="l00102"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1GenKeyInfo.html#a40a42ad975499566de124296c19e6c55"> 102</a></span>&#160; [[nodiscard]] <span class="keywordtype">bool</span> <a class="code" href="classGpgFrontend_1_1GenKeyInfo.html#a40a42ad975499566de124296c19e6c55">IsSubKey</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> subkey_; }</div>
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>&#160; </div>
<div class="line"><a name="l00109"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1GenKeyInfo.html#acd9f7742b739e1db60bd50489690dec1"> 109</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classGpgFrontend_1_1GenKeyInfo.html#acd9f7742b739e1db60bd50489690dec1">SetIsSubKey</a>(<span class="keywordtype">bool</span> m_sub_key) { GenKeyInfo::subkey_ = m_sub_key; }</div>
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>&#160; </div>
<div class="line"><a name="l00116"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1GenKeyInfo.html#a4ee4a0659e76376d9bfc527c334392e1"> 116</a></span>&#160; [[nodiscard]] std::string <a class="code" href="classGpgFrontend_1_1GenKeyInfo.html#a4ee4a0659e76376d9bfc527c334392e1">GetUserid</a>()<span class="keyword"> const </span>{</div>
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>&#160; <span class="keyword">auto</span> uid_format = boost::format(<span class="stringliteral">&quot;%1%(%2%)&lt;%3%&gt;&quot;</span>) % this-&gt;name_ %</div>
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>&#160; this-&gt;comment_ % this-&gt;email_;</div>
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>&#160; <span class="keywordflow">return</span> uid_format.str();</div>
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>&#160; }</div>
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>&#160; </div>
<div class="line"><a name="l00127"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1GenKeyInfo.html#a65ebc487e0e64c325f65474c812615f7"> 127</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classGpgFrontend_1_1GenKeyInfo.html#a65ebc487e0e64c325f65474c812615f7">SetName</a>(<span class="keyword">const</span> std::string &amp;m_name) { this-&gt;name_ = m_name; }</div>
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>&#160; </div>
<div class="line"><a name="l00134"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1GenKeyInfo.html#a656c81d56f77350184f9a94db1a3ce05"> 134</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classGpgFrontend_1_1GenKeyInfo.html#a656c81d56f77350184f9a94db1a3ce05">SetEmail</a>(<span class="keyword">const</span> std::string &amp;m_email) { this-&gt;email_ = m_email; }</div>
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span>&#160; </div>
<div class="line"><a name="l00141"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1GenKeyInfo.html#a947886456f5699241b1c1b9332e4b29e"> 141</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classGpgFrontend_1_1GenKeyInfo.html#a947886456f5699241b1c1b9332e4b29e">SetComment</a>(<span class="keyword">const</span> std::string &amp;m_comment) { this-&gt;comment_ = m_comment; }</div>
<div class="line"><a name="l00142"></a><span class="lineno"> 142</span>&#160; </div>
<div class="line"><a name="l00148"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1GenKeyInfo.html#abb3e1366dca0288bdc42123e55d77335"> 148</a></span>&#160; [[nodiscard]] std::string <a class="code" href="classGpgFrontend_1_1GenKeyInfo.html#abb3e1366dca0288bdc42123e55d77335">GetName</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> name_; }</div>
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span>&#160; </div>
<div class="line"><a name="l00155"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1GenKeyInfo.html#a76721be08c18907762ba6f6ccc4afc8a"> 155</a></span>&#160; [[nodiscard]] std::string <a class="code" href="classGpgFrontend_1_1GenKeyInfo.html#a76721be08c18907762ba6f6ccc4afc8a">GetEmail</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> email_; }</div>
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span>&#160; </div>
<div class="line"><a name="l00162"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1GenKeyInfo.html#ab9f9775fd6363fba372bd0bcc2532892"> 162</a></span>&#160; [[nodiscard]] std::string <a class="code" href="classGpgFrontend_1_1GenKeyInfo.html#ab9f9775fd6363fba372bd0bcc2532892">GetComment</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> comment_; }</div>
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span>&#160; </div>
<div class="line"><a name="l00169"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1GenKeyInfo.html#a6a65ba347156373b6cf98eb8e851d28d"> 169</a></span>&#160; [[nodiscard]] <span class="keyword">const</span> std::string &amp;<a class="code" href="classGpgFrontend_1_1GenKeyInfo.html#a6a65ba347156373b6cf98eb8e851d28d">GetAlgo</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> algo_; }</div>
<div class="line"><a name="l00170"></a><span class="lineno"> 170</span>&#160; </div>
<div class="line"><a name="l00176"></a><span class="lineno"> 176</span>&#160; <span class="keywordtype">void</span> SetAlgo(<span class="keyword">const</span> GpgFrontend::GenKeyInfo::KeyGenAlgo &amp;m_algo);</div>
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span>&#160; </div>
<div class="line"><a name="l00183"></a><span class="lineno"> 183</span>&#160; [[nodiscard]] std::string GetKeySizeStr() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00184"></a><span class="lineno"> 184</span>&#160; </div>
<div class="line"><a name="l00190"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1GenKeyInfo.html#a4927a9091fa2b2f68f6b60ce78ab2fe9"> 190</a></span>&#160; [[nodiscard]] <span class="keywordtype">int</span> <a class="code" href="classGpgFrontend_1_1GenKeyInfo.html#a4927a9091fa2b2f68f6b60ce78ab2fe9">GetKeyLength</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> key_size_; }</div>
<div class="line"><a name="l00191"></a><span class="lineno"> 191</span>&#160; </div>
<div class="line"><a name="l00197"></a><span class="lineno"> 197</span>&#160; <span class="keywordtype">void</span> SetKeyLength(<span class="keywordtype">int</span> m_key_size);</div>
<div class="line"><a name="l00198"></a><span class="lineno"> 198</span>&#160; </div>
<div class="line"><a name="l00204"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1GenKeyInfo.html#ac629312630a78e32ee36ba0ff30bc9ff"> 204</a></span>&#160; [[nodiscard]] <span class="keyword">const</span> boost::posix_time::ptime &amp;<a class="code" href="classGpgFrontend_1_1GenKeyInfo.html#ac629312630a78e32ee36ba0ff30bc9ff">GetExpireTime</a>()<span class="keyword"> const </span>{</div>
<div class="line"><a name="l00205"></a><span class="lineno"> 205</span>&#160; <span class="keywordflow">return</span> expired_;</div>
<div class="line"><a name="l00206"></a><span class="lineno"> 206</span>&#160; }</div>
<div class="line"><a name="l00207"></a><span class="lineno"> 207</span>&#160; </div>
<div class="line"><a name="l00213"></a><span class="lineno"> 213</span>&#160; <span class="keywordtype">void</span> SetExpireTime(<span class="keyword">const</span> boost::posix_time::ptime &amp;m_expired);</div>
<div class="line"><a name="l00214"></a><span class="lineno"> 214</span>&#160; </div>
<div class="line"><a name="l00221"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1GenKeyInfo.html#aeef7697c91b5b5998088979e09332380"> 221</a></span>&#160; [[nodiscard]] <span class="keywordtype">bool</span> <a class="code" href="classGpgFrontend_1_1GenKeyInfo.html#aeef7697c91b5b5998088979e09332380">IsNonExpired</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> non_expired_; }</div>
<div class="line"><a name="l00222"></a><span class="lineno"> 222</span>&#160; </div>
<div class="line"><a name="l00228"></a><span class="lineno"> 228</span>&#160; <span class="keywordtype">void</span> SetNonExpired(<span class="keywordtype">bool</span> m_non_expired);</div>
<div class="line"><a name="l00229"></a><span class="lineno"> 229</span>&#160; </div>
<div class="line"><a name="l00236"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1GenKeyInfo.html#a848181796a99bec8d32dc5eac240ee01"> 236</a></span>&#160; [[nodiscard]] <span class="keywordtype">bool</span> <a class="code" href="classGpgFrontend_1_1GenKeyInfo.html#a848181796a99bec8d32dc5eac240ee01">IsNoPassPhrase</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> this-&gt;no_passphrase_; }</div>
<div class="line"><a name="l00237"></a><span class="lineno"> 237</span>&#160; </div>
<div class="line"><a name="l00243"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1GenKeyInfo.html#a864407216cbdbef9e7b35e6be694d3ef"> 243</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classGpgFrontend_1_1GenKeyInfo.html#a864407216cbdbef9e7b35e6be694d3ef">SetNonPassPhrase</a>(<span class="keywordtype">bool</span> m_non_pass_phrase) {</div>
<div class="line"><a name="l00244"></a><span class="lineno"> 244</span>&#160; GenKeyInfo::no_passphrase_ = m_non_pass_phrase;</div>
<div class="line"><a name="l00245"></a><span class="lineno"> 245</span>&#160; }</div>
<div class="line"><a name="l00246"></a><span class="lineno"> 246</span>&#160; </div>
<div class="line"><a name="l00253"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1GenKeyInfo.html#ad972292c408cb83c08e739327795a5f0"> 253</a></span>&#160; [[nodiscard]] <span class="keywordtype">bool</span> <a class="code" href="classGpgFrontend_1_1GenKeyInfo.html#ad972292c408cb83c08e739327795a5f0">IsAllowSigning</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> allow_signing_; }</div>
<div class="line"><a name="l00254"></a><span class="lineno"> 254</span>&#160; </div>
<div class="line"><a name="l00261"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1GenKeyInfo.html#af6a79124a4571ff7f37c1c5e6c1a9415"> 261</a></span>&#160; [[nodiscard]] <span class="keywordtype">bool</span> <a class="code" href="classGpgFrontend_1_1GenKeyInfo.html#af6a79124a4571ff7f37c1c5e6c1a9415">IsAllowNoPassPhrase</a>()<span class="keyword"> const </span>{</div>
<div class="line"><a name="l00262"></a><span class="lineno"> 262</span>&#160; <span class="keywordflow">return</span> allow_no_pass_phrase_;</div>
<div class="line"><a name="l00263"></a><span class="lineno"> 263</span>&#160; }</div>
<div class="line"><a name="l00264"></a><span class="lineno"> 264</span>&#160; </div>
<div class="line"><a name="l00270"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1GenKeyInfo.html#a1a01518b24d40d95e187ef73f4dcd52a"> 270</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classGpgFrontend_1_1GenKeyInfo.html#a1a01518b24d40d95e187ef73f4dcd52a">SetAllowSigning</a>(<span class="keywordtype">bool</span> m_allow_signing) {</div>
<div class="line"><a name="l00271"></a><span class="lineno"> 271</span>&#160; <span class="keywordflow">if</span> (allow_change_signing_) GenKeyInfo::allow_signing_ = m_allow_signing;</div>
<div class="line"><a name="l00272"></a><span class="lineno"> 272</span>&#160; }</div>
<div class="line"><a name="l00273"></a><span class="lineno"> 273</span>&#160; </div>
<div class="line"><a name="l00280"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1GenKeyInfo.html#a28ed8a65243e5bc69403305752c2cdc9"> 280</a></span>&#160; [[nodiscard]] <span class="keywordtype">bool</span> <a class="code" href="classGpgFrontend_1_1GenKeyInfo.html#a28ed8a65243e5bc69403305752c2cdc9">IsAllowEncryption</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> allow_encryption_; }</div>
<div class="line"><a name="l00281"></a><span class="lineno"> 281</span>&#160; </div>
<div class="line"><a name="l00287"></a><span class="lineno"> 287</span>&#160; <span class="keywordtype">void</span> SetAllowEncryption(<span class="keywordtype">bool</span> m_allow_encryption);</div>
<div class="line"><a name="l00288"></a><span class="lineno"> 288</span>&#160; </div>
<div class="line"><a name="l00295"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1GenKeyInfo.html#ad47ceeb1ccfa8862843034e51b4d8be7"> 295</a></span>&#160; [[nodiscard]] <span class="keywordtype">bool</span> <a class="code" href="classGpgFrontend_1_1GenKeyInfo.html#ad47ceeb1ccfa8862843034e51b4d8be7">IsAllowCertification</a>()<span class="keyword"> const </span>{</div>
<div class="line"><a name="l00296"></a><span class="lineno"> 296</span>&#160; <span class="keywordflow">return</span> allow_certification_;</div>
<div class="line"><a name="l00297"></a><span class="lineno"> 297</span>&#160; }</div>
<div class="line"><a name="l00298"></a><span class="lineno"> 298</span>&#160; </div>
<div class="line"><a name="l00304"></a><span class="lineno"> 304</span>&#160; <span class="keywordtype">void</span> SetAllowCertification(<span class="keywordtype">bool</span> m_allow_certification);</div>
<div class="line"><a name="l00305"></a><span class="lineno"> 305</span>&#160; </div>
<div class="line"><a name="l00312"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1GenKeyInfo.html#aabdf981c65a0efde1e8905441b9b9c87"> 312</a></span>&#160; [[nodiscard]] <span class="keywordtype">bool</span> <a class="code" href="classGpgFrontend_1_1GenKeyInfo.html#aabdf981c65a0efde1e8905441b9b9c87">IsAllowAuthentication</a>()<span class="keyword"> const </span>{</div>
<div class="line"><a name="l00313"></a><span class="lineno"> 313</span>&#160; <span class="keywordflow">return</span> allow_authentication_;</div>
<div class="line"><a name="l00314"></a><span class="lineno"> 314</span>&#160; }</div>
<div class="line"><a name="l00315"></a><span class="lineno"> 315</span>&#160; </div>
<div class="line"><a name="l00321"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1GenKeyInfo.html#aac51d251682ed1bc1090416ebfeba4de"> 321</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classGpgFrontend_1_1GenKeyInfo.html#aac51d251682ed1bc1090416ebfeba4de">SetAllowAuthentication</a>(<span class="keywordtype">bool</span> m_allow_authentication) {</div>
<div class="line"><a name="l00322"></a><span class="lineno"> 322</span>&#160; <span class="keywordflow">if</span> (allow_change_authentication_)</div>
<div class="line"><a name="l00323"></a><span class="lineno"> 323</span>&#160; GenKeyInfo::allow_authentication_ = m_allow_authentication;</div>
<div class="line"><a name="l00324"></a><span class="lineno"> 324</span>&#160; }</div>
<div class="line"><a name="l00325"></a><span class="lineno"> 325</span>&#160; </div>
<div class="line"><a name="l00331"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1GenKeyInfo.html#a890ee16ef6088570360a073a6b531c89"> 331</a></span>&#160; [[nodiscard]] <span class="keyword">const</span> std::string &amp;<a class="code" href="classGpgFrontend_1_1GenKeyInfo.html#a890ee16ef6088570360a073a6b531c89">GetPassPhrase</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> passphrase_; }</div>
<div class="line"><a name="l00332"></a><span class="lineno"> 332</span>&#160; </div>
<div class="line"><a name="l00338"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1GenKeyInfo.html#afe1760d4ead397f6096925290a38e1a4"> 338</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classGpgFrontend_1_1GenKeyInfo.html#afe1760d4ead397f6096925290a38e1a4">SetPassPhrase</a>(<span class="keyword">const</span> std::string &amp;m_pass_phrase) {</div>
<div class="line"><a name="l00339"></a><span class="lineno"> 339</span>&#160; GenKeyInfo::passphrase_ = m_pass_phrase;</div>
<div class="line"><a name="l00340"></a><span class="lineno"> 340</span>&#160; }</div>
<div class="line"><a name="l00341"></a><span class="lineno"> 341</span>&#160; </div>
<div class="line"><a name="l00348"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1GenKeyInfo.html#a06f95a8d26da79bcbe7d51e266879a94"> 348</a></span>&#160; [[nodiscard]] <span class="keywordtype">bool</span> <a class="code" href="classGpgFrontend_1_1GenKeyInfo.html#a06f95a8d26da79bcbe7d51e266879a94">IsAllowChangeSigning</a>()<span class="keyword"> const </span>{</div>
<div class="line"><a name="l00349"></a><span class="lineno"> 349</span>&#160; <span class="keywordflow">return</span> allow_change_signing_;</div>
<div class="line"><a name="l00350"></a><span class="lineno"> 350</span>&#160; }</div>
<div class="line"><a name="l00351"></a><span class="lineno"> 351</span>&#160; </div>
<div class="line"><a name="l00358"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1GenKeyInfo.html#ad04a906300bea028c6fb6b1b2da1d149"> 358</a></span>&#160; [[nodiscard]] <span class="keywordtype">bool</span> <a class="code" href="classGpgFrontend_1_1GenKeyInfo.html#ad04a906300bea028c6fb6b1b2da1d149">IsAllowChangeEncryption</a>()<span class="keyword"> const </span>{</div>
<div class="line"><a name="l00359"></a><span class="lineno"> 359</span>&#160; <span class="keywordflow">return</span> allow_change_encryption_;</div>
<div class="line"><a name="l00360"></a><span class="lineno"> 360</span>&#160; }</div>
<div class="line"><a name="l00361"></a><span class="lineno"> 361</span>&#160; </div>
<div class="line"><a name="l00368"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1GenKeyInfo.html#adbcddd0fa0a273f9b77fe1297633dabc"> 368</a></span>&#160; [[nodiscard]] <span class="keywordtype">bool</span> <a class="code" href="classGpgFrontend_1_1GenKeyInfo.html#adbcddd0fa0a273f9b77fe1297633dabc">IsAllowChangeCertification</a>()<span class="keyword"> const </span>{</div>
<div class="line"><a name="l00369"></a><span class="lineno"> 369</span>&#160; <span class="keywordflow">return</span> allow_change_certification_;</div>
<div class="line"><a name="l00370"></a><span class="lineno"> 370</span>&#160; }</div>
<div class="line"><a name="l00371"></a><span class="lineno"> 371</span>&#160; </div>
<div class="line"><a name="l00378"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1GenKeyInfo.html#aaf8ab7c6564a2836837a537111d6f5b4"> 378</a></span>&#160; [[nodiscard]] <span class="keywordtype">bool</span> <a class="code" href="classGpgFrontend_1_1GenKeyInfo.html#aaf8ab7c6564a2836837a537111d6f5b4">IsAllowChangeAuthentication</a>()<span class="keyword"> const </span>{</div>
<div class="line"><a name="l00379"></a><span class="lineno"> 379</span>&#160; <span class="keywordflow">return</span> allow_change_authentication_;</div>
<div class="line"><a name="l00380"></a><span class="lineno"> 380</span>&#160; }</div>
<div class="line"><a name="l00381"></a><span class="lineno"> 381</span>&#160; </div>
<div class="line"><a name="l00387"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1GenKeyInfo.html#ae461a553176ad1ab0c1121ea6de6c8c2"> 387</a></span>&#160; [[nodiscard]] <span class="keywordtype">int</span> <a class="code" href="classGpgFrontend_1_1GenKeyInfo.html#ae461a553176ad1ab0c1121ea6de6c8c2">GetSuggestMaxKeySize</a>()<span class="keyword"> const </span>{</div>
<div class="line"><a name="l00388"></a><span class="lineno"> 388</span>&#160; <span class="keywordflow">return</span> suggest_max_key_size_;</div>
<div class="line"><a name="l00389"></a><span class="lineno"> 389</span>&#160; }</div>
<div class="line"><a name="l00390"></a><span class="lineno"> 390</span>&#160; </div>
<div class="line"><a name="l00396"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1GenKeyInfo.html#a0b1612421148b86919b7130ed148ca51"> 396</a></span>&#160; [[nodiscard]] <span class="keywordtype">int</span> <a class="code" href="classGpgFrontend_1_1GenKeyInfo.html#a0b1612421148b86919b7130ed148ca51">GetSuggestMinKeySize</a>()<span class="keyword"> const </span>{</div>
<div class="line"><a name="l00397"></a><span class="lineno"> 397</span>&#160; <span class="keywordflow">return</span> suggest_min_key_size_;</div>
<div class="line"><a name="l00398"></a><span class="lineno"> 398</span>&#160; }</div>
<div class="line"><a name="l00399"></a><span class="lineno"> 399</span>&#160; </div>
<div class="line"><a name="l00405"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1GenKeyInfo.html#ac211a7a615805ae97ff284b46abfeab7"> 405</a></span>&#160; [[nodiscard]] <span class="keywordtype">int</span> <a class="code" href="classGpgFrontend_1_1GenKeyInfo.html#ac211a7a615805ae97ff284b46abfeab7">GetSizeChangeStep</a>()<span class="keyword"> const </span>{</div>
<div class="line"><a name="l00406"></a><span class="lineno"> 406</span>&#160; <span class="keywordflow">return</span> suggest_size_addition_step_;</div>
<div class="line"><a name="l00407"></a><span class="lineno"> 407</span>&#160; }</div>
<div class="line"><a name="l00408"></a><span class="lineno"> 408</span>&#160; </div>
<div class="line"><a name="l00409"></a><span class="lineno"> 409</span>&#160; <span class="keyword">private</span>:</div>
<div class="line"><a name="l00410"></a><span class="lineno"> 410</span>&#160; <span class="keywordtype">bool</span> allow_encryption_ = <span class="keyword">true</span>; </div>
<div class="line"><a name="l00411"></a><span class="lineno"> 411</span>&#160; <span class="keywordtype">bool</span> allow_change_encryption_ = <span class="keyword">true</span>; </div>
<div class="line"><a name="l00412"></a><span class="lineno"> 412</span>&#160; <span class="keywordtype">bool</span> allow_certification_ = <span class="keyword">true</span>; </div>
<div class="line"><a name="l00413"></a><span class="lineno"> 413</span>&#160; <span class="keywordtype">bool</span> allow_change_certification_ = <span class="keyword">true</span>; </div>
<div class="line"><a name="l00414"></a><span class="lineno"> 414</span>&#160; <span class="keywordtype">bool</span> allow_authentication_ = <span class="keyword">true</span>; </div>
<div class="line"><a name="l00415"></a><span class="lineno"> 415</span>&#160; <span class="keywordtype">bool</span> allow_change_authentication_ = <span class="keyword">true</span>; </div>
<div class="line"><a name="l00416"></a><span class="lineno"> 416</span>&#160; <span class="keywordtype">bool</span> allow_signing_ = <span class="keyword">true</span>; </div>
<div class="line"><a name="l00417"></a><span class="lineno"> 417</span>&#160; <span class="keywordtype">bool</span> allow_change_signing_ = <span class="keyword">true</span>; </div>
<div class="line"><a name="l00418"></a><span class="lineno"> 418</span>&#160; </div>
<div class="line"><a name="l00423"></a><span class="lineno"> 423</span>&#160; <span class="keywordtype">void</span> reset_options();</div>
<div class="line"><a name="l00424"></a><span class="lineno"> 424</span>&#160; </div>
<div class="line"><a name="l00425"></a><span class="lineno"> 425</span>&#160; <span class="keyword">public</span>:</div>
<div class="line"><a name="l00432"></a><span class="lineno"> 432</span>&#160; <span class="keyword">explicit</span> <a class="code" href="classGpgFrontend_1_1GenKeyInfo.html">GenKeyInfo</a>(<span class="keywordtype">bool</span> m_is_sub_key = <span class="keyword">false</span>, <span class="keywordtype">bool</span> m_standalone = <span class="keyword">false</span>);</div>
<div class="line"><a name="l00433"></a><span class="lineno"> 433</span>&#160;};</div>
<div class="line"><a name="l00434"></a><span class="lineno"> 434</span>&#160; </div>
<div class="line"><a name="l00435"></a><span class="lineno"> 435</span>&#160;} <span class="comment">// namespace GpgFrontend</span></div>
<div class="line"><a name="l00436"></a><span class="lineno"> 436</span>&#160; </div>
<div class="line"><a name="l00437"></a><span class="lineno"> 437</span>&#160;<span class="preprocessor">#endif </span><span class="comment">// GPGFRONTEND_GPGGENKEYINFO_H</span></div>
<div class="ttc" id="aclassGpgFrontend_1_1GenKeyInfo_html"><div class="ttname"><a href="classGpgFrontend_1_1GenKeyInfo.html">GpgFrontend::GenKeyInfo</a></div><div class="ttdef"><b>Definition:</b> GpgGenKeyInfo.h:42</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1GenKeyInfo_html_a06f95a8d26da79bcbe7d51e266879a94"><div class="ttname"><a href="classGpgFrontend_1_1GenKeyInfo.html#a06f95a8d26da79bcbe7d51e266879a94">GpgFrontend::GenKeyInfo::IsAllowChangeSigning</a></div><div class="ttdeci">bool IsAllowChangeSigning() const</div><div class="ttdef"><b>Definition:</b> GpgGenKeyInfo.h:348</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1GenKeyInfo_html_a0b1612421148b86919b7130ed148ca51"><div class="ttname"><a href="classGpgFrontend_1_1GenKeyInfo.html#a0b1612421148b86919b7130ed148ca51">GpgFrontend::GenKeyInfo::GetSuggestMinKeySize</a></div><div class="ttdeci">int GetSuggestMinKeySize() const</div><div class="ttdoc">Get the Suggest Min Key Size object.</div><div class="ttdef"><b>Definition:</b> GpgGenKeyInfo.h:396</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1GenKeyInfo_html_a1a01518b24d40d95e187ef73f4dcd52a"><div class="ttname"><a href="classGpgFrontend_1_1GenKeyInfo.html#a1a01518b24d40d95e187ef73f4dcd52a">GpgFrontend::GenKeyInfo::SetAllowSigning</a></div><div class="ttdeci">void SetAllowSigning(bool m_allow_signing)</div><div class="ttdoc">Set the Allow Signing object.</div><div class="ttdef"><b>Definition:</b> GpgGenKeyInfo.h:270</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1GenKeyInfo_html_a28ed8a65243e5bc69403305752c2cdc9"><div class="ttname"><a href="classGpgFrontend_1_1GenKeyInfo.html#a28ed8a65243e5bc69403305752c2cdc9">GpgFrontend::GenKeyInfo::IsAllowEncryption</a></div><div class="ttdeci">bool IsAllowEncryption() const</div><div class="ttdef"><b>Definition:</b> GpgGenKeyInfo.h:280</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1GenKeyInfo_html_a40a42ad975499566de124296c19e6c55"><div class="ttname"><a href="classGpgFrontend_1_1GenKeyInfo.html#a40a42ad975499566de124296c19e6c55">GpgFrontend::GenKeyInfo::IsSubKey</a></div><div class="ttdeci">bool IsSubKey() const</div><div class="ttdef"><b>Definition:</b> GpgGenKeyInfo.h:102</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1GenKeyInfo_html_a4927a9091fa2b2f68f6b60ce78ab2fe9"><div class="ttname"><a href="classGpgFrontend_1_1GenKeyInfo.html#a4927a9091fa2b2f68f6b60ce78ab2fe9">GpgFrontend::GenKeyInfo::GetKeyLength</a></div><div class="ttdeci">int GetKeyLength() const</div><div class="ttdoc">Get the Key Size object.</div><div class="ttdef"><b>Definition:</b> GpgGenKeyInfo.h:190</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1GenKeyInfo_html_a4ee4a0659e76376d9bfc527c334392e1"><div class="ttname"><a href="classGpgFrontend_1_1GenKeyInfo.html#a4ee4a0659e76376d9bfc527c334392e1">GpgFrontend::GenKeyInfo::GetUserid</a></div><div class="ttdeci">std::string GetUserid() const</div><div class="ttdoc">Get the Userid object.</div><div class="ttdef"><b>Definition:</b> GpgGenKeyInfo.h:116</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1GenKeyInfo_html_a656c81d56f77350184f9a94db1a3ce05"><div class="ttname"><a href="classGpgFrontend_1_1GenKeyInfo.html#a656c81d56f77350184f9a94db1a3ce05">GpgFrontend::GenKeyInfo::SetEmail</a></div><div class="ttdeci">void SetEmail(const std::string &amp;m_email)</div><div class="ttdoc">Set the Email object.</div><div class="ttdef"><b>Definition:</b> GpgGenKeyInfo.h:134</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1GenKeyInfo_html_a65ebc487e0e64c325f65474c812615f7"><div class="ttname"><a href="classGpgFrontend_1_1GenKeyInfo.html#a65ebc487e0e64c325f65474c812615f7">GpgFrontend::GenKeyInfo::SetName</a></div><div class="ttdeci">void SetName(const std::string &amp;m_name)</div><div class="ttdoc">Set the Name object.</div><div class="ttdef"><b>Definition:</b> GpgGenKeyInfo.h:127</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1GenKeyInfo_html_a6a65ba347156373b6cf98eb8e851d28d"><div class="ttname"><a href="classGpgFrontend_1_1GenKeyInfo.html#a6a65ba347156373b6cf98eb8e851d28d">GpgFrontend::GenKeyInfo::GetAlgo</a></div><div class="ttdeci">const std::string &amp; GetAlgo() const</div><div class="ttdoc">Get the Algo object.</div><div class="ttdef"><b>Definition:</b> GpgGenKeyInfo.h:169</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1GenKeyInfo_html_a76721be08c18907762ba6f6ccc4afc8a"><div class="ttname"><a href="classGpgFrontend_1_1GenKeyInfo.html#a76721be08c18907762ba6f6ccc4afc8a">GpgFrontend::GenKeyInfo::GetEmail</a></div><div class="ttdeci">std::string GetEmail() const</div><div class="ttdoc">Get the Email object.</div><div class="ttdef"><b>Definition:</b> GpgGenKeyInfo.h:155</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1GenKeyInfo_html_a848181796a99bec8d32dc5eac240ee01"><div class="ttname"><a href="classGpgFrontend_1_1GenKeyInfo.html#a848181796a99bec8d32dc5eac240ee01">GpgFrontend::GenKeyInfo::IsNoPassPhrase</a></div><div class="ttdeci">bool IsNoPassPhrase() const</div><div class="ttdef"><b>Definition:</b> GpgGenKeyInfo.h:236</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1GenKeyInfo_html_a864407216cbdbef9e7b35e6be694d3ef"><div class="ttname"><a href="classGpgFrontend_1_1GenKeyInfo.html#a864407216cbdbef9e7b35e6be694d3ef">GpgFrontend::GenKeyInfo::SetNonPassPhrase</a></div><div class="ttdeci">void SetNonPassPhrase(bool m_non_pass_phrase)</div><div class="ttdoc">Set the Non Pass Phrase object.</div><div class="ttdef"><b>Definition:</b> GpgGenKeyInfo.h:243</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1GenKeyInfo_html_a890ee16ef6088570360a073a6b531c89"><div class="ttname"><a href="classGpgFrontend_1_1GenKeyInfo.html#a890ee16ef6088570360a073a6b531c89">GpgFrontend::GenKeyInfo::GetPassPhrase</a></div><div class="ttdeci">const std::string &amp; GetPassPhrase() const</div><div class="ttdoc">Get the Pass Phrase object.</div><div class="ttdef"><b>Definition:</b> GpgGenKeyInfo.h:331</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1GenKeyInfo_html_a947886456f5699241b1c1b9332e4b29e"><div class="ttname"><a href="classGpgFrontend_1_1GenKeyInfo.html#a947886456f5699241b1c1b9332e4b29e">GpgFrontend::GenKeyInfo::SetComment</a></div><div class="ttdeci">void SetComment(const std::string &amp;m_comment)</div><div class="ttdoc">Set the Comment object.</div><div class="ttdef"><b>Definition:</b> GpgGenKeyInfo.h:141</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1GenKeyInfo_html_aabdf981c65a0efde1e8905441b9b9c87"><div class="ttname"><a href="classGpgFrontend_1_1GenKeyInfo.html#aabdf981c65a0efde1e8905441b9b9c87">GpgFrontend::GenKeyInfo::IsAllowAuthentication</a></div><div class="ttdeci">bool IsAllowAuthentication() const</div><div class="ttdef"><b>Definition:</b> GpgGenKeyInfo.h:312</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1GenKeyInfo_html_aac51d251682ed1bc1090416ebfeba4de"><div class="ttname"><a href="classGpgFrontend_1_1GenKeyInfo.html#aac51d251682ed1bc1090416ebfeba4de">GpgFrontend::GenKeyInfo::SetAllowAuthentication</a></div><div class="ttdeci">void SetAllowAuthentication(bool m_allow_authentication)</div><div class="ttdoc">Set the Allow Authentication object.</div><div class="ttdef"><b>Definition:</b> GpgGenKeyInfo.h:321</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1GenKeyInfo_html_aaf8ab7c6564a2836837a537111d6f5b4"><div class="ttname"><a href="classGpgFrontend_1_1GenKeyInfo.html#aaf8ab7c6564a2836837a537111d6f5b4">GpgFrontend::GenKeyInfo::IsAllowChangeAuthentication</a></div><div class="ttdeci">bool IsAllowChangeAuthentication() const</div><div class="ttdef"><b>Definition:</b> GpgGenKeyInfo.h:378</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1GenKeyInfo_html_ab9f9775fd6363fba372bd0bcc2532892"><div class="ttname"><a href="classGpgFrontend_1_1GenKeyInfo.html#ab9f9775fd6363fba372bd0bcc2532892">GpgFrontend::GenKeyInfo::GetComment</a></div><div class="ttdeci">std::string GetComment() const</div><div class="ttdoc">Get the Comment object.</div><div class="ttdef"><b>Definition:</b> GpgGenKeyInfo.h:162</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1GenKeyInfo_html_abb3e1366dca0288bdc42123e55d77335"><div class="ttname"><a href="classGpgFrontend_1_1GenKeyInfo.html#abb3e1366dca0288bdc42123e55d77335">GpgFrontend::GenKeyInfo::GetName</a></div><div class="ttdeci">std::string GetName() const</div><div class="ttdoc">Get the Name object.</div><div class="ttdef"><b>Definition:</b> GpgGenKeyInfo.h:148</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1GenKeyInfo_html_ac211a7a615805ae97ff284b46abfeab7"><div class="ttname"><a href="classGpgFrontend_1_1GenKeyInfo.html#ac211a7a615805ae97ff284b46abfeab7">GpgFrontend::GenKeyInfo::GetSizeChangeStep</a></div><div class="ttdeci">int GetSizeChangeStep() const</div><div class="ttdoc">Get the Size Change Step object.</div><div class="ttdef"><b>Definition:</b> GpgGenKeyInfo.h:405</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1GenKeyInfo_html_ac629312630a78e32ee36ba0ff30bc9ff"><div class="ttname"><a href="classGpgFrontend_1_1GenKeyInfo.html#ac629312630a78e32ee36ba0ff30bc9ff">GpgFrontend::GenKeyInfo::GetExpireTime</a></div><div class="ttdeci">const boost::posix_time::ptime &amp; GetExpireTime() const</div><div class="ttdoc">Get the Expired object.</div><div class="ttdef"><b>Definition:</b> GpgGenKeyInfo.h:204</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1GenKeyInfo_html_acd9f7742b739e1db60bd50489690dec1"><div class="ttname"><a href="classGpgFrontend_1_1GenKeyInfo.html#acd9f7742b739e1db60bd50489690dec1">GpgFrontend::GenKeyInfo::SetIsSubKey</a></div><div class="ttdeci">void SetIsSubKey(bool m_sub_key)</div><div class="ttdoc">Set the Is Sub Key object.</div><div class="ttdef"><b>Definition:</b> GpgGenKeyInfo.h:109</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1GenKeyInfo_html_ad04a906300bea028c6fb6b1b2da1d149"><div class="ttname"><a href="classGpgFrontend_1_1GenKeyInfo.html#ad04a906300bea028c6fb6b1b2da1d149">GpgFrontend::GenKeyInfo::IsAllowChangeEncryption</a></div><div class="ttdeci">bool IsAllowChangeEncryption() const</div><div class="ttdef"><b>Definition:</b> GpgGenKeyInfo.h:358</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1GenKeyInfo_html_ad47ceeb1ccfa8862843034e51b4d8be7"><div class="ttname"><a href="classGpgFrontend_1_1GenKeyInfo.html#ad47ceeb1ccfa8862843034e51b4d8be7">GpgFrontend::GenKeyInfo::IsAllowCertification</a></div><div class="ttdeci">bool IsAllowCertification() const</div><div class="ttdef"><b>Definition:</b> GpgGenKeyInfo.h:295</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1GenKeyInfo_html_ad972292c408cb83c08e739327795a5f0"><div class="ttname"><a href="classGpgFrontend_1_1GenKeyInfo.html#ad972292c408cb83c08e739327795a5f0">GpgFrontend::GenKeyInfo::IsAllowSigning</a></div><div class="ttdeci">bool IsAllowSigning() const</div><div class="ttdef"><b>Definition:</b> GpgGenKeyInfo.h:253</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1GenKeyInfo_html_adbcddd0fa0a273f9b77fe1297633dabc"><div class="ttname"><a href="classGpgFrontend_1_1GenKeyInfo.html#adbcddd0fa0a273f9b77fe1297633dabc">GpgFrontend::GenKeyInfo::IsAllowChangeCertification</a></div><div class="ttdeci">bool IsAllowChangeCertification() const</div><div class="ttdef"><b>Definition:</b> GpgGenKeyInfo.h:368</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1GenKeyInfo_html_ae461a553176ad1ab0c1121ea6de6c8c2"><div class="ttname"><a href="classGpgFrontend_1_1GenKeyInfo.html#ae461a553176ad1ab0c1121ea6de6c8c2">GpgFrontend::GenKeyInfo::GetSuggestMaxKeySize</a></div><div class="ttdeci">int GetSuggestMaxKeySize() const</div><div class="ttdoc">Get the Suggest Max Key Size object.</div><div class="ttdef"><b>Definition:</b> GpgGenKeyInfo.h:387</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1GenKeyInfo_html_aeef7697c91b5b5998088979e09332380"><div class="ttname"><a href="classGpgFrontend_1_1GenKeyInfo.html#aeef7697c91b5b5998088979e09332380">GpgFrontend::GenKeyInfo::IsNonExpired</a></div><div class="ttdeci">bool IsNonExpired() const</div><div class="ttdef"><b>Definition:</b> GpgGenKeyInfo.h:221</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1GenKeyInfo_html_af6a79124a4571ff7f37c1c5e6c1a9415"><div class="ttname"><a href="classGpgFrontend_1_1GenKeyInfo.html#af6a79124a4571ff7f37c1c5e6c1a9415">GpgFrontend::GenKeyInfo::IsAllowNoPassPhrase</a></div><div class="ttdeci">bool IsAllowNoPassPhrase() const</div><div class="ttdef"><b>Definition:</b> GpgGenKeyInfo.h:261</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1GenKeyInfo_html_afe1760d4ead397f6096925290a38e1a4"><div class="ttname"><a href="classGpgFrontend_1_1GenKeyInfo.html#afe1760d4ead397f6096925290a38e1a4">GpgFrontend::GenKeyInfo::SetPassPhrase</a></div><div class="ttdeci">void SetPassPhrase(const std::string &amp;m_pass_phrase)</div><div class="ttdoc">Set the Pass Phrase object.</div><div class="ttdef"><b>Definition:</b> GpgGenKeyInfo.h:338</div></div>
<div class="ttc" id="anamespaceGpgFrontend_html"><div class="ttname"><a href="namespaceGpgFrontend.html">GpgFrontend</a></div><div class="ttdef"><b>Definition:</b> CoreCommonUtil.cpp:31</div></div>
</div><!-- fragment --></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="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_aebb8dcc11953d78e620bbef0b9e2183.html">core</a></li><li class="navelem"><b>GpgGenKeyInfo.h</b></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>