• Skip to content
  • Skip to link menu
KDE 4.1 API Reference
  • KDE API Reference
  • kdepim
  • Sitemap
  • Contact Us
 

libkpgp

Kpgp::BaseG

Kpgp::BaseG Class Reference

#include <kpgpbase.h>

Inheritance diagram for Kpgp::BaseG:

Inheritance graph
[legend]

List of all members.


Detailed Description

Definition at line 141 of file kpgpbase.h.


Public Member Functions

 BaseG ()
virtual int clearsign (Block &block, const char *passphrase)
virtual int decrypt (Block &block, const char *passphrase=0)
virtual int encrypt (Block &block, const KeyIDList &recipients)
virtual int encsign (Block &block, const KeyIDList &recipients, const char *passphrase=0)
virtual QByteArray getAsciiPublicKey (const KeyID &keyID)
virtual KeyList publicKeys (const QStringList &patterns=QStringList())
virtual Key * readPublicKey (const KeyID &keyID, const bool readTrust=false, Key *key=0)
virtual KeyList secretKeys (const QStringList &patterns=QStringList())
virtual int signKey (const KeyID &keyID, const char *passphrase)
virtual int verify (Block &block)
virtual ~BaseG ()

Constructor & Destructor Documentation

Kpgp::BaseG::BaseG (  ) 

Definition at line 33 of file kpgpbaseG.cpp.

Kpgp::BaseG::~BaseG (  )  [virtual]

Definition at line 49 of file kpgpbaseG.cpp.


Member Function Documentation

int Kpgp::BaseG::clearsign ( Block &  ,
const char *   
) [virtual]

Clearsigns the message with the currently set key.

Reimplemented from Kpgp::Base.

Definition at line 62 of file kpgpbaseG.cpp.

int Kpgp::BaseG::decrypt ( Block &  ,
const char *  = 0 
) [virtual]

Decrypts the message.

Reimplemented from Kpgp::Base.

Definition at line 205 of file kpgpbaseG.cpp.

int Kpgp::BaseG::encrypt ( Block &  ,
const KeyIDList &   
) [virtual]

Encrypts the message with the given keys.

Reimplemented from Kpgp::Base.

Definition at line 55 of file kpgpbaseG.cpp.

int Kpgp::BaseG::encsign ( Block &  ,
const KeyIDList &  ,
const char *  = 0 
) [virtual]

Encrypts and signs the message with the given keys.

Reimplemented from Kpgp::Base.

Definition at line 69 of file kpgpbaseG.cpp.

QByteArray Kpgp::BaseG::getAsciiPublicKey ( const KeyID &   )  [virtual]

Returns the ascii armored data of the public key with the given key id.

Reimplemented from Kpgp::Base.

Definition at line 488 of file kpgpbaseG.cpp.

KeyList Kpgp::BaseG::publicKeys ( const QStringList &  = QStringList()  )  [virtual]

Returns the list of public keys in the users public keyring.

Reimplemented from Kpgp::Base.

Definition at line 403 of file kpgpbaseG.cpp.

Key * Kpgp::BaseG::readPublicKey ( const KeyID &  ,
const bool  bool = false,
Key *  = 0 
) [virtual]

Reads the key data for the given key and returns it.

If readTrust is true then the trust of this key will be determined. If key is not null then the key data will be stored in given key.

Reimplemented from Kpgp::Base.

Definition at line 367 of file kpgpbaseG.cpp.

KeyList Kpgp::BaseG::secretKeys ( const QStringList &  = QStringList()  )  [virtual]

Returns the list of secret keys in the users secret keyring.

Reimplemented from Kpgp::Base.

Definition at line 435 of file kpgpbaseG.cpp.

int Kpgp::BaseG::signKey ( const KeyID &  ,
const char *   
) [virtual]

Signs the given key with the currently set user key.

This is currently not implemented.

Reimplemented from Kpgp::Base.

Definition at line 467 of file kpgpbaseG.cpp.

virtual int Kpgp::BaseG::verify ( Block &  block  )  [inline, virtual]

Verifies the message.

Reimplemented from Kpgp::Base.

Definition at line 153 of file kpgpbase.h.


The documentation for this class was generated from the following files:
  • kpgpbase.h
  • kpgpbaseG.cpp

libkpgp

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

kdepim

Skip menu "kdepim"
  • akonadi
  •   clients
  •   kabc
  •   kcal
  •   kcm
  • akregator
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt
  • kdgantt1
  • kjots
  • kleopatra
  • kmail
  • kmobiletools
  • knode
  • knotes
  • kontact
  • kontactinterfaces
  • korganizer
  •   korgac
  • kpilot
  • ktimetracker
  •   doc
  • libkdepim
  • libkholidays
  • libkleo
  • libkpgp
  • maildir
Generated for kdepim by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal