SecureBlackbox 2020 C++ Edition

Questions / Feedback?

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_DCAUTH_KEYSECRET 14

SECUREBLACKBOX_EXTERNAL void* SECUREBLACKBOX_CALL SecureBlackbox_DCAuth_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
SECUREBLACKBOX_EXTERNAL int SECUREBLACKBOX_CALL SecureBlackbox_DCAuth_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

Copyright (c) 2022 /n software inc. - All rights reserved.
SecureBlackbox 2020 C++ Edition - Version 20.0 [Build 8166]