33 #ifndef __KLEO_SIGNJOB_H__
34 #define __KLEO_SIGNJOB_H__
36 #include <gpgmepp/context.h>
39 #include <tqcstring.h>
69 SignJob( TQObject * parent, const char * name );
77 virtual GpgME::Error start( const std::vector<GpgME::Key> & signers,
78 const TQByteArray & plainText,
79 GpgME::Context::SignatureMode mode ) = 0;
80 virtual GpgME::SigningResult exec( const std::vector<GpgME::Key> & signers,
81 const TQByteArray & plainText,
82 GpgME::Context::SignatureMode mode,
83 TQByteArray & signature ) = 0;
86 void result( const GpgME::SigningResult & result, const TQByteArray & signature );
An abstract base class for asynchronous crypto operations.
An abstract base class for asynchronous signing.
virtual GpgME::Error start(const std::vector< GpgME::Key > &signers, const TQByteArray &plainText, GpgME::Context::SignatureMode mode)=0 Starts the signing operation.
|