Please note that the date you requested in the address for this web page is not an actual date upon which a change occurred to this item of legislation. You are being shown the legislation from , which is the first date before then upon which a change was made.
This command is compliant with ISO/IEC 7816-4, but has a restricted usage compared to the command defined in the norm.
The GET CHALLENGE command asks the card to issue a challenge in order to use it in a security related procedure in which a cryptogram or some ciphered data are sent to the card.
Byte | Length | Value | Description |
---|---|---|---|
CLA | 1 | ‘00h’ | |
INS | 1 | ‘84h’ | INS |
P1 | 1 | ‘00h’ | P1 |
P2 | 1 | ‘00h’ | P2 |
Le | 1 | ‘08h’ | Le (Length of Challenge expected). |
Byte | Length | Value | Description |
---|---|---|---|
#1-#8 | 8 | ‘XX..XXh’ | Challenge |
SW | 2 | ‘XXXXh’ | Status Words (SW1,SW2) |
If the command is successful, the card returns ‘9000’.
If Le is different from ‘08h’, the processing state is ‘6700’.
If parameters P1-P2 are incorrect, the processing state is ‘6A86’.