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.