SelectedPublicKeyPassphraseValid Property
Use this property to check whether the specified Passphrase is valid and can be used to unlock the secret key.
Syntax
ANSI (Cross Platform) int GetSelectedPublicKeyPassphraseValid(int iSelectedPublicKeyIndex); Unicode (Windows) BOOL GetSelectedPublicKeyPassphraseValid(INT iSelectedPublicKeyIndex);
- (BOOL)selectedPublicKeyPassphraseValid:(int)selectedPublicKeyIndex;
#define PID_PGPKEYRING_SELECTEDPUBLICKEYPASSPHRASEVALID 81 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
Use this property to check whether the specified SelectedPublicKeyPassphrase is valid and can be used to unlock the secret key.
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