Skip to main content

Veritran Docs

Validate OTP

This function enables you to validate the OTP (one-time password).

Parameter Configuration

This function requires you to complete the OTP that is going to be validated. Read Input Registers to read more.

Function ID

Register

Value

110

8

Input Registers

Register

Description

Mandatory

Value

123

OTP

Yes

<<OTP TO VALIDATE>>

118

Challenge

No

<<CHALLENGE>>

121

Pin

No

<<PIN>>

122

Session Data

No

<<SESSIONDATA>>

128

Forward Throttle

No

<<TOKEN_VALIDATION_FORWARD_THROTTLE>>

141

CRC Validation

No

<<CRCVALIDATION>>

142

Transform Session Data

No

<<TRANSFORM SESSION DATA>>

143

TOPT Left Interval

No

<<TOKEN_TOTP_LEFT_INTERVAL>>

144

TOPT Right Interval

No

<<TOKEN_TOTP_RIGHT_INTERVAL>>

125

Flag Clear Password

No

<<CLEAR_PASSWORD>>

Output Registers

Register

Description

Value

112

Call Result

113

Error verifying the CRC.

100

Problems trying to parse data in prepareSessionData function.

099

Current time is before 01/01/1990 00:00:00 GMT.

007

OTP could not be validated.

006

Challenge > than 128 bytes.

002

ConfigurationManager not set.

001

Generic error. Suite not supported or invalid.

000

Process successful.

113

Password

After the function is executed, the token 125 (CLEAR PASSWORD) is verified. In case of having set "1" as a value, this token (113) is cleared.

119

OCRA Suite

<<OCRASUITE>>

205

Password Set Flag

After the function is executed, the token 125 (CLEAR PASSWORD) is verified. In case of having set "1" as a value, this token (205) is set with the value "1".

210

Negative Validation Counter

<<TOKEN_NEGATIVE_VALIDATION_COUNTER>>