CR page 3

ETSI SCP WG2 Meeting #10
Sophia-Antipolis, France, 29 March –1st April 2004 / Tdoc SCP2-040129
Revision of SCP2-040121
EP SCP CR-Form-v1.5.0
CHANGE REQUEST
z / 102 226 / CR / z rev / z Current version: / 6.7.0 / z
For HELP on using this form, see bottom of this page or look at the pop-up text over the z symbols.
Proposed change affects: z / smart card / X / terminal / server / network
entity / X
Title: z / New tag for Extended Card Resources in the GET DATA command
Source: z / WG2
Work item name: z / Date: z / 31/01/04
Category: z / B / Release: z / REL-6
Use one of the following categories:
F (essential correction)
A (corresponds to a correction in an earlier release)
B (Addition of feature),
C (Functional modification of feature)
D (Editorial modification)
Detailed explanations of the above categories can
be found in 3GPP TR 21.900. / Use one of the following releases:
R99 (Release 1999)
REL-4 (Release 4)
REL-5 (Release 5)
REL-6 (Release 6)
REL-7 (Release 7)
Reason for change: z / A new TLV needs to be defined for memory size greater than 64k
Align with GlobalPlatform definition of GET DATA
Summary of change: z / Definition of a new Tag for Extended Card Resources to report the Free Memory Available on the UICC and the Number of installed applications with GET DATA command
Definition of the structure according to GlobalPlatform.
Consequences if z
not approved:
New tag value defined within the CR? / If ticked, add document number of related CR to TS 101 220:
Clauses affected: z / 2, 3.1, 8.2.1.7, 8.2.1.7.X (new section)
Other specs z / Other core specifications z
affected: / Test specifications
Other comments: z

2 References

The following documents contain provisions which, through reference in this text, constitute provisions of the present document.

·  References are either specific (identified by date of publication and/or edition number or version number) or nonspecific.

·  For a specific reference, subsequent revisions do not apply.

·  For a non-specific reference, the latest version applies.

Referenced documents which are not found to be publicly available in the expected location might be found at http://docbox.etsi.org/Reference.

[1] ETSI TS 102 225: "Smart cards; Secured packet structure for UICC based applications".

[2] ETSI TS 102 221: "Smart cards; UICC-Terminal interface; Physical and logical characteristics".

[3] ETSI TS 102 223: "Smart cards; Card Application Toolkit (CAT)".

[4] GlobalPlatform: "GlobalPlatform Card Specification, Version 2.1.1", March 2003
(see http://www.globalplatform.org/).

[5] ETSI TS 101 220: "Smart cards; ETSI numbering system for telecommunication application providers".

[6] ETSI TS 143 019: "Digital cellular telecommunications system (Phase 2+); Subscriber Identity Module Application Programming Interface (SIM API) for Java Card; Stage 2 (3GPP TS 43.019)".

[7] ETSI TS 102 241: "Smart cards; UICC Application Programming Interface (UICC API) for Java Card (TM)".

[8] GlobalPlatform Card Specification version 2.0.1 (see http://www.globalplatform.org/).

[9] GlobalPlatform Card Specification 2.1 Compliance Packages Version 1.1
(see http://www.globalplatform.org/).

[10] ETSI TS 102 222: "Integrated Circuit Cards (ICC); Administrative commands for telecommunications applications".

[X] ISO/IEC 8825-1 (1998): "Information technology - ASN.1 encoding rules: Specification of Basic Encoding Rules (BER), Canonical Encoding Rules (CER) and Distinguished Encoding Rules (DER)".

[...]

8.2.1.7 GETDATA

The value '80' for the CLA byte shall be supported. The value '00' for the CLA byte is optional.

The Issuer Security Domain shall support at least the following data object tags:

·  Tag '66': Card Data.

·  Tag 'E0': Key Information Template.

An Application Provider Security Domain shall support at least the following data object tags:

·  Tag 'E0': Key Information Template.

The Tag values '42' and '45' are not applicable to the present document.

The command Get Data is extended to retrieve specific card information with tag values in P1 and P2. The following values have been defined:

·  'FF 1F': Menu Parameters Tag, this retrieves the menu parameters of an application.

·  'FF 20': Card Resources Tag, this retrieves information on the card resources used and available.

·  'FF XX': Extended Card Resources Tag, this retrieves information on the card resources used and available (free memory available in the UICC, number of installed applications)

·  'FF YY21' to 'FF 3F': reserved for allocation in the present document.

Support of tag 'FF 20' is optional for the UICC. It is deprecated and replaced by the Extended Card Resources Tag.

8.2.1.7.1 Menu parameters

The following format is used to code the command data.

Bytes / Description / Length
1 / Application AID tag = '4F' / 1
2 / Application AID length / 1
3 to (X+2) / Application AID / X = 5 - 16

After the successful execution of the command, the following data are returned using a GETRESPONSE command.

Bytes / Description / Length
1 / First item position / 1
2 / First item identifier / 1
… / … / …
X - 1 / Last item position / 1
X / Last item identifier / 1
8.2.1.7.2 Card resources information

After the successful execution of the command, the following data is returned:

Bytes / Description / Length
1 to 2 / Free E²PROM / 2
3 / Number of installed applications / 1
8.2.1.7.X Extended Card resources information

After the successful execution of the command, the TLV coded data objects given in the table below are returned.: Encoding of the data shall be done as defined in GlobalPlatform specification [4], i.e. for a GlobalPlatform type GET DATA command (class byte '80'), the GET DATA Response Data Field shall contain the TLV coded data object and for an ISO type GET DATA command (class byte '00'), the GET DATA Response Data Field shall contain only the value of the TLV coded data object. The tag for the GlobalPlatform type GET DATA response is 'FF XX', followed by the length of response data and the requested card resources information given in the table below.

Description / Value / Length
Number of installed applications tag / ‘81’ / 1
Number of installed applications length / A / X
Number of installed applications / A
Free volatile memory available tag / ‘82’ / 1
Free volatile memory available length / B / X
Free volatile memory available / B
Free non volatile memory available tag / ‘83’ / 1
Free non volatile memory available length / C / X
Free non volatile memory available / C

The free memory indicated shall be usable for applications to be loaded onto the UICC.

All length values of the TLV data objects in the table above shall be coded according to the Distinguished Encoding Rules defined in ISO/IEC 8825-1 [X]

ETSI SCP