<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en_US" xml:lang="en_US"> <head> <title>libkpgp: Kpgp::Subkey Class Reference (libkpgp)</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-Style-Type" content="text/css" /> <meta http-equiv="pics-label" content='(pics-1.1 "http://www.icra.org/ratingsv02.html" comment "ICRAonline DE v2.0" l gen true for "http://www.kde.org" r (nz 1 vz 1 lz 1 oz 1 cb 1) "http://www.rsac.org/ratingsv01.html" l gen true for "http://www.kde.org" r (n 0 s 0 v 0 l 0))' /> <meta name="trademark" content="KDE e.V." /> <meta name="description" content="K Desktop Environment Homepage, KDE.org" /> <meta name="MSSmartTagsPreventParsing" content="true" /> <meta name="robots" content="all" /> <link rel="shortcut icon" href="../../favicon.ico" /> <link rel="stylesheet" media="screen" type="text/css" title="APIDOX" href="doxygen.css" /> <style type="text/css"> <!-- hr { display: none; } #content h2 { margin-left: 0px; } table.mdTable { background-color: #f8f8f8; border: .2em solid #d7d7d7; } td.mdRow { padding: 8px 20px; } td.md { font-weight: bold; } td.mdname1 { font-weight: bold; color: #602020; } td.mdname { font-weight: bold; color: #602020; } --> </style> </head> <body> <div id="nav_header_top" align="right"> <a href="#content" class="doNotDisplay" accesskey="2">Skip to main content ::</a> <a href="../.."><img id="nav_header_logo" alt="Home" align="left" src="../../kde_gear_64.png" border="0" /></a> <span class="doNotDisplay">::</span> <img id="nav_header_logo_right" alt="" align="right" src="../../pimlogo.png" border="0" /> <div id="nav_header_title" align="left">KDE PIM API Reference</div> </div> <div id="nav_header_bottom" align="right"> <span class="doNotDisplay">:: <a href="#navigation" accesskey="5">Skip to Link Menu</a><br/></span> <div id="nav_header_bottom_left" style="text-align: left;"> / <a href="../../">API Reference</a> / <a href=".">libkpgp</a> </div> </div> <table id="main" border="0" cellpadding="0" cellspacing="0" width="100%"> <tr> <td valign="top" class="menuheader" height="0"></td> <td id="contentcolumn" valign="top" rowspan="2" > <div id="content" style="padding-top: 0px;"><div style="width:100%; margin: 0px; padding: 0px;"> <h2><a name="content"></a>libkpgp</h2> <!-- Generated by Doxygen 1.5.5 --> <div class="navpath"><b>Kpgp</b>::<a class="el" href="classKpgp_1_1Subkey.html">Subkey</a> </div> <div class="contents"> <h1>Kpgp::Subkey Class Reference</h1><!-- doxytag: class="Kpgp::Subkey" --><code>#include <<a class="el" href="kpgpkey_8h-source.html">kpgpkey.h</a>></code> <p> <p> <a href="classKpgp_1_1Subkey-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2> This class is used to store information about a subkey of a PGP key. <p>Definition at line <a class="el" href="kpgpkey_8h-source.html#l00162">162</a> of file <a class="el" href="kpgpkey_8h-source.html">kpgpkey.h</a>.</p> <table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classKpgp_1_1Subkey.html#4a0d7fae985dd1caf286f52e87e06e1c">Subkey</a> (const KeyID &keyID, const bool secret=false)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classKpgp_1_1Subkey.html#173c2a81219cfd907e5e4c329b06fd00">secret</a> () const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classKpgp_1_1Subkey.html#135c33ffd241091c9c265acb85a876a6">revoked</a> () const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classKpgp_1_1Subkey.html#9a36cc4daf08866fe9c1f18bd4a61c5c">expired</a> () const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classKpgp_1_1Subkey.html#20df202f6ec8d6687b39c3f7b35d18dc">disabled</a> () const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classKpgp_1_1Subkey.html#37be8de2afc857b08c927205c8a22f3a">invalid</a> () const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classKpgp_1_1Subkey.html#1ad6cc448ab49a8e6d24b0e03ca0d936">canEncrypt</a> () const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classKpgp_1_1Subkey.html#6b494954574a741c5a14a99458d69ec6">canSign</a> () const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classKpgp_1_1Subkey.html#af6e0760f9e29a59dd84e97a0dfa9e1a">canCertify</a> () const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="classKpgp_1_1Subkey.html#febb37594e91f8c71484953e3aa4abe2">keyAlgorithm</a> () const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="classKpgp_1_1Subkey.html#ee1a72cfae784ec9c1ec1ececc0ffd2a">keyLength</a> () const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">KeyID </td><td class="memItemRight" valign="bottom"><a class="el" href="classKpgp_1_1Subkey.html#70f48020f98be2903e41475732b2f77c">longKeyID</a> () const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">KeyID </td><td class="memItemRight" valign="bottom"><a class="el" href="classKpgp_1_1Subkey.html#4169ebfa68e549e577b99005acf518e1">keyID</a> () const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">QCString </td><td class="memItemRight" valign="bottom"><a class="el" href="classKpgp_1_1Subkey.html#83d437d6f99943d67053bfaa7cbe860a">fingerprint</a> () const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">time_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classKpgp_1_1Subkey.html#868b8ddfa828686541489519194c75fb">creationDate</a> () const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">time_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classKpgp_1_1Subkey.html#9f2af8fee29b3053fde2219440d15104">expirationDate</a> () const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKpgp_1_1Subkey.html#0d2ae833901945891e10c5157e2b81a2">setSecret</a> (const bool secret)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKpgp_1_1Subkey.html#2f8b4ed30f3d9c32fbd9da3531f2a5b8">setRevoked</a> (const bool revoked)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKpgp_1_1Subkey.html#794b6394295da947e3a57d4804b34c28">setExpired</a> (const bool expired)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKpgp_1_1Subkey.html#2a6a430f8b0971b610d2f637a061f910">setDisabled</a> (const bool disabled)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKpgp_1_1Subkey.html#bd3dc8d2fa22b7ab41004202c075f83d">setInvalid</a> (const bool invalid)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKpgp_1_1Subkey.html#5411d5086048cbe865b159c5aa6c905a">setCanEncrypt</a> (const bool canEncrypt)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKpgp_1_1Subkey.html#656d74041c13b493300b57b29d1fa691">setCanSign</a> (const bool canSign)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKpgp_1_1Subkey.html#33a4f9f3c43a1526363c96539bd16d12">setCanCertify</a> (const bool canCertify)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKpgp_1_1Subkey.html#43405028147065497aed93250b6f90a9">setKeyAlgorithm</a> (const unsigned int keyAlgo)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKpgp_1_1Subkey.html#4f704202538efa058355734054b5994b">setKeyLength</a> (const unsigned int keyLen)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKpgp_1_1Subkey.html#cf8065480a2f4dcb1b2b868617723897">setKeyID</a> (const KeyID &keyID)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKpgp_1_1Subkey.html#8ef232a60046405cef6f0ee771156250">setFingerprint</a> (const QCString &fingerprint)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKpgp_1_1Subkey.html#d40a4cd6fc05a0e8767fbe7d49dddd51">setCreationDate</a> (const time_t creationDate)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKpgp_1_1Subkey.html#eca531b253fa20e9a638283369f0d430">setExpirationDate</a> (const time_t expirationDate)</td></tr> <tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1db0e851158c66a4c3c357fc9b8c02c5"></a><!-- doxytag: member="Kpgp::Subkey::mSecret" ref="1db0e851158c66a4c3c357fc9b8c02c5" args="" --> bool </td><td class="memItemRight" valign="bottom"><b>mSecret</b>: 1</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d8303872737ecf52ec3059759c02ce72"></a><!-- doxytag: member="Kpgp::Subkey::mRevoked" ref="d8303872737ecf52ec3059759c02ce72" args="" --> bool </td><td class="memItemRight" valign="bottom"><b>mRevoked</b>: 1</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="940e7c298e25652f91e8ee2eed320da1"></a><!-- doxytag: member="Kpgp::Subkey::mExpired" ref="940e7c298e25652f91e8ee2eed320da1" args="" --> bool </td><td class="memItemRight" valign="bottom"><b>mExpired</b>: 1</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8bdeba5217d0a2bdc8e564fcb6f47df6"></a><!-- doxytag: member="Kpgp::Subkey::mDisabled" ref="8bdeba5217d0a2bdc8e564fcb6f47df6" args="" --> bool </td><td class="memItemRight" valign="bottom"><b>mDisabled</b>: 1</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0539c31824e92f7a35bf9c4556910e03"></a><!-- doxytag: member="Kpgp::Subkey::mInvalid" ref="0539c31824e92f7a35bf9c4556910e03" args="" --> bool </td><td class="memItemRight" valign="bottom"><b>mInvalid</b>: 1</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="41919a5f0a3c8e3539b2ee541e47c87a"></a><!-- doxytag: member="Kpgp::Subkey::mCanEncrypt" ref="41919a5f0a3c8e3539b2ee541e47c87a" args="" --> bool </td><td class="memItemRight" valign="bottom"><b>mCanEncrypt</b>: 1</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="cc55fcb5787d70a8f09fbcd5296e5194"></a><!-- doxytag: member="Kpgp::Subkey::mCanSign" ref="cc55fcb5787d70a8f09fbcd5296e5194" args="" --> bool </td><td class="memItemRight" valign="bottom"><b>mCanSign</b>: 1</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b1daed13ea0d4f82baf10159d1c128f7"></a><!-- doxytag: member="Kpgp::Subkey::mCanCertify" ref="b1daed13ea0d4f82baf10159d1c128f7" args="" --> bool </td><td class="memItemRight" valign="bottom"><b>mCanCertify</b>: 1</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c481ff7e3590402b610e47fd9e562b99"></a><!-- doxytag: member="Kpgp::Subkey::mKeyAlgo" ref="c481ff7e3590402b610e47fd9e562b99" args="" --> unsigned int </td><td class="memItemRight" valign="bottom"><b>mKeyAlgo</b></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6dd87c85ce62da9daf877cc41ca320d9"></a><!-- doxytag: member="Kpgp::Subkey::mKeyLen" ref="6dd87c85ce62da9daf877cc41ca320d9" args="" --> unsigned int </td><td class="memItemRight" valign="bottom"><b>mKeyLen</b></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="329a5bf83ad98d1f272e333fbb3328ae"></a><!-- doxytag: member="Kpgp::Subkey::mKeyID" ref="329a5bf83ad98d1f272e333fbb3328ae" args="" --> KeyID </td><td class="memItemRight" valign="bottom"><b>mKeyID</b></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f6efdfb3516f631ecad01bd8f64b2b98"></a><!-- doxytag: member="Kpgp::Subkey::mFingerprint" ref="f6efdfb3516f631ecad01bd8f64b2b98" args="" --> QCString </td><td class="memItemRight" valign="bottom"><b>mFingerprint</b></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a1d795979d8d79bec1f75476f0fbc1b3"></a><!-- doxytag: member="Kpgp::Subkey::mTimestamp" ref="a1d795979d8d79bec1f75476f0fbc1b3" args="" --> time_t </td><td class="memItemRight" valign="bottom"><b>mTimestamp</b></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a367685e957cf7fd1fae3e825a47c2a5"></a><!-- doxytag: member="Kpgp::Subkey::mExpiration" ref="a367685e957cf7fd1fae3e825a47c2a5" args="" --> time_t </td><td class="memItemRight" valign="bottom"><b>mExpiration</b></td></tr> </table> <hr><h2>Constructor & Destructor Documentation</h2> <a class="anchor" name="4a0d7fae985dd1caf286f52e87e06e1c"></a><!-- doxytag: member="Kpgp::Subkey::Subkey" ref="4a0d7fae985dd1caf286f52e87e06e1c" args="(const KeyID &keyID, const bool secret=false)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Kpgp::Subkey::Subkey </td> <td>(</td> <td class="paramtype">const KeyID & </td> <td class="paramname"> <em>keyID</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const bool </td> <td class="paramname"> <em>secret</em> = <code>false</code></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Constructs a new subkey with the given key ID. <p> <p>Definition at line <a class="el" href="kpgpkey_8cpp-source.html#l00062">62</a> of file <a class="el" href="kpgpkey_8cpp-source.html">kpgpkey.cpp</a>.</p> </div> </div><p> <hr><h2>Member Function Documentation</h2> <a class="anchor" name="173c2a81219cfd907e5e4c329b06fd00"></a><!-- doxytag: member="Kpgp::Subkey::secret" ref="173c2a81219cfd907e5e4c329b06fd00" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Kpgp::Subkey::secret </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Returns true if the subkey is a secret subkey. <p> <p>Definition at line <a class="el" href="kpgpkey_8h-source.html#l00281">281</a> of file <a class="el" href="kpgpkey_8h-source.html">kpgpkey.h</a>.</p> </div> </div><p> <a class="anchor" name="135c33ffd241091c9c265acb85a876a6"></a><!-- doxytag: member="Kpgp::Subkey::revoked" ref="135c33ffd241091c9c265acb85a876a6" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Kpgp::Subkey::revoked </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Returns true if the subkey has been revoked. <p> <p>Definition at line <a class="el" href="kpgpkey_8h-source.html#l00286">286</a> of file <a class="el" href="kpgpkey_8h-source.html">kpgpkey.h</a>.</p> </div> </div><p> <a class="anchor" name="9a36cc4daf08866fe9c1f18bd4a61c5c"></a><!-- doxytag: member="Kpgp::Subkey::expired" ref="9a36cc4daf08866fe9c1f18bd4a61c5c" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Kpgp::Subkey::expired </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Returns true if the subkey has expired. <p> <p>Definition at line <a class="el" href="kpgpkey_8h-source.html#l00291">291</a> of file <a class="el" href="kpgpkey_8h-source.html">kpgpkey.h</a>.</p> </div> </div><p> <a class="anchor" name="20df202f6ec8d6687b39c3f7b35d18dc"></a><!-- doxytag: member="Kpgp::Subkey::disabled" ref="20df202f6ec8d6687b39c3f7b35d18dc" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Kpgp::Subkey::disabled </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Returns true if the subkey has been disabled. <p> <p>Definition at line <a class="el" href="kpgpkey_8h-source.html#l00296">296</a> of file <a class="el" href="kpgpkey_8h-source.html">kpgpkey.h</a>.</p> </div> </div><p> <a class="anchor" name="37be8de2afc857b08c927205c8a22f3a"></a><!-- doxytag: member="Kpgp::Subkey::invalid" ref="37be8de2afc857b08c927205c8a22f3a" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Kpgp::Subkey::invalid </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Returns true if the subkey is invalid. <p> <p>Definition at line <a class="el" href="kpgpkey_8h-source.html#l00301">301</a> of file <a class="el" href="kpgpkey_8h-source.html">kpgpkey.h</a>.</p> </div> </div><p> <a class="anchor" name="1ad6cc448ab49a8e6d24b0e03ca0d936"></a><!-- doxytag: member="Kpgp::Subkey::canEncrypt" ref="1ad6cc448ab49a8e6d24b0e03ca0d936" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Kpgp::Subkey::canEncrypt </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Returns true if the subkey can be used to encrypt data. <p> <p>Definition at line <a class="el" href="kpgpkey_8h-source.html#l00306">306</a> of file <a class="el" href="kpgpkey_8h-source.html">kpgpkey.h</a>.</p> </div> </div><p> <a class="anchor" name="6b494954574a741c5a14a99458d69ec6"></a><!-- doxytag: member="Kpgp::Subkey::canSign" ref="6b494954574a741c5a14a99458d69ec6" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Kpgp::Subkey::canSign </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Returns true if the subkey can be used to sign data. <p> <p>Definition at line <a class="el" href="kpgpkey_8h-source.html#l00311">311</a> of file <a class="el" href="kpgpkey_8h-source.html">kpgpkey.h</a>.</p> </div> </div><p> <a class="anchor" name="af6e0760f9e29a59dd84e97a0dfa9e1a"></a><!-- doxytag: member="Kpgp::Subkey::canCertify" ref="af6e0760f9e29a59dd84e97a0dfa9e1a" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Kpgp::Subkey::canCertify </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Returns true if the subkey can be used to certify keys. <p> <p>Definition at line <a class="el" href="kpgpkey_8h-source.html#l00316">316</a> of file <a class="el" href="kpgpkey_8h-source.html">kpgpkey.h</a>.</p> </div> </div><p> <a class="anchor" name="febb37594e91f8c71484953e3aa4abe2"></a><!-- doxytag: member="Kpgp::Subkey::keyAlgorithm" ref="febb37594e91f8c71484953e3aa4abe2" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">unsigned int Kpgp::Subkey::keyAlgorithm </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Returns the key algorithm of the subkey. <p> <p>Definition at line <a class="el" href="kpgpkey_8h-source.html#l00321">321</a> of file <a class="el" href="kpgpkey_8h-source.html">kpgpkey.h</a>.</p> </div> </div><p> <a class="anchor" name="ee1a72cfae784ec9c1ec1ececc0ffd2a"></a><!-- doxytag: member="Kpgp::Subkey::keyLength" ref="ee1a72cfae784ec9c1ec1ececc0ffd2a" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">unsigned int Kpgp::Subkey::keyLength </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Returns the length of the subkey in bits. <p> <p>Definition at line <a class="el" href="kpgpkey_8h-source.html#l00326">326</a> of file <a class="el" href="kpgpkey_8h-source.html">kpgpkey.h</a>.</p> </div> </div><p> <a class="anchor" name="70f48020f98be2903e41475732b2f77c"></a><!-- doxytag: member="Kpgp::Subkey::longKeyID" ref="70f48020f98be2903e41475732b2f77c" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">KeyID Kpgp::Subkey::longKeyID </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Returns the long 64 bit key ID of the subkey if it's available. <p> Otherwise the short 32 bit key ID is returned. <p>Definition at line <a class="el" href="kpgpkey_8h-source.html#l00331">331</a> of file <a class="el" href="kpgpkey_8h-source.html">kpgpkey.h</a>.</p> </div> </div><p> <a class="anchor" name="4169ebfa68e549e577b99005acf518e1"></a><!-- doxytag: member="Kpgp::Subkey::keyID" ref="4169ebfa68e549e577b99005acf518e1" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">KeyID Kpgp::Subkey::keyID </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Returns the (short) 32 bit key ID of the subkey. <p> <p>Definition at line <a class="el" href="kpgpkey_8h-source.html#l00336">336</a> of file <a class="el" href="kpgpkey_8h-source.html">kpgpkey.h</a>.</p> </div> </div><p> <a class="anchor" name="83d437d6f99943d67053bfaa7cbe860a"></a><!-- doxytag: member="Kpgp::Subkey::fingerprint" ref="83d437d6f99943d67053bfaa7cbe860a" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">QCString Kpgp::Subkey::fingerprint </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Returns the fingerprint of the subkey. <p> <p>Definition at line <a class="el" href="kpgpkey_8h-source.html#l00341">341</a> of file <a class="el" href="kpgpkey_8h-source.html">kpgpkey.h</a>.</p> </div> </div><p> <a class="anchor" name="868b8ddfa828686541489519194c75fb"></a><!-- doxytag: member="Kpgp::Subkey::creationDate" ref="868b8ddfa828686541489519194c75fb" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">time_t Kpgp::Subkey::creationDate </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Returns the creation date of the subkey. <p> <p>Definition at line <a class="el" href="kpgpkey_8h-source.html#l00346">346</a> of file <a class="el" href="kpgpkey_8h-source.html">kpgpkey.h</a>.</p> </div> </div><p> <a class="anchor" name="9f2af8fee29b3053fde2219440d15104"></a><!-- doxytag: member="Kpgp::Subkey::expirationDate" ref="9f2af8fee29b3053fde2219440d15104" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">time_t Kpgp::Subkey::expirationDate </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Returns the expiration date of the subkey. <p> <p>Definition at line <a class="el" href="kpgpkey_8h-source.html#l00351">351</a> of file <a class="el" href="kpgpkey_8h-source.html">kpgpkey.h</a>.</p> </div> </div><p> <a class="anchor" name="0d2ae833901945891e10c5157e2b81a2"></a><!-- doxytag: member="Kpgp::Subkey::setSecret" ref="0d2ae833901945891e10c5157e2b81a2" args="(const bool secret)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Kpgp::Subkey::setSecret </td> <td>(</td> <td class="paramtype">const bool </td> <td class="paramname"> <em>secret</em> </td> <td> ) </td> <td width="100%"><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Sets the flag if the subkey is a secret subkey to <em>secret</em>. <p> <p>Definition at line <a class="el" href="kpgpkey_8h-source.html#l00356">356</a> of file <a class="el" href="kpgpkey_8h-source.html">kpgpkey.h</a>.</p> </div> </div><p> <a class="anchor" name="2f8b4ed30f3d9c32fbd9da3531f2a5b8"></a><!-- doxytag: member="Kpgp::Subkey::setRevoked" ref="2f8b4ed30f3d9c32fbd9da3531f2a5b8" args="(const bool revoked)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Kpgp::Subkey::setRevoked </td> <td>(</td> <td class="paramtype">const bool </td> <td class="paramname"> <em>revoked</em> </td> <td> ) </td> <td width="100%"><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Sets the flag if the subkey has been revoked to <em>revoked</em>. <p> <p>Definition at line <a class="el" href="kpgpkey_8h-source.html#l00361">361</a> of file <a class="el" href="kpgpkey_8h-source.html">kpgpkey.h</a>.</p> </div> </div><p> <a class="anchor" name="794b6394295da947e3a57d4804b34c28"></a><!-- doxytag: member="Kpgp::Subkey::setExpired" ref="794b6394295da947e3a57d4804b34c28" args="(const bool expired)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Kpgp::Subkey::setExpired </td> <td>(</td> <td class="paramtype">const bool </td> <td class="paramname"> <em>expired</em> </td> <td> ) </td> <td width="100%"><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Sets the flag if the subkey has expired to <em>expired</em>. <p> <p>Definition at line <a class="el" href="kpgpkey_8h-source.html#l00366">366</a> of file <a class="el" href="kpgpkey_8h-source.html">kpgpkey.h</a>.</p> </div> </div><p> <a class="anchor" name="2a6a430f8b0971b610d2f637a061f910"></a><!-- doxytag: member="Kpgp::Subkey::setDisabled" ref="2a6a430f8b0971b610d2f637a061f910" args="(const bool disabled)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Kpgp::Subkey::setDisabled </td> <td>(</td> <td class="paramtype">const bool </td> <td class="paramname"> <em>disabled</em> </td> <td> ) </td> <td width="100%"><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Sets the flag if the subkey has been disabled to <em>disabled</em>. <p> <p>Definition at line <a class="el" href="kpgpkey_8h-source.html#l00371">371</a> of file <a class="el" href="kpgpkey_8h-source.html">kpgpkey.h</a>.</p> </div> </div><p> <a class="anchor" name="bd3dc8d2fa22b7ab41004202c075f83d"></a><!-- doxytag: member="Kpgp::Subkey::setInvalid" ref="bd3dc8d2fa22b7ab41004202c075f83d" args="(const bool invalid)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Kpgp::Subkey::setInvalid </td> <td>(</td> <td class="paramtype">const bool </td> <td class="paramname"> <em>invalid</em> </td> <td> ) </td> <td width="100%"><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Sets the flag if the subkey is invalid to <em>invalid</em>. <p> <p>Definition at line <a class="el" href="kpgpkey_8h-source.html#l00376">376</a> of file <a class="el" href="kpgpkey_8h-source.html">kpgpkey.h</a>.</p> </div> </div><p> <a class="anchor" name="5411d5086048cbe865b159c5aa6c905a"></a><!-- doxytag: member="Kpgp::Subkey::setCanEncrypt" ref="5411d5086048cbe865b159c5aa6c905a" args="(const bool canEncrypt)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Kpgp::Subkey::setCanEncrypt </td> <td>(</td> <td class="paramtype">const bool </td> <td class="paramname"> <em>canEncrypt</em> </td> <td> ) </td> <td width="100%"><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Sets the flag if the subkey can be used to encrypt data to <em>canEncrypt</em>. <p> <p>Definition at line <a class="el" href="kpgpkey_8h-source.html#l00381">381</a> of file <a class="el" href="kpgpkey_8h-source.html">kpgpkey.h</a>.</p> </div> </div><p> <a class="anchor" name="656d74041c13b493300b57b29d1fa691"></a><!-- doxytag: member="Kpgp::Subkey::setCanSign" ref="656d74041c13b493300b57b29d1fa691" args="(const bool canSign)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Kpgp::Subkey::setCanSign </td> <td>(</td> <td class="paramtype">const bool </td> <td class="paramname"> <em>canSign</em> </td> <td> ) </td> <td width="100%"><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Sets the flag if the subkey can be used to sign data to <em>canSign</em>. <p> <p>Definition at line <a class="el" href="kpgpkey_8h-source.html#l00386">386</a> of file <a class="el" href="kpgpkey_8h-source.html">kpgpkey.h</a>.</p> </div> </div><p> <a class="anchor" name="33a4f9f3c43a1526363c96539bd16d12"></a><!-- doxytag: member="Kpgp::Subkey::setCanCertify" ref="33a4f9f3c43a1526363c96539bd16d12" args="(const bool canCertify)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Kpgp::Subkey::setCanCertify </td> <td>(</td> <td class="paramtype">const bool </td> <td class="paramname"> <em>canCertify</em> </td> <td> ) </td> <td width="100%"><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Sets the flag if the subkey can be used to certify keys to <em>canCertify</em>. <p> <p>Definition at line <a class="el" href="kpgpkey_8h-source.html#l00391">391</a> of file <a class="el" href="kpgpkey_8h-source.html">kpgpkey.h</a>.</p> </div> </div><p> <a class="anchor" name="43405028147065497aed93250b6f90a9"></a><!-- doxytag: member="Kpgp::Subkey::setKeyAlgorithm" ref="43405028147065497aed93250b6f90a9" args="(const unsigned int keyAlgo)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Kpgp::Subkey::setKeyAlgorithm </td> <td>(</td> <td class="paramtype">const unsigned int </td> <td class="paramname"> <em>keyAlgo</em> </td> <td> ) </td> <td width="100%"><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Sets the key algorithm of the subkey to <em>keyAlgo</em>. <p> <p>Definition at line <a class="el" href="kpgpkey_8h-source.html#l00396">396</a> of file <a class="el" href="kpgpkey_8h-source.html">kpgpkey.h</a>.</p> </div> </div><p> <a class="anchor" name="4f704202538efa058355734054b5994b"></a><!-- doxytag: member="Kpgp::Subkey::setKeyLength" ref="4f704202538efa058355734054b5994b" args="(const unsigned int keyLen)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Kpgp::Subkey::setKeyLength </td> <td>(</td> <td class="paramtype">const unsigned int </td> <td class="paramname"> <em>keyLen</em> </td> <td> ) </td> <td width="100%"><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Sets the key length of the subkey to <em>keyLen</em> bits. <p> <p>Definition at line <a class="el" href="kpgpkey_8h-source.html#l00401">401</a> of file <a class="el" href="kpgpkey_8h-source.html">kpgpkey.h</a>.</p> </div> </div><p> <a class="anchor" name="cf8065480a2f4dcb1b2b868617723897"></a><!-- doxytag: member="Kpgp::Subkey::setKeyID" ref="cf8065480a2f4dcb1b2b868617723897" args="(const KeyID &keyID)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Kpgp::Subkey::setKeyID </td> <td>(</td> <td class="paramtype">const KeyID & </td> <td class="paramname"> <em>keyID</em> </td> <td> ) </td> <td width="100%"><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Sets the key ID of the subkey to <em>keyID</em>. <p> <p>Definition at line <a class="el" href="kpgpkey_8h-source.html#l00406">406</a> of file <a class="el" href="kpgpkey_8h-source.html">kpgpkey.h</a>.</p> </div> </div><p> <a class="anchor" name="8ef232a60046405cef6f0ee771156250"></a><!-- doxytag: member="Kpgp::Subkey::setFingerprint" ref="8ef232a60046405cef6f0ee771156250" args="(const QCString &fingerprint)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Kpgp::Subkey::setFingerprint </td> <td>(</td> <td class="paramtype">const QCString & </td> <td class="paramname"> <em>fingerprint</em> </td> <td> ) </td> <td width="100%"><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Sets the fingerprint of the subkey to <em>fingerprint</em>. <p> <p>Definition at line <a class="el" href="kpgpkey_8h-source.html#l00411">411</a> of file <a class="el" href="kpgpkey_8h-source.html">kpgpkey.h</a>.</p> </div> </div><p> <a class="anchor" name="d40a4cd6fc05a0e8767fbe7d49dddd51"></a><!-- doxytag: member="Kpgp::Subkey::setCreationDate" ref="d40a4cd6fc05a0e8767fbe7d49dddd51" args="(const time_t creationDate)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Kpgp::Subkey::setCreationDate </td> <td>(</td> <td class="paramtype">const time_t </td> <td class="paramname"> <em>creationDate</em> </td> <td> ) </td> <td width="100%"><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Sets the creation date of the subkey to <em>creationDate</em> seconds since Epoch. <p> <p>Definition at line <a class="el" href="kpgpkey_8h-source.html#l00416">416</a> of file <a class="el" href="kpgpkey_8h-source.html">kpgpkey.h</a>.</p> </div> </div><p> <a class="anchor" name="eca531b253fa20e9a638283369f0d430"></a><!-- doxytag: member="Kpgp::Subkey::setExpirationDate" ref="eca531b253fa20e9a638283369f0d430" args="(const time_t expirationDate)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Kpgp::Subkey::setExpirationDate </td> <td>(</td> <td class="paramtype">const time_t </td> <td class="paramname"> <em>expirationDate</em> </td> <td> ) </td> <td width="100%"><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Sets the expiration date of the subkey to <em>expirationDate</em> seconds since Epoch. <p> <p>Definition at line <a class="el" href="kpgpkey_8h-source.html#l00421">421</a> of file <a class="el" href="kpgpkey_8h-source.html">kpgpkey.h</a>.</p> </div> </div><p> <hr>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="kpgpkey_8h-source.html">kpgpkey.h</a><li><a class="el" href="kpgpkey_8cpp-source.html">kpgpkey.cpp</a></ul> </div> </div></div> </td> </tr> <tr> <td valign="top" id="leftmenu" width="25%"> <a name="navigation"></a> <div class="menu_box"><h2>libkpgp</h2> <div class="nav_list"> <ul><li><a href="index.html">Main Page</a></li><li><a href="classes.html">Alphabetical List</a></li><li><a href="annotated.html">Class List</a></li><li><a href="files.html">File List</a></li><li><a href="functions.html">Class Members</a></li></ul> <!-- <h2>Class Picker</h2> <div style="text-align: center;"> <form name="guideform"> <select name="guidelinks" style="width:100%;" onChange="window.location=document.guideform.guidelinks.options[document.guideform.guidelinks.selectedIndex].value"> <option value="annotated.html">-- Choose --</option> <option value="classKpgp_1_1Config.html">kpgp::config</option>, <option value="classKpgp_1_1Key.html">kpgp::key</option>, <option value="classKpgp_1_1PassphraseDialog.html">kpgp::passphrasedialog</option>, <option value="classKpgp_1_1Subkey.html">kpgp::subkey</option>, <option value="classKpgp_1_1UserID.html">kpgp::userid</option>, </select> </form> </div> --> </div></div> <div class="menu_box"><h2>API Dox</h2> <div class="nav_list"> <ul> <li><a href="../../akregator/html/index.html">akregator</a></li><li> <a href="../../akregator/src/html/index.html">src</a></li><li> <a href="../../akregator/src/librss/html/index.html">librss</a></li><li><a href="../../certmanager/html/index.html">certmanager</a></li><li> <a href="../../certmanager/lib/html/index.html">lib</a></li><li><a href="../../kaddressbook/html/index.html">kaddressbook</a></li><li><a href="../../kalarm/html/index.html">kalarm</a></li><li> <a href="../../kalarm/lib/html/index.html">lib</a></li><li><a href="../../kandy/html/index.html">kandy</a></li><li><a href="../../karm/html/index.html">karm</a></li><li><a href="../../kdgantt/html/index.html">kdgantt</a></li><li><a href="../../kgantt/html/index.html">kgantt</a></li><li><a href="../../kioslaves/html/index.html">kioslaves</a></li><li> <a href="../../kioslaves/imap4/html/index.html">imap4</a></li><li> <a href="../../kioslaves/mbox/html/index.html">mbox</a></li><li><a href="../../kitchensync/html/index.html">kitchensync</a></li><li><a href="../../kmail/html/index.html">kmail</a></li><li><a href="../../knotes/html/index.html">knotes</a></li><li><a href="../../konsolekalendar/html/index.html">konsolekalendar</a></li><li><a href="../../kontact/html/index.html">kontact</a></li><li><a href="../../korganizer/html/index.html">korganizer</a></li><li><a href="../../kpilot/html/index.html">kpilot</a></li><li> <a href="../../kpilot/kpilot/html/index.html">kpilot</a></li><li> <a href="../../kpilot/lib/html/index.html">lib</a></li><li><a href="../../libemailfunctions/html/index.html">libemailfunctions</a></li><li><a href="../../libkcal/html/index.html">libkcal</a></li><li><a href="../../libkdepim/html/index.html">libkdepim</a></li><li><a href="../../libkholidays/html/index.html">libkholidays</a></li><li><a href="../../libkmime/html/index.html">libkmime</a></li><li><a href="../../libkpgp/html/index.html">libkpgp</a></li><li><a href="../../libkpimidentities/html/index.html">libkpimidentities</a></li> </ul></div></div> </td> </tr> </table> <span class="doNotDisplay"> <a href="http://www.kde.org/" accesskey="8">KDE Home</a> | <a href="http://accessibility.kde.org/" accesskey="9">KDE Accessibility Home</a> | <a href="http://www.kde.org/media/accesskeys.php" accesskey="0">Description of Access Keys</a> </span> <div style="height: 8px"></div> <div id="footer"> <div id="footer_left"> Maintained by <a href="mailto:groot@kde.org">Adriaan de Groot</a> and <a href="mailto:winter@kde.org">Allen Winter</a>. <br/> KDE and K Desktop Environment are trademarks of <a href="http://www.kde.org/areas/kde-ev/" title="Homepage of the KDE non-profit Organization">KDE e.V.</a> | <a href="http://www.kde.org/contact/impressum.php">Legal</a> </div> <div id="footer_right"><img src="/media/images/footer_right.png" style="margin: 0px" alt="" /></div> </div> <!-- WARNING: DO NOT SEND MAIL TO THE FOLLOWING EMAIL ADDRESS! YOU WILL BE BLOCKED INSTANTLY AND PERMANENTLY! <a href="mailto:aaaatrap-425acc3b5374943f@kde.org">Block me</a> WARNING END --> </body> </html>