EntryKeyNeeded Event
This event is fired to request an entry encryption/decryption key from the application.
Syntax
public class DefaultPasswordvaultEventListener implements PasswordvaultEventListener { ... public void entryKeyNeeded(PasswordvaultEntryKeyNeededEvent e) {} ... } public class PasswordvaultEntryKeyNeededEvent { public String entryName; public boolean cancel; }
Remarks
The component fires this event when a key is needed to encrypt or decrypt an entry. The EntryName parameter provides the name of the entry.
The handler of this event should assign the password or key to be used to EntryPassword or EntryKey property respectively. Set Cancel to true to abort the operation.