SecureBlackbox Lite 2020 Node.js Edition

Questions / Feedback?

RecipientFound Event

Informs the application that an archive is encrypted with a digital certificate.

Syntax

archivereader.on('RecipientFound', [callback])

Callback

The 'callback' is called when the 'RecipientFound' event is emited.

function(e){ }

The argument 'e' has the following properties:

e.recipientHash (buffer)
e.certFound

Remarks

The class fires this event when processing archives encrypted with an X.509 certificate. CertFound indicates whether the matching certificate has been found in DecryptionCertificates collection.

This event is an opportunity to add the decryption certificate on a later stage if it was not known at the start of the processing.

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