ResponseLength Property

Defines the length of the response.

Syntax

ANSI (Cross Platform)
int GetResponseLength();
int SetResponseLength(int iResponseLength); Unicode (Windows) INT GetResponseLength();
INT SetResponseLength(INT iResponseLength);
@property (nonatomic,readwrite,assign,getter=responseLength,setter=setResponseLength:) int responseLength;
- (int)responseLength;
- (void)setResponseLength:(int)newResponseLength;
#define PID_OCRA_RESPONSELENGTH 15

IPWORKSAUTH_EXTERNAL void* IPWORKSAUTH_CALL IPWorksAuth_OCRA_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKSAUTH_EXTERNAL int IPWORKSAUTH_CALL IPWorksAuth_OCRA_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

Default Value

6

Remarks

This property specifies the desired response length. Valid values are 4-10, and 0. Values 4-10 will result in a numeric value of that length. The value 0 indicates no truncation and the raw HMAC value is returned in the response

This may be set before calling CreateChallenge, when the OCRASuite is generated.

When OCRASuite is assigned this value is updated to reflect the options specified in the OCRASuite. When calling CalculateResponse the calculated Response will be a value with this length.

The default value is 6.

Data Type

Integer

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