kmail Library API Documentation

partmetadata.h

00001 /*  -*- c++ -*-
00002     partmetadata.h
00003 
00004     KMail, the KDE mail client.
00005     Copyright (c) 2002-2003 Karl-Heinz Zimmer <khz@kde.org>
00006     Copyright (c) 2003      Marc Mutz <mutz@kde.org>
00007 
00008     This program is free software; you can redistribute it and/or
00009     modify it under the terms of the GNU General Public License,
00010     version 2.0, as published by the Free Software Foundation.
00011     You should have received a copy of the GNU General Public License
00012     along with this program; if not, write to the Free Software Foundation,
00013     Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, US
00014 */
00015 
00016 
00017 #ifndef _KMAIL_PARTMETADATA_H_
00018 #define _KMAIL_PARTMETADATA_H_
00019 
00020 #include <cryptplugwrapper.h>
00021 
00022 #include <kpgp.h>
00023 #include <qstring.h>
00024 #include <qcstring.h>
00025 #include <time.h>
00026 
00027 namespace KMail {
00028 
00029   class PartMetaData {
00030   public:
00031     PartMetaData()
00032       : isSigned( false ),
00033         isGoodSignature( false ),
00034         sigStatusFlags( CryptPlugWrapper::SigStatus_UNKNOWN ),
00035         isEncrypted( false ),
00036         isDecryptable( false ),
00037         technicalProblem( false ),
00038         isEncapsulatedRfc822Message( false ),
00039         isWrongKeyUsage( false ) {}
00040     bool isSigned;
00041     bool isGoodSignature;
00042     CryptPlugWrapper::SigStatusFlags sigStatusFlags;
00043     QString signClass;
00044     QString signer;
00045     QStringList signerMailAddresses;
00046     QCString keyId;
00047     Kpgp::Validity keyTrust;
00048     QString status;  // to be used for unknown plug-ins
00049     int status_code; // to be used for i18n of OpenPGP and S/MIME CryptPlugs
00050     QString errorText;
00051     tm creationTime;
00052     bool isEncrypted;
00053     bool isDecryptable;
00054     QString decryptionError;
00055     bool technicalProblem;
00056     bool isEncapsulatedRfc822Message;
00057     bool isWrongKeyUsage;
00058   };
00059 
00060 } // namespace KMail
00061 
00062 #endif // _KMAIL_PARTMETADATA_H_
00063 
KDE Logo
This file is part of the documentation for kmail Library Version 3.3.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Fri Dec 21 14:25:04 2007 by doxygen 1.4.2 written by Dimitri van Heesch, © 1997-2003