3.1.2 GET DATA Card Command
All changes in this version
Title changed
Before · SP 800-73-4
GET DATA Card Command
After · SP 800-73-5
GET DATA Card Command
Control changed
Before · SP 800-73-4
The GET DATA card command retrieves the data content of the single data object whose tag is given in the data field. 5
Command Syntax
CLA '00' or '0C' for secure messaging INS 'CB' P1 '3F' P2 'FF' L c Length of data field * Data Field See Table 6 L e '00'
* The L c value is '05' for all PIV data objects except for the 0x7E interindustry tag (Discovery Object), which has an L c value of '03', and the 0x7F61 interindustry tag (Biometric Information Templates (BIT) Group Template), which has an L c value of '04'.
Table 6. Data Objects in the Data Field of the GET DATA Card Command Name Tag M/O Comment Tag list '5C' M BER-TLV tag of the data object to be retrieved. See Table 3, Part 1.
For the 0x7E Discovery Object (if present) and the 0x7F61 BIT Group Template (if present):
Data Field
- BER-TLV of the 0x7E Discovery data object (see Section 3.3.2, Part 1 for a description of the Discovery Object’s structure returned in the data field) or
- BER-TLV of the 0x7F61 BIT Group Template (see Table 7 of SP 800-76) SW1-SW2 Status word
For all other PIV data objects (if present):
Data Field BER-TLV with the tag '53' containing in the value field of the requested data object. SW1-SW2 Status word
5 The GET RESPONSE command is used in conjunction with GET DATA to accomplish the reading of larger PIV data objects. The GET RESPONSE command is illustrated in Appendix A.4.1 (Command 3). '61' 'xx' Successful execution where SW2 encodes the number of response data bytes still available '69' '82' Security status not satisfied '6A' '82' Data object not found
After · SP 800-73-5
The GET DATA card command retrieves the data content of the single data object whose tag is given in the data field. 5
Command Syntax
CLA '00' or '0C' for secure messaging INS 'CB' P1 '3F' P2 'FF' L c Length of data field * Data Field See Table 6 L e '00'
* The L c value is '05' for all PIV data objects except for the 0x7E interindustry tag (Discovery Object), which has an L c value of '03', and the 0x7F61 interindustry tag (Biometric Information Templates (BIT) Group Template), which has an L c value of '04'.
Table 6. Data Objects in the Data Field of the GET DATA Card Command Name Tag M/O Comment Tag list '5C' M BER-TLV tag of the data object to be retrieved. See Table 3, Part 1.
For the 0x7E Discovery Object (if present) and the 0x7F61 BIT Group Template (if present):
Data Field
- BER-TLV of the 0x7E Discovery data object (see Section 3.3.2, Part 1 for a description of the Discovery Object’s structure returned in the data field) or
- BER-TLV of the 0x7F61 BIT Group Template (see Table 7 of SP 800-76) SW1-SW2 Status word
For all other PIV data objects (if present):
Data Field BER-TLV with the tag '53' containing in the value field of the requested data object. SW1-SW2 Status word
5 The GET RESPONSE command is used in conjunction with GET DATA to accomplish the reading of larger PIV data objects. The GET RESPONSE command is illustrated in Appendix A.4.1 (Command 3). '61' 'xx' Successful execution where SW2 encodes the number of response data bytes still available '69' '82' Security status not satisfied '6A' '82' Data object not found