30 #ifndef PLUGINS_AZOTH_INTERFACES_ISUPPORTPGP_H
31 #define PLUGINS_AZOTH_INTERFACES_ISUPPORTPGP_H
70 virtual void SetEntryKey (QObject *entry,
const QCA::PGPKey& pubKey) = 0;
80 virtual QCA::PGPKey
GetEntryKey (QObject *entry)
const = 0;
127 "org.Deviant.LeechCraft.Azoth.ISupportPGP/1.0");
virtual void SetEncryptionEnabled(QObject *entry, bool enabled)=0
Enables or disables encryption for the given entry.
virtual void SetEntryKey(QObject *entry, const QCA::PGPKey &pubKey)=0
Sets the public key for the given entry.
virtual QCA::PGPKey GetEntryKey(QObject *entry) const =0
Returns the public key for the given entry, if any.
Q_DECLARE_INTERFACE(LeechCraft::Azoth::IAccount,"org.Deviant.LeechCraft.Azoth.IAccount/1.0")
virtual QCA::PGPKey GetPrivateKey() const =0
Returns the private key for the account, if any.
virtual void SetPrivateKey(const QCA::PGPKey &key)=0
Sets the private key for the account.
Interface for accounts supporting PGP encryption.
virtual void encryptionStateChanged(QObject *entry, bool enabled)=0
Notifies that encryption state has changed for the given entry.
virtual void signatureVerified(QObject *entry, bool successful)=0
Notifies whether signature has been verified for the given entry.