SecureBlackbox 2020 Java Edition

Questions / Feedback?

DecryptionInfoNeeded Event

Asks the application to provide a decryption certificate.

Syntax

public class DefaultMailreaderEventListener implements MailreaderEventListener {
  ...
  public void decryptionInfoNeeded(MailreaderDecryptionInfoNeededEvent e) {}
  ...
}

public class MailreaderDecryptionInfoNeededEvent {
  public String issuerRDN;
  public byte[] serialNumber;
  public byte[] subjectKeyID;
}

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.

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