SecureBlackbox 2020 Node.js Edition

Questions / Feedback?

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.

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