User Manual

51
st= fw_MFPlusL0_CommitPerso(icdev,maskKey,0x9000);
Remark
After submitting successfully,the card automatically upgrade to level 1 from
level 0.
int fw_MFPlusL1_AuthenKeyL1(int ihic,unsigned char* key);
Description
Verify one-level secret key for one-level card
Parameters:
ihic: value of device handle
key: one-level secret key
Return
0 if successful; otherwise, Nonzero.
Example:
int st;
unsigned char
keyL1[16]={0x00,0x11,0x22,0x33,0x44,0x55,0x66,0x77,0x88,0x99,0xaa,0xbb,0xcc,0xd
d,0x90,0x04};
st= fw_MFPlusL1_AuthenKeyL1(icdev,keyL1);
int fw_MFPlusL1_SwitchToL2(int ihic,unsigned char* key);
Description
Verify two-level secret key for one-level card and upgrade to two-level
Parameters
ihic: value of device handle
key: two-level secret key for upgrading
Return
0 if successful; otherwise, Nonzero.
Example:
int st;
unsigned char
keyL2[16]={0x00,0x11,0x22,0x33,0x44,0x55,0x66,0x77,0x88,0x99,0xaa,0xbb,0xcc,0xd
d,0x90,0x02};
st= fw_MFPlusL1_SwitchToL2(icdev,keyL2);
int fw_MFPlusL1_SwitchToL3(int ihic,unsigned char* key);
Description
Verify three-level secret key for one-level card and upgrade to three-level
Parameters:
ihic: value of device handle
key: three-level secret key for upgrading
Return
0 if successful; otherwise, Nonzero.
Example:
int st;
unsigned char