RecipientFound Event
Informs the application that an archive is encrypted with a digital certificate.
Syntax
class ArchiveReaderRecipientFoundEventParams { public: const QByteArray &RecipientHash(); bool CertFound(); int EventRetVal(); void SetEventRetVal(int iRetVal); };
// To handle, connect one or more slots to this signal. void RecipientFound(ArchiveReaderRecipientFoundEventParams *e);
// Or, subclass ArchiveReader and override this emitter function. virtual int FireRecipientFound(ArchiveReaderRecipientFoundEventParams *e) {...}
Remarks
The class fires this event when processing archives encrypted with an X.509 certificate. CertFound indicates whether the matching certificate has been found in DecryptionCertificates collection.
This event is an opportunity to add the decryption certificate on a later stage if it was not known at the start of the processing.