SecureBlackbox 2020 C++ Edition

Questions / Feedback?

EntryKey Property

Provides an encryption key for the current entry.

Syntax

ANSI (Cross Platform)
int GetEntryKey(char* &lpEntryKey, int &lenEntryKey);
int SetEntryKey(const char* lpEntryKey, int lenEntryKey); Unicode (Windows) INT GetEntryKey(LPSTR &lpEntryKey, INT &lenEntryKey);
INT SetEntryKey(LPCSTR lpEntryKey, INT lenEntryKey);
@property (nonatomic,readwrite,assign,getter=entryKey,setter=setEntryKey:) NSData* entryKey;
- (NSData*)entryKey;
- (void)setEntryKey:(NSData*)newEntryKey;
#define PID_PASSWORDVAULT_ENTRYKEY 2

SECUREBLACKBOX_EXTERNAL void* SECUREBLACKBOX_CALL SecureBlackbox_PasswordVault_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
SECUREBLACKBOX_EXTERNAL int SECUREBLACKBOX_CALL SecureBlackbox_PasswordVault_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

Remarks

Use this property to provide the encryption/decryption key for the current entry. This property is typically assigned from the EntryKeyNeeded event handler.

This property is automatically generated when a non-empty password is assigned to the EntryPassword property. This is because all entries, and the vault itself,are always encrypted with cryptographically strong keys, and if the user decides to use a password, it is converted to such key using a secure PBKDF function.

This property is not available at design time.

Data Type

Byte Array

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