FFFFDGD
FFFFDGD
FFFFDGD
0 (2022-02)
11.1.9.2 Void
b8 b7 b6 b5 b4 b3 b2 b1 Meaning
0 0 0 0 0 0 0 0 Not supported
0 - - - - - - - Global reference data (e.g. MF specific PIN)
1 - - - - - - - Specific reference data (e.g. DF specific/application
dependent PIN)
- X X - - - - - '00' (other values are RFU)
- - - X X X X X Reference data number
The five least significant bits of parameter P2 specify the PIN key reference number (see clause 9.5.1 for permissible
values).
Command data:
This function assigns a new value to the relevant PIN subject to the following conditions being fulfilled:
If the old PIN presented is correct, the number of remaining PIN attempts for that PIN shall be reset to its initial value 3
and the new value for the PIN becomes valid.
If the old PIN presented is false, the number of remaining PIN attempts for that PIN shall be decremented and the value
of the PIN is unchanged. After 3 consecutive false PIN presentations, not necessarily in the same card session, the
respective PIN shall be blocked and the access condition can never be fulfilled until the UNBLOCK PIN function has
been performed successfully on the respective PIN.
Input:
ETSI
105 ETSI TS 102 221 V17.1.0 (2022-02)
Output:
• None.
NOTE: "Change PIN" is named "exchange reference data" in ISO/IEC 7816-4 [12].
The UICC shall perform a validation of the SE after the successful execution of this command as the current SE may
have changed and this shall affect the access to files.
NOTE 1: The access rules for the application have to cater for the case that an alternative global key reference
replaces the application PIN. It is the responsibility of the application to specify this.
The successful execution of this function has the effect that files protected by PIN are now accessible as if they were
marked "ALWAYS", except in the case where the alternative global key reference is to be used as a replacement for the
disabled PIN. In this case the access condition for files containing only a reference to the disabled PIN is the alternative
global key reference. For files having more than one global key reference indicated in the access rules the access
condition is "ALWAYS" after disabling on of the key references used in the access rules. The function DISABLE PIN
shall not be executed by the selected application when PIN is already disabled or blocked.
NOTE 2: Every application has to specify whether this function is applicable to all PINs defined for the application.
If the PIN presented is correct, the number of remaining PIN attempts shall be reset to its initial value 3 and PIN shall
be disabled.
If the PIN presented is false, the number of remaining PIN attempts shall be decremented and PIN remains enabled.
After 3 consecutive false PIN presentations, not necessarily in the same card session, the PIN shall be blocked and the
access condition can never be fulfilled until the UNBLOCK PIN function has been successfully performed on PIN.
Input:
• PIN.
ETSI
106 ETSI TS 102 221 V17.1.0 (2022-02)
Output:
• None.
b8 b7 b6 b5 b4 b3 b2 b1 Meaning
0 0 0 0 0 0 0 0 Verification data present in data field
0 0 0 0 0 0 0 1 Reserved by ISO/IEC 7816-4 [12]
1 - - - - - - - Verification data present, and use reference
data number as verification replacement
- X X - - - - - '00' (other values are RFU)
- - - X X X X X Global key reference data number
The five least significant bits of parameter P2 specify the PIN key reference number (see clause 9.5.1 for permissible
values).
Command data:
The UICC shall perform a validation of the SE after the successful execution of this command as the current SE may
have changed and this shall affect the access to files.
The function ENABLE PIN shall not be executed by the selected application when PIN is already enabled or blocked.
Every application shall specify whether this function is applicable to all PINs defined for the application.
If the PIN presented is correct, the number of remaining PIN attempts shall be reset to its initial value 3 and PIN shall
be enabled.
If the PIN presented is false, the number of remaining PIN attempts shall be decremented and PIN remains disabled.
After 3 consecutive false PIN presentations, not necessarily in the same card session, PIN shall be blocked and may
optionally be set to "enabled". Once blocked, the PIN can only be unblocked using the UNBLOCK PIN function. If the
PIN is blocked and "disabled", the access condition shall remain granted. If the PIN is blocked and "enabled", the
access condition can never be fulfilled until the UNBLOCK PIN function has been successfully performed on PIN.
ETSI