kmail
partmetadata.h00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef _KMAIL_PARTMETADATA_H_
00018 #define _KMAIL_PARTMETADATA_H_
00019
00020 #include <gpgmepp/verificationresult.h>
00021
00022 #include <kpgp.h>
00023 #include <qstring.h>
00024 #include <qcstring.h>
00025 #include <qdatetime.h>
00026
00027 namespace KMail {
00028
00029 class PartMetaData {
00030 public:
00031 PartMetaData()
00032 : sigSummary( GpgME::Signature::None ),
00033 isSigned( false ),
00034 isGoodSignature( false ),
00035 isEncrypted( false ),
00036 isDecryptable( false ),
00037 technicalProblem( false ),
00038 isEncapsulatedRfc822Message( false )
00039 {
00040 }
00041 GpgME::Signature::Summary sigSummary;
00042 QString signClass;
00043 QString signer;
00044 QStringList signerMailAddresses;
00045 QCString keyId;
00046 Kpgp::Validity keyTrust;
00047 QString status;
00048 int status_code;
00049 QString errorText;
00050 QDateTime creationTime;
00051 QString decryptionError;
00052 QString auditLog;
00053 bool isSigned : 1;
00054 bool isGoodSignature : 1;
00055 bool isEncrypted : 1;
00056 bool isDecryptable : 1;
00057 bool technicalProblem : 1;
00058 bool isEncapsulatedRfc822Message : 1;
00059 };
00060
00061 }
00062
00063 #endif // _KMAIL_PARTMETADATA_H_
00064
|