libkpgp
#include <kpgpbase.h>
Public Member Functions | |
Base2 () | |
virtual | ~Base2 () |
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) |
Public Member Functions inherited from Kpgp::Base | |
Base () | |
virtual | ~Base () |
virtual QString | lastErrorMessage () const |
Protected Member Functions | |
KeyList | doGetPublicKeys (const QByteArray &cmd, const QStringList &patterns) |
virtual KeyList | parseKeyList (const QByteArray &, bool) |
Protected Member Functions inherited from Kpgp::Base | |
QByteArray | addUserId () |
virtual void | clear () |
virtual int | run (const char *cmd, const char *passphrase=0, bool onlyReadFromPGP=false) |
virtual int | runGpg (const char *cmd, const char *passphrase=0, bool onlyReadFromGnuPG=false) |
Additional Inherited Members | |
Protected Attributes inherited from Kpgp::Base | |
QString | errMsg |
QByteArray | error |
QByteArray | input |
QByteArray | mVersion |
QByteArray | output |
int | status |
Detailed Description
Definition at line 109 of file kpgpbase.h.
Constructor & Destructor Documentation
Kpgp::Base2::Base2 | ( | ) |
Definition at line 37 of file kpgpbase2.cpp.
|
virtual |
Definition at line 43 of file kpgpbase2.cpp.
Member Function Documentation
|
virtual |
Clearsigns the message with the currently set key.
Reimplemented from Kpgp::Base.
Definition at line 56 of file kpgpbase2.cpp.
|
virtual |
Decrypts the message.
Reimplemented from Kpgp::Base.
Reimplemented in Kpgp::Base6.
Definition at line 225 of file kpgpbase2.cpp.
|
protected |
Definition at line 511 of file kpgpbase2.cpp.
Encrypts the message with the given keys.
Reimplemented from Kpgp::Base.
Definition at line 49 of file kpgpbase2.cpp.
Encrypts and signs the message with the given keys.
Reimplemented from Kpgp::Base.
Definition at line 63 of file kpgpbase2.cpp.
|
virtual |
Returns the ascii armored data of the public key with the given key id.
Reimplemented from Kpgp::Base.
Definition at line 594 of file kpgpbase2.cpp.
|
protectedvirtual |
Reimplemented in Kpgp::Base6.
Definition at line 893 of file kpgpbase2.cpp.
|
virtual |
Returns the list of public keys in the users public keyring.
Reimplemented from Kpgp::Base.
Reimplemented in Kpgp::Base6.
Definition at line 504 of file kpgpbase2.cpp.
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.
Reimplemented in Kpgp::Base6.
Definition at line 464 of file kpgpbase2.cpp.
|
virtual |
Returns the list of secret keys in the users secret keyring.
Reimplemented from Kpgp::Base.
Reimplemented in Kpgp::Base6.
Definition at line 568 of file kpgpbase2.cpp.
|
virtual |
Signs the given key with the currently set user key.
This is currently not implemented.
Reimplemented from Kpgp::Base.
Definition at line 575 of file kpgpbase2.cpp.
|
inlinevirtual |
Verifies the message.
Reimplemented from Kpgp::Base.
Reimplemented in Kpgp::Base6.
Definition at line 121 of file kpgpbase.h.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:55:48 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.