KeyNeeded Event
This event is fired to request a vault encryption/decryption key from the application.
Syntax
passwordvault.on('KeyNeeded', [callback])
Callback
The 'callback' is called when the 'KeyNeeded' event is emited.
function(e){ }
The argument 'e' has the following properties:
e.cancel
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.