SecureBlackbox 2020 Node.js Edition

Questions / Feedback?

DecryptionPasswordNeeded Event

Requests a decryption password, when needed.

Syntax

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

Callback

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

function(e){ }

The argument 'e' has the following properties:

e.passwordTarget
e.cancel

Remarks

Class fires this event when it needs a password to decrypt the archive. Subscribe to this event if you expect to process encrypted archives.

Inside the event handler, please assign the correct password to DecryptionPassword property, or set Cancel parameter to true to terminate the processing.

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