SelectedKeySubject Property
Returns the key subject.
Syntax
ANSI (Cross Platform) int GetSelectedKeySubject(int iSelectedKeyIndex, char* &lpSelectedKeySubject, int &lenSelectedKeySubject); Unicode (Windows) INT GetSelectedKeySubject(INT iSelectedKeyIndex, LPSTR &lpSelectedKeySubject, INT &lenSelectedKeySubject);
- (NSData*)selectedKeySubject:(int)selectedKeyIndex;
#define PID_CRYPTOKEYSTORAGE_SELECTEDKEYSUBJECT 28 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);
Remarks
Returns the key subject. This is a cryptoprovider-dependent value,which normally aims to provide some user-friendly insight into thekey owner.
The SelectedKeyIndex parameter specifies the index of the item in the array. The size of the array is controlled by the SelectedKeyCount property.
This property is read-only and not available at design time.
Data Type
Byte Array