SecureBlackbox Lite 2020 Qt Edition

Questions / Feedback?

KeyNeeded Event

This event is fired to request a vault encryption/decryption key from the application.

Syntax

class PasswordVaultKeyNeededEventParams {
public:
  bool Cancel();
  void SetCancel(bool bCancel);
  int EventRetVal();
  void SetEventRetVal(int iRetVal);
};
// To handle, connect one or more slots to this signal. void KeyNeeded(PasswordVaultKeyNeededEventParams *e);
// Or, subclass PasswordVault and override this emitter function. virtual int FireKeyNeeded(PasswordVaultKeyNeededEventParams *e) {...}

Remarks

Class fires this event to request a vault encryption key from the application. Note that this is not the same as entry encryption key, which is requested by EntryKeyNeeded. The key requested by this event is used to encrypt or decrypt the whole vault.

The handler of this event should assign the password or key to be used to Password or Key property respectively. Set Cancel to true to abort the operation.

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