33 #ifndef __KLEO_DECRYPTVERIFYJOB_H__
34 #define __KLEO_DECRYPTVERIFYJOB_H__
38 #include <tqcstring.h>
45 class DecryptionResult;
46 class VerificationResult;
77 virtual GpgME::Error start( const TQByteArray & cipherText ) = 0;
80 virtual std::pair<GpgME::DecryptionResult,GpgME::VerificationResult>
81 exec( const TQByteArray & cipherText, TQByteArray & plainText ) = 0;
84 void result( const GpgME::DecryptionResult & decryptionresult,
85 const GpgME::VerificationResult & verificationresult,
86 const TQByteArray & plainText );
An abstract base class for asynchronous combined decrypters and verifiers.
virtual GpgME::Error start(const TQByteArray &cipherText)=0 Starts the combined decryption and verification operation.
virtual std::pair< GpgME::DecryptionResult, GpgME::VerificationResult > exec(const TQByteArray &cipherText, TQByteArray &plainText)=0 Synchronous equivalent of start()
An abstract base class for asynchronous crypto operations.
|