33#ifndef __KLEO_ENCRYPTJOB_H__ 
   34#define __KLEO_ENCRYPTJOB_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 );  
An abstract base class for asynchronous encrypters.  
virtual GpgME::Error start(const std::vector< GpgME::Key > &recipients, const TQByteArray &plainText, bool alwaysTrust=false)=0 Starts the encryption operation.  
An abstract base class for asynchronous crypto operations.  
  
           
        
        
          
         
        
      
      
    
    
    
  
 |