33 #ifndef __KLEO_ENCRYPTJOB_H__ 34 #define __KLEO_ENCRYPTJOB_H__ 38 #include <tqcstring.h> 45 class EncryptionResult; 68 EncryptJob( TQObject * parent, const char * name ); 80 virtual GpgME::Error start( const std::vector<GpgME::Key> & recipients, 81 const TQByteArray & plainText, bool alwaysTrust= false ) = 0; 83 virtual GpgME::EncryptionResult exec( const std::vector<GpgME::Key> & recipients, 84 const TQByteArray & plainText, 85 bool alwaysTrust, TQByteArray & cipherText ) = 0; 88 void result( const GpgME::EncryptionResult & result, const TQByteArray & cipherText ); 93 #endif // __KLEO_ENCRYPTJOB_H__
An abstract base class for asynchronous crypto operations.
An abstract base class for asynchronous encrypters.
|