MessageCore::AutocryptStorage Class
class MessageCore::AutocryptStorage| Header: | #include <MessageCore/AutocryptStorage> |
| CMake: | find_package(KPim6MessageCore REQUIRED)target_link_libraries(mytarget PRIVATE KPim6::MessageCore) |
Public Functions
| ~AutocryptStorage() | |
| AutocryptRecipient::Ptr | addRecipient(const QByteArray &addr) |
| void | deleteRecipient(const QByteArray &addr) |
| AutocryptRecipient::Ptr | getRecipient(const QByteArray &addr) |
| void | save() |
Static Public Members
| AutocryptStorage::Ptr | self() |
Detailed Description
Member Function Documentation
[noexcept] AutocryptStorage::~AutocryptStorage()
Destroys the AutocryptStorage.
AutocryptRecipient::Ptr AutocryptStorage::addRecipient(const QByteArray &addr)
Adds a new recipient to the storage.
addr The email address of the recipient to add.
void AutocryptStorage::deleteRecipient(const QByteArray &addr)
Deletes a recipient from the storage.
addr The email address of the recipient to delete.
AutocryptRecipient::Ptr AutocryptStorage::getRecipient(const QByteArray &addr)
Returns the AutocryptRecipient for the given email address.
addr The email address of the recipient.
void AutocryptStorage::save()
Saves the storage.
[static] AutocryptStorage::Ptr AutocryptStorage::self()
Returns the singleton instance of AutocryptStorage.