If Virtual Mobile Authenticator is supported and activated for the given Digipass application BLOB, this function can be used to generate a dynamic one-time password.
Parameters
Table: Parameters (AAL2GenPassword)
Type
Name
Use
Description
TDigipassBlob *
DPData
I/O
authenticator application BLOB. Upon return from the function call, this BLOB must be rewritten to the application database to reflect changes..
TKernelParms *
CallParms
I
Structure of runtime parameters to use during this function call.
aat_ascii *
Password
O
String of up to 17 numeric or hexadecimal characters, left-justified, null-terminated, or right-padded with spaces. This is the dynamic password generated by the library (recommended buffer size is 18 bytes).
aat_ascii *
Challenge
I
String of up to 17 numeric characters, left-justified, null-terminated, or right-padded with spaces. This parameter holds the challenge which may have been proposed to the user to generate CodeToVerify. If no challenge was generated, this parameter should be NULL.
Return codes
Table: Return codes (AAL2GenPassword)
Code
Meaning
Code
Meaning
0
Success
1103
Unlock Version 2 not supported
130
Invalid response pointer
1116
Response check digit not allowed
131
Missing required challenge
1117
Challenge check digit not allowed
132
Unsupported token type
1118
Unsupported BLOB
202
Identification error threshold reached
-101
Challenge too short
208
Application disabled
-102
Challenge too long
209
Grace period expired
-103
Challenge check digit wrong
210
Allowed use count reached
-105
Challenge minimum length not allowed
211
Virtual Virtual token not supported
-106
Challenge maximum length not allowed
412
Invalid checksum
-107
Challenge number wrong
413
Invalid Base64 format
-108
Challenge character invalid
510
Invalid Digipass data pointer
-1501
Memory allocation failed
Cet article vous a-t-il été utile ?
Merci pour vos commentaires! Notre équipe vous répondra