Libkleo
keyresolver.h
98 * @param protocol: A specific key protocol (OpenPGP, S/MIME) for selection. Default: Both protocols.
101 explicit KeyResolver(bool encrypt, bool sign, GpgME::Protocol protocol = GpgME::UnknownProtocol, bool allowMixed = true);
KeyResolver(bool encrypt, bool sign, GpgME::Protocol protocol=GpgME::UnknownProtocol, bool allowMixed=true)
Creates a new key resolver object.
Definition keyresolver.cpp:172
void setRecipients(const QStringList &addresses)
Set the list of recipient addresses.
Definition keyresolver.cpp:179
void setPreferredProtocol(GpgME::Protocol proto)
Set the protocol that is preferred to be displayed first when it is not clear from the keys.
Definition keyresolver.cpp:209
void setSigningKeys(const QStringList &fingerprints)
Set explicit signing keys to use.
Definition keyresolver.cpp:194
void keysResolved(bool success, bool sendUnencrypted)
Emitted when key resolution finished.
void setDialogWindowFlags(Qt::WindowFlags flags)
Set window flags for a possible dialog.
Definition keyresolver.cpp:204
void setOverrideKeys(const QMap< GpgME::Protocol, QMap< QString, QStringList > > &overrides)
Set up possible override keys for recipients addresses.
Definition keyresolver.cpp:189
void setMinimumValidity(int validity)
Set the minimum user id validity for autoresolution.
Definition keyresolver.cpp:214
Q_SCRIPTABLE Q_NOREPLY void start()
QObject(QObject *parent)
Q_OBJECTQ_OBJECT
Q_SIGNALSQ_SIGNALS
QObject * sender() const const
Key
typedef WindowFlags
Solution represents the solution found by the KeyResolver.
Definition keyresolver.h:65
GpgME::Protocol protocol
This property holds a hint at the protocol of the signing and encryption keys, i.e.
Definition keyresolver.h:72
QMap< QString, std::vector< GpgME::Key > > encryptionKeys
This property contains the encryption keys to use for the different recipients.
Definition keyresolver.h:91
std::vector< GpgME::Key > signingKeys
This property contains the signing keys to use.
Definition keyresolver.h:78
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:50:12 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:50:12 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.