Messagelib

partmetadata.h
1 /* -*- c++ -*-
2  partmetadata.h
3 
4  KMail, the KDE mail client.
5  SPDX-FileCopyrightText: 2002-2003 Karl -Heinz Zimmer <[email protected]>
6  SPDX-FileCopyrightText: 2003 Marc Mutz <[email protected]>
7 
8  SPDX-License-Identifier: GPL-2.0-or-later
9 */
10 
11 #pragma once
12 
13 #include "mimetreeparser_export.h"
14 
15 #include <gpgme++/context.h>
16 #include <gpgme++/verificationresult.h>
17 
18 #include <QDateTime>
19 #include <QStringList>
20 
21 namespace MimeTreeParser
22 {
23 class PartMetaData
24 {
25 public:
26  PartMetaData()
27  : sigSummary(GpgME::Signature::None)
28  , isSigned(false)
29  , isGoodSignature(false)
30  , isEncrypted(false)
31  , isDecryptable(false)
32  , inProgress(false)
33  , technicalProblem(false)
34  , isEncapsulatedRfc822Message(false)
35  {
36  }
37 
38  GpgME::Signature::Summary sigSummary;
39  QString signClass;
40  QString signer;
41  QStringList signerMailAddresses;
42  QByteArray keyId;
43  GpgME::Signature::Validity keyTrust;
44  QString status; // to be used for unknown plug-ins
45  int status_code; // to be used for i18n of OpenPGP and S/MIME CryptPlugs
46  QString errorText;
47  QDateTime creationTime;
48  QString decryptionError;
49  QString auditLog;
50  GpgME::Error auditLogError;
51  bool isSigned : 1;
52  bool isGoodSignature : 1;
53  bool isEncrypted : 1;
54  bool isDecryptable : 1;
55  bool inProgress : 1;
56  bool technicalProblem : 1;
57  bool isEncapsulatedRfc822Message : 1;
58 };
59 }
60 
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Tue Nov 30 2021 23:05:47 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.