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

libkleo

Encryption and Decryption
[Signing and Encrypting Actions]

Collaboration diagram for Encryption and Decryption:

Detailed Description

The following methods are used to encrypt and decrypt email messages.


Functions

bool CryptPlugWrapper::decryptAndCheckMessage (const char *ciphertext, bool cipherIsBinary, int cipherLen, char **cleartext, const char *certificate, bool *signatureFound, CryptPlug::SignatureMetaData *sigmeta, int *errId, char **errTxt)
bool CryptPlug::decryptAndCheckMessage (const char *ciphertext, bool cipherIsBinary, int cipherLen, const char **cleartext, const char *certificate, bool *signatureFound, struct SignatureMetaData *sigmeta, int *errId, char **errTxt, char **attrOrder, const char *unknownAttrsHandling)
bool CryptPlugWrapper::decryptMessage (const char *ciphertext, bool cipherIsBinary, int cipherLen, char **cleartext, const char *certificate, int *errId, char **errTxt)
bool CryptPlug::decryptMessage (const char *ciphertext, bool cipherIsBinary, int cipherLen, const char **cleartext, const char *certificate, int *errId, char **errTxt)

Function Documentation

bool CryptPlugWrapper::decryptAndCheckMessage ( const char *  ciphertext,
bool  cipherIsBinary,
int  cipherLen,
char **  cleartext,
const char *  certificate,
bool *  signatureFound,
CryptPlug::SignatureMetaData *  sigmeta,
int *  errId,
char **  errTxt 
) [inherited]

Combines the functionality of checkMessageSignature() and decryptMessage().

If certificate is NULL, the default certificate will be used. If sigmeta is non-null, the SignatureMetaData object pointed to will contain meta information about the signature after the function call.

Definition at line 597 of file cryptplugwrapper.cpp.

bool CryptPlug::decryptAndCheckMessage ( const char *  ciphertext,
bool  cipherIsBinary,
int  cipherLen,
const char **  cleartext,
const char *  certificate,
bool *  signatureFound,
struct SignatureMetaData *  sigmeta,
int *  errId,
char **  errTxt,
char **  attrOrder,
const char *  unknownAttrsHandling 
) [inherited]

Combines the functionality of checkMessageSignature() and decryptMessage().

If certificate is NULL, the default certificate will be used. If sigmeta is non-null, the SignatureMetaData object pointed to will contain meta information about the signature after the function call.

Definition at line 1033 of file cryptplug.cpp.

bool CryptPlugWrapper::decryptMessage ( const char *  ciphertext,
bool  cipherIsBinary,
int  cipherLen,
char **  cleartext,
const char *  certificate,
int *  errId,
char **  errTxt 
) [inherited]

Tries to decrypt an email message ciphertext and returns the decrypted message in cleartext.

The certificate is used for decryption. If the message could be decrypted, the function returns true, otherwise false.

Definition at line 584 of file cryptplugwrapper.cpp.

bool CryptPlug::decryptMessage ( const char *  ciphertext,
bool  cipherIsBinary,
int  cipherLen,
const char **  cleartext,
const char *  certificate,
int *  errId,
char **  errTxt 
) [inherited]

Tries to decrypt an email message ciphertext and returns the decrypted message in cleartext.

The certificate is used for decryption. If the message could be decrypted, the function returns true, otherwise false.

Definition at line 319 of file cryptplug.cpp.

libkleo

Skip menu "libkleo"
  • Main Page
  • Modules
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

kdepim

Skip menu "kdepim"
  • akonadi
  •   clients
  •   kabc
  •   kcal
  •   kcm
  • akregator
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt
  • kdgantt1
  • kjots
  • kleopatra
  • kmail
  • kmobiletools
  • knode
  • knotes
  • kontact
  • kontactinterfaces
  • korganizer
  •   korgac
  • kpilot
  • ktimetracker
  •   doc
  • libkdepim
  • libkholidays
  • libkleo
  • libkpgp
  • maildir
Generated for kdepim by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal