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

libkpgp

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

#include <kpgpbase.h>

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

Public Member Functions

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

Additional Inherited Members

- 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)
 
- Protected Attributes inherited from Kpgp::Base
QString errMsg
 
QByteArray error
 
QByteArray input
 
QByteArray mVersion
 
QByteArray output
 
int status
 

Detailed Description

Definition at line 169 of file kpgpbase.h.

Constructor & Destructor Documentation

Kpgp::Base5::Base5 ( )

Definition at line 38 of file kpgpbase5.cpp.

Kpgp::Base5::~Base5 ( )
virtual

Definition at line 44 of file kpgpbase5.cpp.

Member Function Documentation

int Kpgp::Base5::clearsign ( Block &  ,
const char *   
)
virtual

Clearsigns the message with the currently set key.

Reimplemented from Kpgp::Base.

Definition at line 57 of file kpgpbase5.cpp.

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

Decrypts the message.

FIXME get signature date

FIXME get signature date

FIXME get signature date

Reimplemented from Kpgp::Base.

Definition at line 195 of file kpgpbase5.cpp.

int Kpgp::Base5::encrypt ( Block &  ,
const KeyIDList &   
)
virtual

Encrypts the message with the given keys.

Reimplemented from Kpgp::Base.

Definition at line 50 of file kpgpbase5.cpp.

int Kpgp::Base5::encsign ( Block &  ,
const KeyIDList &  ,
const char *  = 0 
)
virtual

Encrypts and signs the message with the given keys.

Reimplemented from Kpgp::Base.

Definition at line 64 of file kpgpbase5.cpp.

QByteArray Kpgp::Base5::getAsciiPublicKey ( const KeyID &  )
virtual

Returns the ascii armored data of the public key with the given key id.

Reimplemented from Kpgp::Base.

Definition at line 413 of file kpgpbase5.cpp.

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

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

Reimplemented from Kpgp::Base.

Definition at line 353 of file kpgpbase5.cpp.

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

Definition at line 319 of file kpgpbase5.cpp.

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

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

Reimplemented from Kpgp::Base.

Definition at line 386 of file kpgpbase5.cpp.

int Kpgp::Base5::signKey ( const KeyID &  ,
const char *   
)
virtual

Signs the given key with the currently set user key.

This is currently not implemented.

Reimplemented from Kpgp::Base.

Definition at line 431 of file kpgpbase5.cpp.

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

Verifies the message.

Reimplemented from Kpgp::Base.

Definition at line 181 of file kpgpbase.h.


The documentation for this class was generated from the following files:
  • kpgpbase.h
  • kpgpbase5.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