KeySecret Property
The pre-shared authentication key.
Syntax
ANSI (Cross Platform) char* GetKeySecret();
int SetKeySecret(const char* lpszKeySecret); Unicode (Windows) LPWSTR GetKeySecret();
INT SetKeySecret(LPCWSTR lpszKeySecret);
@property (nonatomic,readwrite,assign,getter=keySecret,setter=setKeySecret:) NSString* keySecret; - (NSString*)keySecret; - (void)setKeySecret:(NSString*)newKeySecret;
#define PID_DCAUTHWEBSERVER_KEYSECRET 23 SECUREBLACKBOX_EXTERNAL void* SECUREBLACKBOX_CALL SecureBlackbox_DCAuthWebServer_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); SECUREBLACKBOX_EXTERNAL int SECUREBLACKBOX_CALL SecureBlackbox_DCAuthWebServer_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
""
Remarks
If processing requests from a single known party, assign the key you pre-shared with them to this property. Use KeyId property to assign the ID of that key. If you expect to receive requests from many parties with different authentication keys, use KeySecretNeeded event instead.
Data Type
String