File indexing completed on 2024-09-22 04:52:17

0001 /*  -*- c++ -*-
0002     partmetadata.h
0003 
0004     KMail, the KDE mail client.
0005     Copyright (c) 2002-2003 Karl-Heinz Zimmer <khz@kde.org>
0006     Copyright (c) 2003      Marc Mutz <mutz@kde.org>
0007 
0008     This program is free software; you can redistribute it and/or
0009     modify it under the terms of the GNU General Public License,
0010     version 2.0, as published by the Free Software Foundation.
0011     You should have received a copy of the GNU General Public License
0012     along with this program; if not, write to the Free Software Foundation,
0013     Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, US
0014 */
0015 #pragma once
0016 
0017 #include <QStringList>
0018 #include <QDateTime>
0019 
0020 namespace MimeTreeParser
0021 {
0022 
0023 class PartMetaData
0024 {
0025 public:
0026     bool keyMissing = false;
0027     bool keyExpired = false;
0028     bool keyRevoked = false;
0029     bool sigExpired = false;
0030     bool crlMissing = false;
0031     bool crlTooOld = false;
0032     QString signer;
0033     QStringList signerMailAddresses;
0034     QByteArray keyId;
0035     bool keyIsTrusted = false;
0036     QString status;  // to be used for unknown plug-ins
0037     QString errorText;
0038     QDateTime creationTime;
0039     QString decryptionError;
0040     QString auditLog;
0041     bool isSigned = false;
0042     bool isGoodSignature =false;
0043     bool isEncrypted = false;
0044     bool isDecryptable = false;
0045     bool technicalProblem = false;
0046     bool isEncapsulatedRfc822Message = false;
0047 };
0048 
0049 }