libkpgp
#include <kpgpbase.h>
Public Member Functions | |
Base () | |
virtual | ~Base () |
virtual int | clearsign (Block &, const char *) |
virtual int | decrypt (Block &, const char *=0) |
virtual int | encrypt (Block &, const KeyIDList &) |
virtual int | encsign (Block &, const KeyIDList &, const char *=0) |
virtual QByteArray | getAsciiPublicKey (const KeyID &) |
virtual QString | lastErrorMessage () const |
virtual KeyList | publicKeys (const QStringList &=QStringList()) |
virtual Key * | readPublicKey (const KeyID &, const bool=false, Key *=0) |
virtual KeyList | secretKeys (const QStringList &=QStringList()) |
virtual int | signKey (const KeyID &, const char *) |
virtual int | verify (Block &block) |
Protected Member Functions | |
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) |
Protected Attributes | |
QString | errMsg |
QByteArray | error |
QByteArray | input |
QByteArray | mVersion |
QByteArray | output |
int | status |
Detailed Description
Definition at line 30 of file kpgpbase.h.
Constructor & Destructor Documentation
Kpgp::Base::Base | ( | ) |
virtual class used internally by kpgp
Definition at line 44 of file kpgpbase.cpp.
|
virtual |
Definition at line 50 of file kpgpbase.cpp.
Member Function Documentation
|
protected |
Definition at line 688 of file kpgpbase.cpp.
|
protectedvirtual |
Definition at line 56 of file kpgpbase.cpp.
|
inlinevirtual |
Clearsigns the message with the currently set key.
Reimplemented in Kpgp::Base5, Kpgp::BaseG, and Kpgp::Base2.
Definition at line 43 of file kpgpbase.h.
|
inlinevirtual |
Decrypts the message.
Reimplemented in Kpgp::Base6, Kpgp::Base5, Kpgp::BaseG, and Kpgp::Base2.
Definition at line 50 of file kpgpbase.h.
Encrypts the message with the given keys.
Reimplemented in Kpgp::Base5, Kpgp::BaseG, and Kpgp::Base2.
Definition at line 40 of file kpgpbase.h.
Encrypts and signs the message with the given keys.
Reimplemented in Kpgp::Base5, Kpgp::BaseG, and Kpgp::Base2.
Definition at line 46 of file kpgpbase.h.
|
inlinevirtual |
Returns the ascii armored data of the public key with the given key id.
Reimplemented in Kpgp::Base5, Kpgp::BaseG, and Kpgp::Base2.
Definition at line 75 of file kpgpbase.h.
|
inlinevirtual |
Returns an error message if an error occurred during the last operation.
Definition at line 230 of file kpgpbase.h.
|
inlinevirtual |
Returns the list of public keys in the users public keyring.
Reimplemented in Kpgp::Base6, Kpgp::Base5, Kpgp::BaseG, and Kpgp::Base2.
Definition at line 66 of file kpgpbase.h.
|
inlinevirtual |
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 in Kpgp::Base6, Kpgp::Base5, Kpgp::BaseG, and Kpgp::Base2.
Definition at line 61 of file kpgpbase.h.
|
protectedvirtual |
Definition at line 67 of file kpgpbase.cpp.
|
protectedvirtual |
Definition at line 390 of file kpgpbase.cpp.
|
inlinevirtual |
Returns the list of secret keys in the users secret keyring.
Reimplemented in Kpgp::Base6, Kpgp::Base5, Kpgp::BaseG, and Kpgp::Base2.
Definition at line 70 of file kpgpbase.h.
|
inlinevirtual |
Signs the given key with the currently set user key.
This is currently not implemented.
Reimplemented in Kpgp::Base5, Kpgp::BaseG, and Kpgp::Base2.
Definition at line 79 of file kpgpbase.h.
|
inlinevirtual |
Verifies the message.
Reimplemented in Kpgp::Base6, Kpgp::Base5, Kpgp::BaseG, and Kpgp::Base2.
Definition at line 53 of file kpgpbase.h.
Member Data Documentation
|
protected |
Definition at line 99 of file kpgpbase.h.
|
protected |
Definition at line 98 of file kpgpbase.h.
|
protected |
Definition at line 96 of file kpgpbase.h.
|
protected |
Definition at line 101 of file kpgpbase.h.
|
protected |
Definition at line 97 of file kpgpbase.h.
|
protected |
Definition at line 103 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.