SecureBlackbox 2020 C++ Edition

Questions / Feedback?

SelectedSecretKeyProtection Property

Specifies the level of protection applied to the secret key.

Syntax

ANSI (Cross Platform)
int GetSelectedSecretKeyProtection(int iSelectedSecretKeyIndex);

Unicode (Windows)
INT GetSelectedSecretKeyProtection(INT iSelectedSecretKeyIndex);

Possible Values

PPT_NONE(0), 
PPT_LOW(1),
PPT_NORMAL(2),
PPT_HIGH(3)
- (int)selectedSecretKeyProtection:(int)selectedSecretKeyIndex;

Possible Values

PPT_NONE(0), 
PPT_LOW(1),
PPT_NORMAL(2),
PPT_HIGH(3)
#define PID_PGPKEYRING_SELECTEDSECRETKEYPROTECTION 113

SECUREBLACKBOX_EXTERNAL void* SECUREBLACKBOX_CALL SecureBlackbox_PGPKeyring_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);

SECUREBLACKBOX_EXTERNAL int SECUREBLACKBOX_CALL SecureBlackbox_PGPKeyring_CheckIndex(void *lpObj, int propid, int arridx);

Default Value

0

Remarks

Specifies the level of protection applied to the secret key.

Allowed values:

pptNone0Key is not encrypted
pptLow1Only the password hash is used to derive the secret key
pptNormal2Password hash with salt is used to derive the secret key
pptHigh3Hash from multiple passwords and salt are used for key derivation

The SelectedSecretKeyIndex parameter specifies the index of the item in the array. The size of the array is controlled by the SelectedSecretKeyCount property.

This property is read-only and not available at design time.

Data Type

Integer

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