decryptverifyjob.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
#ifndef __KLEO_DECRYPTVERIFYJOB_H__
00034
#define __KLEO_DECRYPTVERIFYJOB_H__
00035
00036
#include "job.h"
00037
00038
#include <qcstring.h>
00039
00040
#include <utility>
00041
00042
namespace GpgME {
00043
class Error;
00044
class Key;
00045
class DecryptionResult;
00046
class VerificationResult;
00047 }
00048
00049
00050
namespace Kleo {
00051
00065 class DecryptVerifyJob :
public Job {
00066 Q_OBJECT
00067
protected:
00068
DecryptVerifyJob(
QObject * parent,
const char * name );
00069
public:
00070 ~
DecryptVerifyJob();
00071
00076
virtual GpgME::Error
start(
const QByteArray & cipherText ) = 0;
00077
00079
virtual std::pair<GpgME::DecryptionResult,GpgME::VerificationResult>
00080
exec(
const QByteArray & cipherText,
QByteArray & plainText ) = 0;
00081
00082 signals:
00083
void result(
const GpgME::DecryptionResult & decryptionresult,
00084
const GpgME::VerificationResult & verificationresult,
00085
const QByteArray & plainText );
00086 };
00087
00088 }
00089
00090
#endif // __KLEO_DECRYPTVERIFYJOB_H__
This file is part of the documentation for certmanager/lib Library Version 3.3.0.