Changeset View
Changeset View
Standalone View
Standalone View
messageviewer/src/viewer/messagepart.h
Show First 20 Lines • Show All 99 Lines • ▼ Show 20 Line(s) | 90 | public: | |||
---|---|---|---|---|---|
100 | void startDecryption(KMime::Content *data = 0); | 100 | void startDecryption(KMime::Content *data = 0); | ||
101 | void startVerification(const QByteArray &text, const QTextCodec *aCodec); | 101 | void startVerification(const QByteArray &text, const QTextCodec *aCodec); | ||
102 | void startVerificationDetached(const QByteArray& text, KMime::Content* textNode, const QByteArray& signature ); | 102 | void startVerificationDetached(const QByteArray& text, KMime::Content* textNode, const QByteArray& signature ); | ||
103 | void html(bool decorate) const Q_DECL_OVERRIDE; | 103 | void html(bool decorate) const Q_DECL_OVERRIDE; | ||
104 | 104 | | |||
105 | bool mPassphraseError; | 105 | bool mPassphraseError; | ||
106 | QByteArray mDecryptedData; | 106 | QByteArray mDecryptedData; | ||
107 | std::vector<GpgME::Signature> mSignatures; | 107 | std::vector<GpgME::Signature> mSignatures; | ||
108 | | ||||
109 | private: | ||||
110 | /** Writes out the block that we use when the node is encrypted, | ||||
111 | but we're deferring decryption for later. */ | ||||
112 | void writeDeferredDecryptionBlock() const; | ||||
113 | | ||||
108 | protected: | 114 | protected: | ||
109 | const Kleo::CryptoBackend::Protocol *mCryptoProto; | 115 | const Kleo::CryptoBackend::Protocol *mCryptoProto; | ||
110 | QString mFromAddress; | 116 | QString mFromAddress; | ||
111 | KMime::Content *mNode, *mTextNode; | 117 | KMime::Content *mNode, *mTextNode; | ||
112 | bool mDecryptMessage; | 118 | bool mDecryptMessage; | ||
113 | QByteArray mVerifiedText; | 119 | QByteArray mVerifiedText; | ||
114 | }; | 120 | }; | ||
115 | 121 | | |||
116 | } | 122 | } | ||
117 | #endif //_MESSAGEVIEWER_MESSAGEPART_H_ | 123 | #endif //_MESSAGEVIEWER_MESSAGEPART_H_ | ||
118 | No newline at end of file | 124 | No newline at end of file |