Home>IEC standards>ISO/IEC 7816-4-2013 pdf free download

ISO/IEC 7816-4-2013 pdf free download

ISO/IEC 7816-4-2013 pdf free download.Identification cards – Integrated circuit cards – Part 4: Organization, security and commands for interchange.
5 Command-Response pairs
5.1 Conditions of operation
A physical interface between the card and the outside world shall be enabled to support processing of command-response pairs. The enabling process is defined by interface specific protocols. With their own words (between double quotes), the following standards define enabling procedures: 一ISO/EC 7816-3 defines “activation of contacts”, “cold reset” or “warm reset”, and possible “Protocol and Parameter Selection”.
一ISO/EC 7816-3 defines “activation of contacts”, “cold reset” or “warm reset”, and possible “Protocol and Parameter Selection”.
一ISO/IEC 7816-12 defines “electrical connection” of contacts with reference to the USB specification, the “Configured” and “Intial” state of the device, and “ATR”.
一ISO/IEC 14443 18 (all parts) defines how to set a proximity card to an “ACTIVE” state.
Those standards also define procedures and situations which disable the physical interface. A disabled physical interface shall not support processing of command-response pairs.
5.2 Syntax
Table 1 shows a command-response pair (abbreviated in this document by C-RP), namely a command APDU followed by a response APDU in the opposite direction (see ISO/IEC 7816-3). There shall be no interleaving of C-RPs across the interface, i.e. the response APDU shall be received before initiating another C-RP.
In any command APDU comprising both Le and Le fields (see ISO/IEC 7816-3), short and extended length fields shall not be combined: either both of them are short, or both of them are extended.
If the card explicitly states its capability of handling “extended Le and Le fields” (see Table 119, third software function table) in the historical bytes (see 12.1.1) or in EF.ATR/INFO (see 12.2.2), then the card handles short and extended length fields. Otherwise (default value), the card handles only short length fields. In a command
APDU longer than 5 bytes, the use of extended L fields is indicated by the first byte after P2 equal to ’00’.
Nc denotes the number of bytes in the command data field. The L。field encodes Ne.
一If the L。field is absent, then N。is zero.
A short L。field consists of one byte not set to ’00’. From ’01’ to ‘FF, the byte encodes N from one to 255.
一An extended Le field consists of three bytes: one byte set to ’00’ followed by two bytes not set to ‘0000’.
From ‘0001’ to ‘FFFF’, the two bytes encode N from one to 65 535.ISO/IEC 7816-4 pdf download.

Related PowerPoint Templates

Template Categories