Response Property

The OCRA response.

Syntax

ANSI (Cross Platform)
int GetResponse(char* &lpResponse, int &lenResponse);
int SetResponse(const char* lpResponse, int lenResponse); Unicode (Windows) INT GetResponse(LPSTR &lpResponse, INT &lenResponse);
INT SetResponse(LPCSTR lpResponse, INT lenResponse);
@property (nonatomic,readwrite,assign,getter=response,setter=setResponse:) NSString* response;
- (NSString*)response;
- (void)setResponse:(NSString*)newResponse;

@property (nonatomic,readwrite,assign,getter=responseB,setter=setResponseB:) NSData* responseB; - (NSData*)responseB; - (void)setResponseB:(NSData*)newResponse;
#define PID_OCRA_RESPONSE 14

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

""

Remarks

This property holds the challenge response.

This is populated after calling CalculateResponse. This must be set before calling VerifyResponse.

Data Type

Binary String

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