PasswordNeeded Event
This event is fired when a decryption password is needed.
Syntax
class CertificateManagerPasswordNeededEventParams { public: const QString &Password(); void SetPassword(const QString &qsPassword); bool Cancel(); void SetCancel(bool bCancel); int EventRetVal(); void SetEventRetVal(int iRetVal); };
// To handle, connect one or more slots to this signal. void PasswordNeeded(CertificateManagerPasswordNeededEventParams *e);
// Or, subclass CertificateManager and override this emitter function. virtual int FirePasswordNeeded(CertificateManagerPasswordNeededEventParams *e) {...}
Remarks
The class fires this event when a password is needed to decrypt a certificate or a private key.
In the handler of this event, assign the password to the Password parameter, or set Cancel to true to abort the operation.