SelectedPublicKeyVersion Property
Indicates the key version.
Syntax
ANSI (Cross Platform) int GetSelectedPublicKeyVersion(int iSelectedPublicKeyIndex); Unicode (Windows) INT GetSelectedPublicKeyVersion(INT iSelectedPublicKeyIndex);
- (int)selectedPublicKeyVersion:(int)selectedPublicKeyIndex;
#define PID_PGPKEYRING_SELECTEDPUBLICKEYVERSION 92 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
-1
Remarks
Indicates the key version.
The key version refers to the version of the public-key packet format as defined in RFC 4880.
Only two versions are currently allowed here: 3 and 4. It is recommended that all new keys are created with version of 4.
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
Integer