• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeutils API Reference
  • KDE Home
  • Contact Us
 

kgpg

  • KgpgCore
  • KgpgKey
Public Member Functions | List of all members
KgpgCore::KgpgKey Class Reference

#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

Definition at line 236 of file kgpgkey.h.

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
idid of the key (i.e. fingerprint)
sizelength of the key in bits
trusttrust to this key
algopublic key algorithm
subtypekey capabilities of this subkey
keytypekey capabilities of this and all subkeys combined
creationDatedate 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.

bool KgpgCore::KgpgKey::operator!= ( const KgpgKey &  other) const
inline

Definition at line 285 of file kgpgkey.h.

KgpgKey & KgpgCore::KgpgKey::operator= ( const KgpgKey &  other)

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 &  email)

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:
  • kgpgkey.h
  • kgpgkey.cpp
This file is part of the KDE documentation.
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.

kgpg

Skip menu "kgpg"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdeutils API Reference

Skip menu "kdeutils API Reference"
  • ark
  • filelight
  • kcalc
  • kcharselect
  • kdf
  • kfloppy
  • kgpg
  • ktimer
  • kwallet
  • sweeper

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal