DecryptionInfoNeeded Event
Asks the application to provide a decryption certificate.
Syntax
class MailReaderDecryptionInfoNeededEventParams { public: const QString &IssuerRDN(); const QByteArray &SerialNumber(); const QByteArray &SubjectKeyID(); int EventRetVal(); void SetEventRetVal(int iRetVal); };
// To handle, connect one or more slots to this signal. void DecryptionInfoNeeded(MailReaderDecryptionInfoNeededEventParams *e);
// Or, subclass MailReader and override this emitter function. virtual int FireDecryptionInfoNeeded(MailReaderDecryptionInfoNeededEventParams *e) {...}
Remarks
This event is fired when the component needs a decryption certificate. Use the provided values to look up the certificate, and assign it to DecryptionCertificate property.
Note that the decryption certificate must have an associated private key.