PlatformProtection Property
Enables platform-based protection of the master key.
Syntax
ANSI (Cross Platform) int GetPlatformProtection();
int SetPlatformProtection(int bPlatformProtection); Unicode (Windows) BOOL GetPlatformProtection();
INT SetPlatformProtection(BOOL bPlatformProtection);
@property (nonatomic,readwrite,assign,getter=platformProtection,setter=setPlatformProtection:) BOOL platformProtection; - (BOOL)platformProtection; - (void)setPlatformProtection:(BOOL)newPlatformProtection;
#define PID_PASSWORDVAULT_PLATFORMPROTECTION 6 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);
Default Value
FALSE
Remarks
Use this property to enable the platform-based protection for the main encryption key. The platform protection is currently only available on Windows,in the form of DPAPI in unmanaged editions, or ProtectedData in .NET Framework.
Data Type
Boolean