SecureBlackbox 2020 C++ Edition

Questions / Feedback?

SelectedPublicKeyCanEncrypt Property

Returns True if this key can be used for encryption.

Syntax

ANSI (Cross Platform)
int GetSelectedPublicKeyCanEncrypt(int iSelectedPublicKeyIndex);

Unicode (Windows)
BOOL GetSelectedPublicKeyCanEncrypt(INT iSelectedPublicKeyIndex);
- (BOOL)selectedPublicKeyCanEncrypt:(int)selectedPublicKeyIndex;
#define PID_PGPKEYRING_SELECTEDPUBLICKEYCANENCRYPT 65

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

FALSE

Remarks

Returns True if this key can be used for encryption.

The SelectedPublicKeyIndex parameter specifies the index of the item in the array. The size of the array is controlled by the SelectedPublicKeyCount property.

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

Data Type

Boolean

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