KeyValid Property
Returns True if this key is valid.
Syntax
ANSI (Cross Platform) int GetKeyValid(int iKeyIndex); Unicode (Windows) BOOL GetKeyValid(INT iKeyIndex);
- (BOOL)keyValid:(int)keyIndex;
#define PID_CRYPTOKEYSTORAGE_KEYVALID 14 SECUREBLACKBOX_EXTERNAL void* SECUREBLACKBOX_CALL SecureBlackbox_CryptoKeyStorage_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); SECUREBLACKBOX_EXTERNAL int SECUREBLACKBOX_CALL SecureBlackbox_CryptoKeyStorage_CheckIndex(void *lpObj, int propid, int arridx);
Default Value
FALSE
Remarks
Returns True if this key is valid. The term Valid highly depends onthe kind of the key being stored. A symmetric key is considered validif its length fits the algorithm being set. The validity of anRSA key also ensures that the RSA key elements (primes, exponents,and modulus) are consistent.
The KeyIndex parameter specifies the index of the item in the array. The size of the array is controlled by the KeyCount property.
This property is read-only and not available at design time.
Data Type
Boolean