SecureBlackbox 2020 Qt Edition

Questions / Feedback?

RecipientFound Event

Fires to report a message addressee parameters.

Syntax

class MessageDecryptorRecipientFoundEventParams {
public:
  const QString &IssuerRDN();
  const QByteArray &SerialNumber();
  const QByteArray &SubjectKeyID();
  bool CertFound();
  int EventRetVal();
  void SetEventRetVal(int iRetVal);
};
// To handle, connect one or more slots to this signal. void RecipientFound(MessageDecryptorRecipientFoundEventParams *e);
// Or, subclass MessageDecryptor and override this emitter function. virtual int FireRecipientFound(MessageDecryptorRecipientFoundEventParams *e) {...}

Remarks

This event is fired for each addressee the message is encrypted for. It may fire several times in a row if the message is encrypted for more than one recipient.

The IssuerRDN, SerialNumber, and SubjectKeyID parameters to identify the recipient's certificate. CertFound indicates if the specified certificate has been located in Certificates collection. If it wasn't, you might want to look up the certificate manually, and add it to the collection inside the event handler.

Copyright (c) 2022 /n software inc. - All rights reserved.
SecureBlackbox 2020 Qt Edition - Version 20.0 [Build 8154]