SecureBlackbox 2020 Qt Edition

Questions / Feedback?

DecryptionPasswordNeeded Event

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

Syntax

class ArchiveWriterDecryptionPasswordNeededEventParams {
public:
  const QString &PasswordTarget();
  bool Cancel();
  void SetCancel(bool bCancel);
  int EventRetVal();
  void SetEventRetVal(int iRetVal);
};
// To handle, connect one or more slots to this signal. void DecryptionPasswordNeeded(ArchiveWriterDecryptionPasswordNeededEventParams *e);
// Or, subclass ArchiveWriter and override this emitter function. virtual int FireDecryptionPasswordNeeded(ArchiveWriterDecryptionPasswordNeededEventParams *e) {...}

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 Qt Edition - Version 20.0 [Build 8154]