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

libkpgp

  • Kpgp
  • Base6
Public Member Functions | Protected Member Functions | List of all members
Kpgp::Base6 Class Reference

#include <kpgpbase.h>

Inheritance diagram for Kpgp::Base6:
Inheritance graph
[legend]

Public Member Functions

 Base6 ()
 
virtual ~Base6 ()
 
virtual int decrypt (Block &block, const char *passphrase=0)
 
virtual int isVersion6 ()
 
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 verify (Block &block)
 
- Public Member Functions inherited from Kpgp::Base2
 Base2 ()
 
virtual ~Base2 ()
 
virtual int clearsign (Block &block, const char *passphrase)
 
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 int signKey (const KeyID &keyID, const char *passphrase)
 
- Public Member Functions inherited from Kpgp::Base
 Base ()
 
virtual ~Base ()
 
virtual QString lastErrorMessage () const
 

Protected Member Functions

virtual KeyList parseKeyList (const QByteArray &, bool)
 
- Protected Member Functions inherited from Kpgp::Base2
KeyList doGetPublicKeys (const QByteArray &cmd, const QStringList &patterns)
 
- 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 199 of file kpgpbase.h.

Constructor & Destructor Documentation

Kpgp::Base6::Base6 ( )

Definition at line 33 of file kpgpbase6.cpp.

Kpgp::Base6::~Base6 ( )
virtual

Definition at line 39 of file kpgpbase6.cpp.

Member Function Documentation

int Kpgp::Base6::decrypt ( Block &  ,
const char *  = 0 
)
virtual

Decrypts the message.

This could be done by forcing PGP6 to be more verbose

by adding an additional '+verbose=2' to the command line

Reimplemented from Kpgp::Base2.

Definition at line 45 of file kpgpbase6.cpp.

int Kpgp::Base6::isVersion6 ( )
virtual

Definition at line 346 of file kpgpbase6.cpp.

KeyList Kpgp::Base6::parseKeyList ( const QByteArray &  output,
bool  secretKeys 
)
protectedvirtual

Reimplemented from Kpgp::Base2.

Definition at line 727 of file kpgpbase6.cpp.

KeyList Kpgp::Base6::publicKeys ( const QStringList &  = QStringList())
virtual

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

Reimplemented from Kpgp::Base2.

Definition at line 222 of file kpgpbase6.cpp.

Key * Kpgp::Base6::readPublicKey ( const KeyID &  ,
const 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::Base2.

Definition at line 184 of file kpgpbase6.cpp.

KeyList Kpgp::Base6::secretKeys ( const QStringList &  = QStringList())
virtual

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

Reimplemented from Kpgp::Base2.

Definition at line 339 of file kpgpbase6.cpp.

virtual int Kpgp::Base6::verify ( Block &  block)
inlinevirtual

Verifies the message.

Reimplemented from Kpgp::Base2.

Definition at line 207 of file kpgpbase.h.


The documentation for this class was generated from the following files:
  • kpgpbase.h
  • kpgpbase6.cpp
This file is part of the KDE documentation.
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.

libkpgp

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

kdepim API Reference

Skip menu "kdepim API Reference"
  • akonadi_next
  • akregator
  • blogilo
  • calendarsupport
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt2
  • kjots
  • kleopatra
  • kmail
  • knode
  • knotes
  • kontact
  • korgac
  • korganizer
  • ktimetracker
  • libkdepim
  • libkleo
  • libkpgp
  • mailcommon
  • messagelist
  • messageviewer

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal