DecryptionInfoNeeded Event
Asks the application to provide a decryption certificate.
Syntax
public open class DefaultMailreaderEventListener : MailreaderEventListener { ... public override fun decryptionInfoNeeded(e: MailreaderDecryptionInfoNeededEvent) {} ... } public class MailreaderDecryptionInfoNeededEvent { val issuerRDN: String? val serialNumber: ByteArray? val subjectKeyID: ByteArray? }
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.