AAL2ChangeStaticPassword

Prev Next

Function prototype

aat_int32 AAL2ChangeStaticPassword (
                                    TDigipassBlob*   DPData,
                                    TKernelParms*    CallParms,
                                    aat_ascii*       NewStaticPassword1,
                                    aat_ascii*       NewStaticPassword2);

Description

This function is used with a Digipass authenticator that can use static passwords (e.g. Digipass GO 1). It allows administrators to provide a new static password on a mandatory basis. As this function is critical, only an authenticated user should be able to use it.

For a list of the characters that can be used for the new static password, see Supported new static password charset.

Parameters

  Table: Parameters (AAL2ChangeStaticPassword)
TypeNameUseDescription
TDigipassBlob *DPDataI/Oauthenticator application BLOB. Upon return from the function call, this BLOB must be rewritten to the application database to reflect changes.
TKernelParms * CallParms IStructure of runtime parameters to use during this function call.
aat_ascii * NewStaticPassword1I

First entry of the password change trial. Up to 8 printable ASCII-EBCDIC invariant characters. Must be null-terminated.

For a list of the characters that can be used for the new static password, see  Supported new static password charset.

aat_ascii *NewStaticPassword2I

Second entry confirmation of the password change trial. Must be identical to NewStaticPassword1.

Return codes

  Table: Return codes (AAL2ChangeStaticPassword)
CodeMeaningCodeMeaning
0Success804New password too long
130Invalid response pointer805Password not equal
412Invalid checksum software1000Function does not support EMV-CAP
413Invalid Base64 format1103Unlock Version 2 not supported
510Invalid Digipass data pointer1118Unsupported BLOB
801Static password not supported-1501Memory allocation failed
803New password too short  

Supported new static password charset

The following table lists the supported characters for the data fields of AAL2ChangeStaticPassword with associated hexadecimal values in ASCII and EBCDIC. 

  Table: List of supported characters
CharacterHex ASCII valueHex EBCDIC valueCharacterHex ASCII valueHex EBCDIC value
!0x210x5AP0x500xD7
“0x220x7FQ0x510xD8
#0x230x7BR0x520xD9
$0x240x5BS0x530xE2
%0x250x6CT0x540xE3
&0x260x50U0x550xE4
'0x270x7DV0x560xE5
(0x280x4DW0x570xE6
)0x290x5DX0x580xE7
*0x2A0x5CY0x590xE8
+0x2B0x4EZ0x5A0xE9
,0x2C0x6B[0x5B0xAD
-0x2D0x60\0x5C0xE0
.0x2E0x4B]0x5D0xBD
/0x2F0x61^0x5E0x5F
00x300xF0_0x5F0x6D
10x310xF1`0x600x79
20x320xF2a0x610x81
30x330xF3b0x620x82
40x340xF4c0x630x83
50x350xF5d0x640x84
60x360xF6e0x650x85
70x370xF7f0x660x86
80x380xF8g0x670x87
90x390xF9h0x680x88
:0x3A0x7Ai0x690x89
;0x3B0x5Ej0x6A0x91
<0x3C0x4Ck0x6B0x92
=0x3D0x7El0x6C0x93
>0x3E0x6Em0x6D0x94
?0x3F0x6Fn0x6E0x95
@0x400x7Co0x6F0x96
A0x410xC1p0x700x97
B0x420xC2q0x710x98
C0x430xC3r0x720x99
D0x440xC4s0x730xA2
E0x450xC5t0x740xA3
F0x460xC6u0x750xA4
G0x470xC7v0x760xA5
H0x480xC8w0x770xA6
I0x490xC9x0x780xA7
J0x4A0xD1y0x790xA8
K0x4B0xD2z0x7A0xA9
L0x4C0xD3(0x7B0xC0
M0x4D0xD4|0x7C0x4F
N0x4E0xD5)0x7D0xD0
O0x4F0xD6~0x7E0xA1