SecureBlackbox 2020 Node.js Edition

Questions / Feedback?

DecryptionPasswordNeeded Event

Fires when the class needs a password to decrypt the archive.

Syntax

archivewriter.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 to request a decryption password from the application when it comes across an encrypted archive or entry.

Please assign the password to DecryptionPassword property inside the event handler, or set Cancel to true to cancel the operation.

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