diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-04-26 21:20:46 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-04-26 21:20:46 +0200 |
commit | 5da025fb7d42e4c82d7f3c3a7460e2ac1b8698d0 (patch) | |
tree | f1a17aac193206f6d95baba73068de9348cf6ccd /framework/src/domain/mime/mimetreeparser/partmetadata.h | |
parent | ae20f0a057f4740e3eedb1641d99c37601ad0b7f (diff) | |
download | kube-5da025fb7d42e4c82d7f3c3a7460e2ac1b8698d0.tar.gz kube-5da025fb7d42e4c82d7f3c3a7460e2ac1b8698d0.zip |
Less gpgme in the interfaces
Diffstat (limited to 'framework/src/domain/mime/mimetreeparser/partmetadata.h')
-rw-r--r-- | framework/src/domain/mime/mimetreeparser/partmetadata.h | 34 |
1 files changed, 13 insertions, 21 deletions
diff --git a/framework/src/domain/mime/mimetreeparser/partmetadata.h b/framework/src/domain/mime/mimetreeparser/partmetadata.h index 813ef4cb..44a9cf7e 100644 --- a/framework/src/domain/mime/mimetreeparser/partmetadata.h +++ b/framework/src/domain/mime/mimetreeparser/partmetadata.h | |||
@@ -16,8 +16,6 @@ | |||
16 | #ifndef __MIMETREEPARSER_PARTMETADATA_H__ | 16 | #ifndef __MIMETREEPARSER_PARTMETADATA_H__ |
17 | #define __MIMETREEPARSER_PARTMETADATA_H__ | 17 | #define __MIMETREEPARSER_PARTMETADATA_H__ |
18 | 18 | ||
19 | #include <gpgme++/verificationresult.h> | ||
20 | |||
21 | #include <QStringList> | 19 | #include <QStringList> |
22 | #include <QDateTime> | 20 | #include <QDateTime> |
23 | 21 | ||
@@ -27,35 +25,29 @@ namespace MimeTreeParser | |||
27 | class PartMetaData | 25 | class PartMetaData |
28 | { | 26 | { |
29 | public: | 27 | public: |
30 | PartMetaData() | 28 | bool keyMissing = false; |
31 | : sigSummary(GpgME::Signature::None), | 29 | bool keyExpired = false; |
32 | isSigned(false), | 30 | bool keyRevoked = false; |
33 | isGoodSignature(false), | 31 | bool sigExpired = false; |
34 | isEncrypted(false), | 32 | bool crlMissing = false; |
35 | isDecryptable(false), | 33 | bool crlTooOld = false; |
36 | technicalProblem(false), | ||
37 | isEncapsulatedRfc822Message(false) | ||
38 | { | ||
39 | } | ||
40 | GpgME::Signature::Summary sigSummary; | ||
41 | QString signClass; | 34 | QString signClass; |
42 | QString signer; | 35 | QString signer; |
43 | QStringList signerMailAddresses; | 36 | QStringList signerMailAddresses; |
44 | QByteArray keyId; | 37 | QByteArray keyId; |
45 | GpgME::Signature::Validity keyTrust; | 38 | bool keyIsTrusted = false; |
46 | QString status; // to be used for unknown plug-ins | 39 | QString status; // to be used for unknown plug-ins |
47 | int status_code; // to be used for i18n of OpenPGP and S/MIME CryptPlugs | 40 | int status_code; // to be used for i18n of OpenPGP and S/MIME CryptPlugs |
48 | QString errorText; | 41 | QString errorText; |
49 | QDateTime creationTime; | 42 | QDateTime creationTime; |
50 | QString decryptionError; | 43 | QString decryptionError; |
51 | QString auditLog; | 44 | QString auditLog; |
52 | GpgME::Error auditLogError; | 45 | bool isSigned = false; |
53 | bool isSigned : 1; | 46 | bool isGoodSignature =false; |
54 | bool isGoodSignature : 1; | 47 | bool isEncrypted = false; |
55 | bool isEncrypted : 1; | 48 | bool isDecryptable = false; |
56 | bool isDecryptable : 1; | 49 | bool technicalProblem = false; |
57 | bool technicalProblem : 1; | 50 | bool isEncapsulatedRfc822Message = false; |
58 | bool isEncapsulatedRfc822Message : 1; | ||
59 | }; | 51 | }; |
60 | 52 | ||
61 | } | 53 | } |