 |
LeechCraft Azoth
0.6.70-15082-g543737046d
Modular multiprotocol IM plugin for LeechCraft
|
Go to the documentation of this file.
50 virtual void SetEntryKey (QObject *entry,
const QCA::PGPKey& pubKey) = 0;
60 virtual QCA::PGPKey
GetEntryKey (QObject *entry)
const = 0;
124 "org.Deviant.LeechCraft.Azoth.ISupportPGP/1.0")
virtual void encryptionStateChanged(QObject *entry, bool enabled)=0
Notifies that encryption state has changed for the given entry.
virtual QCA::PGPKey GetPrivateKey() const =0
Returns the private key for the account, if any.
std::optional< AnyException_t > MaybeException_t
A type representing a possibility of a GPG-related error.
virtual void SetEntryKey(QObject *entry, const QCA::PGPKey &pubKey)=0
Sets the public key for the given entry.
virtual void signatureVerified(QObject *entry, bool successful)=0
Notifies whether signature has been verified for the given entry.
virtual bool IsEncryptionEnabled(QObject *entry) const =0
Checks if the encryption is enabled for the entry.
virtual ~ISupportPGP()=default
virtual GPGExceptions::MaybeException_t SetEncryptionEnabled(QObject *entry, bool enabled)=0
Enables or disables encryption for the entry.
virtual void SetPrivateKey(const QCA::PGPKey &key)=0
Sets the private key for the account.
virtual QCA::PGPKey GetEntryKey(QObject *entry) const =0
Returns the public key for the given entry, if any.
Interface for accounts supporting PGP encryption.