libkleo
Go to the documentation of this file.
   33 #ifndef __KLEO_ENCRYPTJOB_H__ 
   34 #define __KLEO_ENCRYPTJOB_H__ 
   38 #include <boost/shared_ptr.hpp> 
   48   class EncryptionResult;
 
   84     virtual KDE_DEPRECATED GpgME::Error start( 
const std::vector<GpgME::Key> & recipients,
 
   85                                 const QByteArray & plainText, 
bool alwaysTrust=
false ) = 0;
 
   96     virtual void start( 
const std::vector<GpgME::Key> & recipients,
 
   99                         bool alwaysTrust=
false ) = 0;
 
  101     virtual GpgME::EncryptionResult exec( 
const std::vector<GpgME::Key> & recipients,
 
  102                                           const QByteArray & plainText,
 
  103                                           bool alwaysTrust, QByteArray & cipherText ) = 0;
 
  109     virtual void setOutputIsBase64Encoded( 
bool ) = 0;
 
  112     void result( 
const GpgME::EncryptionResult & result, 
const QByteArray & cipherText, 
const QString & auditLogAsHtml=
QString(), 
const GpgME::Error & auditLogError=GpgME::Error() );
 
  117 #endif // __KLEO_ENCRYPTJOB_H__ 
An abstract base class for asynchronous crypto operations. 
 
An abstract base class for asynchronous encrypters. 
 
  
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:57:48 by
doxygen 1.8.7 written
by 
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.