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.