libkpgp
Kpgp::BaseG Class Reference
Inheritance diagram for Kpgp::BaseG:

Detailed Description
Definition at line 142 of file kpgpbase.h.
Public Member Functions | |
BaseG () | |
virtual | ~BaseG () |
virtual int | encrypt (Block &block, const KeyIDList &recipients) |
virtual int | clearsign (Block &block, const char *passphrase) |
virtual int | encsign (Block &block, const KeyIDList &recipients, const char *passphrase=0) |
virtual int | decrypt (Block &block, const char *passphrase=0) |
virtual int | verify (Block &block) |
virtual Key * | readPublicKey (const KeyID &keyID, const bool readTrust=false, Key *key=0) |
virtual KeyList | publicKeys (const QStringList &patterns=QStringList()) |
virtual KeyList | secretKeys (const QStringList &patterns=QStringList()) |
virtual QCString | getAsciiPublicKey (const KeyID &keyID) |
virtual int | signKey (const KeyID &keyID, const char *passphrase) |
Member Function Documentation
Encrypts the message with the given keys.
Reimplemented from Kpgp::Base.
Definition at line 58 of file kpgpbaseG.cpp.
int Kpgp::BaseG::clearsign | ( | Block & | block, | |
const char * | passphrase | |||
) | [virtual] |
Clearsigns the message with the currently set key.
Reimplemented from Kpgp::Base.
Definition at line 65 of file kpgpbaseG.cpp.
int Kpgp::BaseG::encsign | ( | Block & | block, | |
const KeyIDList & | recipients, | |||
const char * | passphrase = 0 | |||
) | [virtual] |
Encrypts and signs the message with the given keys.
Reimplemented from Kpgp::Base.
Definition at line 72 of file kpgpbaseG.cpp.
int Kpgp::BaseG::decrypt | ( | Block & | block, | |
const char * | passphrase = 0 | |||
) | [virtual] |
virtual int Kpgp::BaseG::verify | ( | Block & | block | ) | [inline, virtual] |
Key * Kpgp::BaseG::readPublicKey | ( | const KeyID & | keyID, | |
const bool | readTrust = false , |
|||
Key * | 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 370 of file kpgpbaseG.cpp.
KeyList Kpgp::BaseG::publicKeys | ( | const QStringList & | patterns = QStringList() |
) | [virtual] |
Returns the list of public keys in the users public keyring.
Reimplemented from Kpgp::Base.
Definition at line 406 of file kpgpbaseG.cpp.
KeyList Kpgp::BaseG::secretKeys | ( | const QStringList & | patterns = QStringList() |
) | [virtual] |
Returns the list of secret keys in the users secret keyring.
Reimplemented from Kpgp::Base.
Definition at line 438 of file kpgpbaseG.cpp.
QCString Kpgp::BaseG::getAsciiPublicKey | ( | const KeyID & | keyID | ) | [virtual] |
Returns the ascii armored data of the public key with the given key id.
Reimplemented from Kpgp::Base.
Definition at line 491 of file kpgpbaseG.cpp.
int Kpgp::BaseG::signKey | ( | const KeyID & | keyID, | |
const char * | passphrase | |||
) | [virtual] |
Signs the given key with the currently set user key.
This is currently not implemented.
Reimplemented from Kpgp::Base.
Definition at line 470 of file kpgpbaseG.cpp.
The documentation for this class was generated from the following files: