/n software 3-D Secure V2 C++ Edition

Questions / Feedback?

CheckAuthResponse Method

Checks the received packet.

Syntax

ANSI (Cross Platform)
int CheckAuthResponse(const char* lpszauthResponse);

Unicode (Windows)
INT CheckAuthResponse(LPCWSTR lpszauthResponse);
- (void)checkAuthResponse:(NSString*)authResponse;
#define MID_CLIENT_CHECKAUTHRESPONSE 5

IPWORKS3DS_EXTERNAL int IPWORKS3DS_CALL IPWorks3DS_Client_Do(void *lpObj, int methid, int cparam, void *param[], int cbparam[], int64 *lpllVal);

Remarks

After the response to the authentication request is received from the 3DS Server class, call CheckAuthResponse to verify and parse the response. See the 3DS Server's SendAuthRequest method for details about obtaining the response.

Before calling this method, ACSRootCerts must be populated with the root certificates used by the ACS to sign the response. This method will validate the signature of the signed content if present.

After calling this method, inspect TransactionStatus to determine if the transaction requires a challenge. If TransactionStatus is C, a challenge is required and SendChallengeRequest should be called to proceed with the challenge flow. If TransactionStatus is D, decoupled authentication will take place outside of the 3-D Secure flow and the results will be posted to the 3DS Server.

If TransactionStatus is Y or A, the transaction is complete.

Error Handling (C++)

This method returns a result code; 0 indicates success, while a non-zero error code indicates that this method encountered an error during its execution. If an error occurs, the GetLastError() method can be called to retrieve the associated error message. (Note: This method's result code can also be obtained by calling the GetLastErrorCode() method after it returns.)

Copyright (c) 2022 /n software inc. - All rights reserved.
/n software 3-D Secure V2 C++ Edition - Version 2.2 [Build 8318]