message: add basic support for encrypted parts

This commit is contained in:
Dirk-Jan C. Binnema
2022-04-10 13:18:55 +03:00
parent 72c0f82b41
commit de8dd048e8
5 changed files with 461 additions and 66 deletions

View File

@ -111,6 +111,15 @@ public:
*/
bool is_signed() const noexcept;
/**
* Is this part encrypted?
*
* @return true or false
*/
bool is_encrypted() const noexcept;
/**
* Write (decoded) mime-part contents to string
*