SecureBlackbox 2020 C++ Edition

Questions / Feedback?

EntryKeyNeeded Event

This event is fired to request an entry encryption/decryption key from the application.

Syntax

ANSI (Cross Platform)
virtual int FireEntryKeyNeeded(PasswordVaultEntryKeyNeededEventParams *e);
typedef struct {
const char *EntryName;
int Cancel; int reserved; } PasswordVaultEntryKeyNeededEventParams; Unicode (Windows) virtual INT FireEntryKeyNeeded(PasswordVaultEntryKeyNeededEventParams *e);
typedef struct {
LPCWSTR EntryName;
BOOL Cancel; INT reserved; } PasswordVaultEntryKeyNeededEventParams;
- (void)onEntryKeyNeeded:(NSString*)entryName :(int*)cancel;
#define EID_PASSWORDVAULT_ENTRYKEYNEEDED 1

virtual INT SECUREBLACKBOX_CALL FireEntryKeyNeeded(LPSTR &lpszEntryName, BOOL &bCancel);

Remarks

The class 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.

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