7.2.3 CHANGE REFERENCE DATA
With this command the passwords of the application can be changed. In compliance with EN 419212 only one P1 variation from ISO 7816-4 is defined for signature cards. The command can be accessed without restrictions, the actual PW is part of the command data and will be verified first by the card. The length of the existing password is known in the card, so that neither a delimiter nor padding for filling up fixed formats is necessary for UTF-8 or derived passwords. The length of the new UTF-8/derived password therefore computes L new = Lc – L old. PIN block format 2 passwords have a fixed length of 8 bytes.
Command:
CLA 00 / 0C
INS 24
P1 00
P2 81 (PW1) or 83 (PW3)
Lc xx
Data Actual PW + New PW
Field Length of new UTF-8 or derived PW: min. 06 for PW1, min. 08 for PW3
For max. length see DO ´C4´
For PIN block format 2 two blocks (8 bytes each) for old and new PIN are concatenated
Le Empty (means not present in command)