SecureBlackbox 2020 C++ Edition

Questions / Feedback?

KeySecret Property

The OTP key secret.

Syntax

ANSI (Cross Platform)
int GetKeySecret(char* &lpKeySecret, int &lenKeySecret);
int SetKeySecret(const char* lpKeySecret, int lenKeySecret); Unicode (Windows) INT GetKeySecret(LPSTR &lpKeySecret, INT &lenKeySecret);
INT SetKeySecret(LPCSTR lpKeySecret, INT lenKeySecret);
@property (nonatomic,readwrite,assign,getter=keySecret,setter=setKeySecret:) NSData* keySecret;
- (NSData*)keySecret;
- (void)setKeySecret:(NSData*)newKeySecret;
#define PID_OTPCLIENT_KEYSECRET 1

SECUREBLACKBOX_EXTERNAL void* SECUREBLACKBOX_CALL SecureBlackbox_OTPClient_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
SECUREBLACKBOX_EXTERNAL int SECUREBLACKBOX_CALL SecureBlackbox_OTPClient_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

Remarks

Specifies the secret key shared by the parties and used for one-time password generation.

This property is not available at design time.

Data Type

Byte Array

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