GpgFrontend-Doxygen/docs/html/GpgGenKeyInfo_8h_source.html

309 lines
47 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">public</span>:</div>
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> std::vector&lt;std::string&gt; &amp;GetSupportedKeyAlgo();</div>
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160; </div>
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> std::vector&lt;std::string&gt; &amp;GetSupportedSubkeyAlgo();</div>
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160; </div>
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> std::vector&lt;std::string&gt; &amp;GetSupportedKeyAlgoStandalone();</div>
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>&#160; </div>
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> std::vector&lt;std::string&gt; &amp;GetSupportedSubkeyAlgoStandalone();</div>
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160; </div>
<div class="line"><a name="l00100"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1GenKeyInfo.html#a40a42ad975499566de124296c19e6c55"> 100</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="l00101"></a><span class="lineno"> 101</span>&#160; </div>
<div class="line"><a name="l00107"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1GenKeyInfo.html#acd9f7742b739e1db60bd50489690dec1"> 107</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="l00108"></a><span class="lineno"> 108</span>&#160; </div>
<div class="line"><a name="l00114"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1GenKeyInfo.html#a4ee4a0659e76376d9bfc527c334392e1"> 114</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="l00115"></a><span class="lineno"> 115</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="l00116"></a><span class="lineno"> 116</span>&#160; this-&gt;comment_ % this-&gt;email_;</div>
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>&#160; <span class="keywordflow">return</span> uid_format.str();</div>
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>&#160; }</div>
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>&#160; </div>
<div class="line"><a name="l00125"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1GenKeyInfo.html#a65ebc487e0e64c325f65474c812615f7"> 125</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="l00126"></a><span class="lineno"> 126</span>&#160; </div>
<div class="line"><a name="l00132"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1GenKeyInfo.html#a656c81d56f77350184f9a94db1a3ce05"> 132</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="l00133"></a><span class="lineno"> 133</span>&#160; </div>
<div class="line"><a name="l00139"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1GenKeyInfo.html#a947886456f5699241b1c1b9332e4b29e"> 139</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="l00140"></a><span class="lineno"> 140</span>&#160; </div>
<div class="line"><a name="l00146"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1GenKeyInfo.html#abb3e1366dca0288bdc42123e55d77335"> 146</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="l00147"></a><span class="lineno"> 147</span>&#160; </div>
<div class="line"><a name="l00153"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1GenKeyInfo.html#a76721be08c18907762ba6f6ccc4afc8a"> 153</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="l00154"></a><span class="lineno"> 154</span>&#160; </div>
<div class="line"><a name="l00160"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1GenKeyInfo.html#ab9f9775fd6363fba372bd0bcc2532892"> 160</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="l00161"></a><span class="lineno"> 161</span>&#160; </div>
<div class="line"><a name="l00167"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1GenKeyInfo.html#a6a65ba347156373b6cf98eb8e851d28d"> 167</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="l00168"></a><span class="lineno"> 168</span>&#160; </div>
<div class="line"><a name="l00174"></a><span class="lineno"> 174</span>&#160; <span class="keywordtype">void</span> SetAlgo(<span class="keyword">const</span> std::string &amp;m_algo);</div>
<div class="line"><a name="l00175"></a><span class="lineno"> 175</span>&#160; </div>
<div class="line"><a name="l00181"></a><span class="lineno"> 181</span>&#160; [[nodiscard]] std::string GetKeySizeStr() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00182"></a><span class="lineno"> 182</span>&#160; </div>
<div class="line"><a name="l00188"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1GenKeyInfo.html#a4927a9091fa2b2f68f6b60ce78ab2fe9"> 188</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="l00189"></a><span class="lineno"> 189</span>&#160; </div>
<div class="line"><a name="l00195"></a><span class="lineno"> 195</span>&#160; <span class="keywordtype">void</span> SetKeyLength(<span class="keywordtype">int</span> m_key_size);</div>
<div class="line"><a name="l00196"></a><span class="lineno"> 196</span>&#160; </div>
<div class="line"><a name="l00202"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1GenKeyInfo.html#ac629312630a78e32ee36ba0ff30bc9ff"> 202</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="l00203"></a><span class="lineno"> 203</span>&#160; <span class="keywordflow">return</span> expired_;</div>
<div class="line"><a name="l00204"></a><span class="lineno"> 204</span>&#160; }</div>
<div class="line"><a name="l00205"></a><span class="lineno"> 205</span>&#160; </div>
<div class="line"><a name="l00211"></a><span class="lineno"> 211</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="l00212"></a><span class="lineno"> 212</span>&#160; </div>
<div class="line"><a name="l00219"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1GenKeyInfo.html#aeef7697c91b5b5998088979e09332380"> 219</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="l00220"></a><span class="lineno"> 220</span>&#160; </div>
<div class="line"><a name="l00226"></a><span class="lineno"> 226</span>&#160; <span class="keywordtype">void</span> SetNonExpired(<span class="keywordtype">bool</span> m_non_expired);</div>
<div class="line"><a name="l00227"></a><span class="lineno"> 227</span>&#160; </div>
<div class="line"><a name="l00234"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1GenKeyInfo.html#a848181796a99bec8d32dc5eac240ee01"> 234</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="l00235"></a><span class="lineno"> 235</span>&#160; </div>
<div class="line"><a name="l00241"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1GenKeyInfo.html#a864407216cbdbef9e7b35e6be694d3ef"> 241</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="l00242"></a><span class="lineno"> 242</span>&#160; GenKeyInfo::no_passphrase_ = m_non_pass_phrase;</div>
<div class="line"><a name="l00243"></a><span class="lineno"> 243</span>&#160; }</div>
<div class="line"><a name="l00244"></a><span class="lineno"> 244</span>&#160; </div>
<div class="line"><a name="l00251"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1GenKeyInfo.html#ad972292c408cb83c08e739327795a5f0"> 251</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="l00252"></a><span class="lineno"> 252</span>&#160; </div>
<div class="line"><a name="l00259"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1GenKeyInfo.html#af6a79124a4571ff7f37c1c5e6c1a9415"> 259</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="l00260"></a><span class="lineno"> 260</span>&#160; <span class="keywordflow">return</span> allow_no_pass_phrase_;</div>
<div class="line"><a name="l00261"></a><span class="lineno"> 261</span>&#160; }</div>
<div class="line"><a name="l00262"></a><span class="lineno"> 262</span>&#160; </div>
<div class="line"><a name="l00268"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1GenKeyInfo.html#a1a01518b24d40d95e187ef73f4dcd52a"> 268</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="l00269"></a><span class="lineno"> 269</span>&#160; <span class="keywordflow">if</span> (allow_change_signing_) GenKeyInfo::allow_signing_ = m_allow_signing;</div>
<div class="line"><a name="l00270"></a><span class="lineno"> 270</span>&#160; }</div>
<div class="line"><a name="l00271"></a><span class="lineno"> 271</span>&#160; </div>
<div class="line"><a name="l00278"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1GenKeyInfo.html#a28ed8a65243e5bc69403305752c2cdc9"> 278</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="l00279"></a><span class="lineno"> 279</span>&#160; </div>
<div class="line"><a name="l00285"></a><span class="lineno"> 285</span>&#160; <span class="keywordtype">void</span> SetAllowEncryption(<span class="keywordtype">bool</span> m_allow_encryption);</div>
<div class="line"><a name="l00286"></a><span class="lineno"> 286</span>&#160; </div>
<div class="line"><a name="l00293"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1GenKeyInfo.html#ad47ceeb1ccfa8862843034e51b4d8be7"> 293</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="l00294"></a><span class="lineno"> 294</span>&#160; <span class="keywordflow">return</span> allow_certification_;</div>
<div class="line"><a name="l00295"></a><span class="lineno"> 295</span>&#160; }</div>
<div class="line"><a name="l00296"></a><span class="lineno"> 296</span>&#160; </div>
<div class="line"><a name="l00302"></a><span class="lineno"> 302</span>&#160; <span class="keywordtype">void</span> SetAllowCertification(<span class="keywordtype">bool</span> m_allow_certification);</div>
<div class="line"><a name="l00303"></a><span class="lineno"> 303</span>&#160; </div>
<div class="line"><a name="l00310"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1GenKeyInfo.html#aabdf981c65a0efde1e8905441b9b9c87"> 310</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="l00311"></a><span class="lineno"> 311</span>&#160; <span class="keywordflow">return</span> allow_authentication_;</div>
<div class="line"><a name="l00312"></a><span class="lineno"> 312</span>&#160; }</div>
<div class="line"><a name="l00313"></a><span class="lineno"> 313</span>&#160; </div>
<div class="line"><a name="l00319"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1GenKeyInfo.html#aac51d251682ed1bc1090416ebfeba4de"> 319</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="l00320"></a><span class="lineno"> 320</span>&#160; <span class="keywordflow">if</span> (allow_change_authentication_)</div>
<div class="line"><a name="l00321"></a><span class="lineno"> 321</span>&#160; GenKeyInfo::allow_authentication_ = m_allow_authentication;</div>
<div class="line"><a name="l00322"></a><span class="lineno"> 322</span>&#160; }</div>
<div class="line"><a name="l00323"></a><span class="lineno"> 323</span>&#160; </div>
<div class="line"><a name="l00329"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1GenKeyInfo.html#a890ee16ef6088570360a073a6b531c89"> 329</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="l00330"></a><span class="lineno"> 330</span>&#160; </div>
<div class="line"><a name="l00336"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1GenKeyInfo.html#afe1760d4ead397f6096925290a38e1a4"> 336</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="l00337"></a><span class="lineno"> 337</span>&#160; GenKeyInfo::passphrase_ = m_pass_phrase;</div>
<div class="line"><a name="l00338"></a><span class="lineno"> 338</span>&#160; }</div>
<div class="line"><a name="l00339"></a><span class="lineno"> 339</span>&#160; </div>
<div class="line"><a name="l00346"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1GenKeyInfo.html#a06f95a8d26da79bcbe7d51e266879a94"> 346</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="l00347"></a><span class="lineno"> 347</span>&#160; <span class="keywordflow">return</span> allow_change_signing_;</div>
<div class="line"><a name="l00348"></a><span class="lineno"> 348</span>&#160; }</div>
<div class="line"><a name="l00349"></a><span class="lineno"> 349</span>&#160; </div>
<div class="line"><a name="l00356"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1GenKeyInfo.html#ad04a906300bea028c6fb6b1b2da1d149"> 356</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="l00357"></a><span class="lineno"> 357</span>&#160; <span class="keywordflow">return</span> allow_change_encryption_;</div>
<div class="line"><a name="l00358"></a><span class="lineno"> 358</span>&#160; }</div>
<div class="line"><a name="l00359"></a><span class="lineno"> 359</span>&#160; </div>
<div class="line"><a name="l00366"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1GenKeyInfo.html#adbcddd0fa0a273f9b77fe1297633dabc"> 366</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="l00367"></a><span class="lineno"> 367</span>&#160; <span class="keywordflow">return</span> allow_change_certification_;</div>
<div class="line"><a name="l00368"></a><span class="lineno"> 368</span>&#160; }</div>
<div class="line"><a name="l00369"></a><span class="lineno"> 369</span>&#160; </div>
<div class="line"><a name="l00376"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1GenKeyInfo.html#aaf8ab7c6564a2836837a537111d6f5b4"> 376</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="l00377"></a><span class="lineno"> 377</span>&#160; <span class="keywordflow">return</span> allow_change_authentication_;</div>
<div class="line"><a name="l00378"></a><span class="lineno"> 378</span>&#160; }</div>
<div class="line"><a name="l00379"></a><span class="lineno"> 379</span>&#160; </div>
<div class="line"><a name="l00385"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1GenKeyInfo.html#ae461a553176ad1ab0c1121ea6de6c8c2"> 385</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="l00386"></a><span class="lineno"> 386</span>&#160; <span class="keywordflow">return</span> suggest_max_key_size_;</div>
<div class="line"><a name="l00387"></a><span class="lineno"> 387</span>&#160; }</div>
<div class="line"><a name="l00388"></a><span class="lineno"> 388</span>&#160; </div>
<div class="line"><a name="l00394"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1GenKeyInfo.html#a0b1612421148b86919b7130ed148ca51"> 394</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="l00395"></a><span class="lineno"> 395</span>&#160; <span class="keywordflow">return</span> suggest_min_key_size_;</div>
<div class="line"><a name="l00396"></a><span class="lineno"> 396</span>&#160; }</div>
<div class="line"><a name="l00397"></a><span class="lineno"> 397</span>&#160; </div>
<div class="line"><a name="l00403"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1GenKeyInfo.html#ac211a7a615805ae97ff284b46abfeab7"> 403</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="l00404"></a><span class="lineno"> 404</span>&#160; <span class="keywordflow">return</span> suggest_size_addition_step_;</div>
<div class="line"><a name="l00405"></a><span class="lineno"> 405</span>&#160; }</div>
<div class="line"><a name="l00406"></a><span class="lineno"> 406</span>&#160; </div>
<div class="line"><a name="l00407"></a><span class="lineno"> 407</span>&#160; <span class="keyword">private</span>:</div>
<div class="line"><a name="l00408"></a><span class="lineno"> 408</span>&#160; <span class="keywordtype">bool</span> allow_encryption_ = <span class="keyword">true</span>; </div>
<div class="line"><a name="l00409"></a><span class="lineno"> 409</span>&#160; <span class="keywordtype">bool</span> allow_change_encryption_ = <span class="keyword">true</span>; </div>
<div class="line"><a name="l00410"></a><span class="lineno"> 410</span>&#160; <span class="keywordtype">bool</span> allow_certification_ = <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_certification_ = <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_authentication_ = <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_authentication_ = <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_signing_ = <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_signing_ = <span class="keyword">true</span>; </div>
<div class="line"><a name="l00416"></a><span class="lineno"> 416</span>&#160; </div>
<div class="line"><a name="l00421"></a><span class="lineno"> 421</span>&#160; <span class="keywordtype">void</span> reset_options();</div>
<div class="line"><a name="l00422"></a><span class="lineno"> 422</span>&#160; </div>
<div class="line"><a name="l00423"></a><span class="lineno"> 423</span>&#160; <span class="keyword">public</span>:</div>
<div class="line"><a name="l00430"></a><span class="lineno"> 430</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="l00431"></a><span class="lineno"> 431</span>&#160;};</div>
<div class="line"><a name="l00432"></a><span class="lineno"> 432</span>&#160; </div>
<div class="line"><a name="l00433"></a><span class="lineno"> 433</span>&#160;} <span class="comment">// namespace GpgFrontend</span></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="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:346</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:394</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:268</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:278</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:100</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:188</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:114</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:132</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:125</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:167</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:153</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:234</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:241</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:329</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:139</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:310</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:319</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:376</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:160</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:146</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:403</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:202</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:107</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:356</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:293</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:251</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:366</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:385</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:219</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:259</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:336</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:29</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>