KeySubject Property
Returns the key subject.
Syntax
ANSI (Cross Platform) int GetKeySubject(char* &lpKeySubject, int &lenKeySubject);
int SetKeySubject(const char* lpKeySubject, int lenKeySubject); Unicode (Windows) INT GetKeySubject(LPSTR &lpKeySubject, INT &lenKeySubject);
INT SetKeySubject(LPCSTR lpKeySubject, INT lenKeySubject);
@property (nonatomic,readwrite,assign,getter=keySubject,setter=setKeySubject:) NSData* keySubject; - (NSData*)keySubject; - (void)setKeySubject:(NSData*)newKeySubject;
#define PID_SYMMETRICCRYPTO_KEYSUBJECT 16 SECUREBLACKBOX_EXTERNAL void* SECUREBLACKBOX_CALL SecureBlackbox_SymmetricCrypto_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); SECUREBLACKBOX_EXTERNAL int SECUREBLACKBOX_CALL SecureBlackbox_SymmetricCrypto_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Remarks
Returns the key subject. This is a cryptoprovider-dependent value,which normally aims to provide some user-friendly insight into thekey owner.
This property is not available at design time.
Data Type
Byte Array