libkpgp

Kpgp::Base2 Class Reference

Inheritance diagram for Kpgp::Base2:

Kpgp::Base Kpgp::Base6 List of all members.

Detailed Description

Definition at line 110 of file kpgpbase.h.


Public Member Functions

 Base2 ()
virtual ~Base2 ()
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 KeyreadPublicKey (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)

Protected Member Functions

KeyList doGetPublicKeys (const QCString &cmd, const QStringList &patterns)
virtual KeyList parseKeyList (const QCString &, bool)

Member Function Documentation

int Kpgp::Base2::clearsign Block block,
const char *  passphrase
[virtual]
 

Clearsigns the message with the currently set key.

Reimplemented from Kpgp::Base.

Definition at line 57 of file kpgpbase2.cpp.

int Kpgp::Base2::decrypt Block block,
const char *  passphrase = 0
[virtual]
 

Decrypts the message.

Reimplemented from Kpgp::Base.

Reimplemented in Kpgp::Base6.

Definition at line 226 of file kpgpbase2.cpp.

int Kpgp::Base2::encrypt Block block,
const KeyIDList recipients
[virtual]
 

Encrypts the message with the given keys.

Reimplemented from Kpgp::Base.

Definition at line 50 of file kpgpbase2.cpp.

int Kpgp::Base2::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 64 of file kpgpbase2.cpp.

QCString Kpgp::Base2::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 594 of file kpgpbase2.cpp.

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

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

Reimplemented from Kpgp::Base.

Reimplemented in Kpgp::Base6.

Definition at line 505 of file kpgpbase2.cpp.

Key * Kpgp::Base2::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.

Reimplemented in Kpgp::Base6.

Definition at line 465 of file kpgpbase2.cpp.

KeyList Kpgp::Base2::secretKeys const QStringList &  patterns = QStringList()  )  [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.

int Kpgp::Base2::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 575 of file kpgpbase2.cpp.

virtual int Kpgp::Base2::verify Block block  )  [inline, virtual]
 

Verifies the message.

Reimplemented from Kpgp::Base.

Reimplemented in Kpgp::Base6.

Definition at line 122 of file kpgpbase.h.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys