Commit 856653ab authored by Sandro Knauß's avatar Sandro Knauß
Browse files

Add signed flag for CryptoMessagePart

parent d1b4910f
...@@ -1802,6 +1802,16 @@ bool CryptoMessagePart::isEncrypted() const ...@@ -1802,6 +1802,16 @@ bool CryptoMessagePart::isEncrypted() const
return mMetaData.isEncrypted; return mMetaData.isEncrypted;
} }
void CryptoMessagePart::setIsSigned(bool isSigned)
{
mMetaData.isSigned = isSigned;
}
bool CryptoMessagePart::isSigned() const
{
return mMetaData.isSigned;
}
bool CryptoMessagePart::passphraseError() const bool CryptoMessagePart::passphraseError() const
{ {
return mPassphraseError; return mPassphraseError;
......
...@@ -419,6 +419,9 @@ public: ...@@ -419,6 +419,9 @@ public:
void setIsEncrypted(bool encrypted); void setIsEncrypted(bool encrypted);
bool isEncrypted() const; bool isEncrypted() const;
void setIsSigned(bool isSigned);
bool isSigned() const;
bool passphraseError() const; bool passphraseError() const;
void startDecryption(const QByteArray &text, const QTextCodec *aCodec); void startDecryption(const QByteArray &text, const QTextCodec *aCodec);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment