SecureBlackbox 2020 Android Edition

Questions / Feedback?

RecipientFound Event

Fires to report a message addressee parameters.

Syntax

public class DefaultMessagedecryptorEventListener implements MessagedecryptorEventListener {
  ...
  public void recipientFound(MessagedecryptorRecipientFoundEvent e) {}
  ...
}

public class MessagedecryptorRecipientFoundEvent {
  public String issuerRDN;
  public byte[] serialNumber;
  public byte[] subjectKeyID;
  public boolean certFound;
}

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 Android Edition - Version 20.0 [Build 8156]