DecryptionInfoNeeded Event
Asks the application to provide a decryption certificate.
Syntax
mailreader.on('DecryptionInfoNeeded', [callback])
Callback
The 'callback' is called when the 'DecryptionInfoNeeded' event is emited.
function(e){ }
The argument 'e' has the following properties:
e.issuerRDN e.serialNumber (buffer) e.subjectKeyID (buffer)
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.