kgpg
#include <kgpgkey.h>
Public Member Functions | |
KgpgKey (const QString &id, const uint size, const KgpgCore::KgpgKeyTrust trust, const KgpgCore::KgpgKeyAlgo algo, const KgpgCore::KgpgSubKeyType subtype, const KgpgCore::KgpgSubKeyType keytype, const QDateTime &creationDate) | |
KgpgKey (const KgpgKey &other) | |
KgpgKeyAlgo | algorithm () const |
QString | comment () const |
QDateTime | creationDate () const |
QString | email () const |
KgpgKeyAlgo | encryptionAlgorithm () const |
uint | encryptionSize () const |
QDateTime | expirationDate () const |
const QString & | fingerprint () const |
QString | fullId () const |
QString | id () const |
KgpgSubKeyType | keytype () const |
QString | name () const |
bool | operator!= (const KgpgKey &other) const |
KgpgKey & | operator= (const KgpgKey &other) |
bool | operator== (const KgpgKey &other) const |
gpgme_validity_t | ownerTrust () const |
bool | secret () const |
void | setComment (const QString &comment) |
void | setEmail (const QString &email) |
void | setExpiration (const QDateTime &date) |
void | setFingerprint (const QString &fingerprint) |
void | setName (const QString &name) |
void | setOwnerTrust (const gpgme_validity_t owtrust) |
void | setSecret (const bool secret) |
void | setValid (const bool valid) |
uint | size () const |
KgpgKeySubListPtr | subList () const |
KgpgSubKeyType | subtype () const |
KgpgKeyTrust | trust () const |
bool | unlimited () const |
bool | valid () const |
Detailed Description
Constructor & Destructor Documentation
KgpgCore::KgpgKey::KgpgKey | ( | const QString & | id, |
const uint | size, | ||
const KgpgCore::KgpgKeyTrust | trust, | ||
const KgpgCore::KgpgKeyAlgo | algo, | ||
const KgpgCore::KgpgSubKeyType | subtype, | ||
const KgpgCore::KgpgSubKeyType | keytype, | ||
const QDateTime & | creationDate | ||
) |
constructor
- Parameters
-
id id of the key (i.e. fingerprint) size length of the key in bits trust trust to this key algo public key algorithm subtype key capabilities of this subkey keytype key capabilities of this and all subkeys combined creationDate date of key creation
KgpgCore::KgpgKey::KgpgKey | ( | const KgpgKey & | other | ) |
Definition at line 178 of file kgpgkey.cpp.
Member Function Documentation
KgpgKeyAlgo KgpgCore::KgpgKey::algorithm | ( | ) | const |
Definition at line 313 of file kgpgkey.cpp.
QString KgpgCore::KgpgKey::comment | ( | ) | const |
Definition at line 253 of file kgpgkey.cpp.
QDateTime KgpgCore::KgpgKey::creationDate | ( | ) | const |
Definition at line 298 of file kgpgkey.cpp.
QString KgpgCore::KgpgKey::email | ( | ) | const |
Definition at line 248 of file kgpgkey.cpp.
KgpgKeyAlgo KgpgCore::KgpgKey::encryptionAlgorithm | ( | ) | const |
Definition at line 318 of file kgpgkey.cpp.
uint KgpgCore::KgpgKey::encryptionSize | ( | ) | const |
Definition at line 268 of file kgpgkey.cpp.
QDateTime KgpgCore::KgpgKey::expirationDate | ( | ) | const |
Definition at line 303 of file kgpgkey.cpp.
const QString & KgpgCore::KgpgKey::fingerprint | ( | ) | const |
Definition at line 258 of file kgpgkey.cpp.
QString KgpgCore::KgpgKey::fullId | ( | ) | const |
Definition at line 238 of file kgpgkey.cpp.
QString KgpgCore::KgpgKey::id | ( | ) | const |
Definition at line 233 of file kgpgkey.cpp.
KgpgSubKeyType KgpgCore::KgpgKey::keytype | ( | ) | const |
Definition at line 335 of file kgpgkey.cpp.
QString KgpgCore::KgpgKey::name | ( | ) | const |
Definition at line 243 of file kgpgkey.cpp.
|
inline |
Definition at line 352 of file kgpgkey.cpp.
bool KgpgCore::KgpgKey::operator== | ( | const KgpgKey & | other | ) | const |
Definition at line 345 of file kgpgkey.cpp.
gpgme_validity_t KgpgCore::KgpgKey::ownerTrust | ( | ) | const |
Definition at line 288 of file kgpgkey.cpp.
bool KgpgCore::KgpgKey::secret | ( | ) | const |
Definition at line 223 of file kgpgkey.cpp.
void KgpgCore::KgpgKey::setComment | ( | const QString & | comment | ) |
Definition at line 203 of file kgpgkey.cpp.
void KgpgCore::KgpgKey::setEmail | ( | const QString & | ) |
Definition at line 198 of file kgpgkey.cpp.
void KgpgCore::KgpgKey::setExpiration | ( | const QDateTime & | date | ) |
Definition at line 218 of file kgpgkey.cpp.
void KgpgCore::KgpgKey::setFingerprint | ( | const QString & | fingerprint | ) |
Definition at line 208 of file kgpgkey.cpp.
void KgpgCore::KgpgKey::setName | ( | const QString & | name | ) |
Definition at line 193 of file kgpgkey.cpp.
void KgpgCore::KgpgKey::setOwnerTrust | ( | const gpgme_validity_t | owtrust | ) |
Definition at line 213 of file kgpgkey.cpp.
void KgpgCore::KgpgKey::setSecret | ( | const bool | secret | ) |
Definition at line 183 of file kgpgkey.cpp.
void KgpgCore::KgpgKey::setValid | ( | const bool | valid | ) |
Definition at line 188 of file kgpgkey.cpp.
uint KgpgCore::KgpgKey::size | ( | ) | const |
Definition at line 263 of file kgpgkey.cpp.
KgpgKeySubListPtr KgpgCore::KgpgKey::subList | ( | ) | const |
Definition at line 340 of file kgpgkey.cpp.
KgpgSubKeyType KgpgCore::KgpgKey::subtype | ( | ) | const |
Definition at line 330 of file kgpgkey.cpp.
KgpgKeyTrust KgpgCore::KgpgKey::trust | ( | ) | const |
Definition at line 293 of file kgpgkey.cpp.
bool KgpgCore::KgpgKey::unlimited | ( | ) | const |
Definition at line 308 of file kgpgkey.cpp.
bool KgpgCore::KgpgKey::valid | ( | ) | const |
Definition at line 228 of file kgpgkey.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:42:08 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.