1、 ETSI TS 1Digital cellular telecoUniversal Mobile TelSecured packSubscriber Identity M(3GPP TS 31.1TECHNICAL SPECIFICATION131 115 V13.0.0 (2016communications system (Phaelecommunications System (LTE; acket structure for (Universal)y Module (U)SIM Toolkit applic.115 version 13.0.0 Release 1316-02) ha
2、se 2+); (UMTS); al) lications 13) ETSI ETSI TS 131 115 V13.0.0 (2016-02)13GPP TS 31.115 version 13.0.0 Release 13Reference RTS/TSGC-0631115vd00 Keywords GSM,LTE,UMTS ETSI 650 Route des Lucioles F-06921 Sophia Antipolis Cedex - FRANCE Tel.: +33 4 92 94 42 00 Fax: +33 4 93 65 47 16 Siret N 348 623 562
3、 00017 - NAF 742 C Association but non lucratif enregistre la Sous-Prfecture de Grasse (06) N 7803/88 Important notice The present document can be downloaded from: http:/www.etsi.org/standards-search The present document may be made available in electronic versions and/or in print. The content of an
4、y electronic and/or print versions of the present document shall not be modified without the prior written authorization of ETSI. In case of any existing or perceived difference in contents between such versions and/or in print, the only prevailing document is the print of the Portable Document Form
5、at (PDF) version kept on a specific network drive within ETSI Secretariat. Users of the present document should be aware that the document may be subject to revision or change of status. Information on the current status of this and other ETSI documents is available at http:/portal.etsi.org/tb/statu
6、s/status.asp If you find errors in the present document, please send your comment to one of the following services: https:/portal.etsi.org/People/CommiteeSupportStaff.aspx Copyright Notification No part may be reproduced or utilized in any form or by any means, electronic or mechanical, including ph
7、otocopying and microfilm except as authorized by written permission of ETSI. The content of the PDF version shall not be modified without the written authorization of ETSI. The copyright and the foregoing restriction extend to reproduction in all media. European Telecommunications Standards Institut
8、e 2016. All rights reserved. DECTTM, PLUGTESTSTM, UMTSTMand the ETSI logo are Trade Marks of ETSI registered for the benefit of its Members. 3GPPTM and LTE are Trade Marks of ETSI registered for the benefit of its Members and of the 3GPP Organizational Partners. GSM and the GSM logo are Trade Marks
9、registered and owned by the GSM Association. ETSI ETSI TS 131 115 V13.0.0 (2016-02)23GPP TS 31.115 version 13.0.0 Release 13Intellectual Property Rights IPRs essential or potentially essential to the present document may have been declared to ETSI. The information pertaining to these essential IPRs,
10、 if any, is publicly available for ETSI members and non-members, and can be found in ETSI SR 000 314: “Intellectual Property Rights (IPRs); Essential, or potentially Essential, IPRs notified to ETSI in respect of ETSI standards“, which is available from the ETSI Secretariat. Latest updates are avail
11、able on the ETSI Web server (https:/ipr.etsi.org/). Pursuant to the ETSI IPR Policy, no investigation, including IPR searches, has been carried out by ETSI. No guarantee can be given as to the existence of other IPRs not referenced in ETSI SR 000 314 (or the updates on the ETSI Web server) which are
12、, or may be, or may become, essential to the present document. Foreword This Technical Specification (TS) has been produced by ETSI 3rd Generation Partnership Project (3GPP). The present document may refer to technical specifications or reports using their 3GPP identities, UMTS identities or GSM ide
13、ntities. These should be interpreted as being references to the corresponding ETSI deliverables. The cross reference between GSM, UMTS, 3GPP and ETSI identities can be found under http:/webapp.etsi.org/key/queryform.asp. Modal verbs terminology In the present document “shall“, “shall not“, “should“,
14、 “should not“, “may“, “need not“, “will“, “will not“, “can“ and “cannot“ are to be interpreted as described in clause 3.2 of the ETSI Drafting Rules (Verbal forms for the expression of provisions). “must“ and “must not“ are NOT allowed in ETSI deliverables except when used in direct citation. ETSI E
15、TSI TS 131 115 V13.0.0 (2016-02)33GPP TS 31.115 version 13.0.0 Release 13Contents Intellectual Property Rights 2g3Foreword . 2g3Modal verbs terminology 2g3Foreword . 4g3Introduction 4g31 Scope 5g32 References 5g33 Definitions and abbreviations . 6g33.1 Definitions 6g33.2 Abbreviations . 6g34 Impleme
16、ntation for SMS-PP 6g34.1 Structure of the UDH in a secured Short Message Point to Point 6g34.2 Structure of the Command Packet contained in a Single Short Message Point to Point 7g34.3 A Command Packet contained in Concatenated Short Messages Point to Point 8g34.4 Structure of the Response Packet .
17、 9g34.5 A Response Packet contained in Concatenated Short Messages Point to Point . 10g35 Implementation for SMS-CB . 11g35.1 Structure of the CBS page in the SMS-CB Message 11g35.2 A Command Packet contained in a SMS-CB message. 11g35.3 Structure of the Response Packet for a SMS-CB Message 12g36 Im
18、plementation for USSD 12g36.1 Structure of the Command Packet contained in a Single USSD Message 13g36.2 Structure of the Command Packet contained in concatenated USSD Messages 13g36.3 Structure of the Response Packet . 13g36.4 Structure of the Response Packet contained in concatenated USSD Messages
19、 . 14g37 Specific Response Status Codes . 15g38 Implementation for HTTP 15g3Annex A (normative): USSD String format . 16g3Annex B (informative): Change History 18g3History 19g3ETSI ETSI TS 131 115 V13.0.0 (2016-02)43GPP TS 31.115 version 13.0.0 Release 13Foreword This Technical Specification has bee
20、n produced by the 3rdGeneration Partnership Project (3GPP). The contents of the present document are subject to continuing work within the TSG and may change following formal TSG approval. Should the TSG modify the contents of the present document, it will be re-released by the TSG with an identifyi
21、ng change of release date and an increase in version number as follows: Version x.y.z where: x the first digit: 1 presented to TSG for information; 2 presented to TSG for approval; 3 or greater indicates TSG approved document under change control. Y the second digit is incremented for all changes of
22、 substance, i.e. technical enhancements, corrections, updates, etc. Z the third digit is incremented when editorial only changes have been incorporated in the document. Introduction The present document is the result of a split of TS 23.048 Release 5 between the generic part and the bearers specific
23、 application. The generic part has been transferred to SCP. The present document is the bearers specific part. ETSI ETSI TS 131 115 V13.0.0 (2016-02)53GPP TS 31.115 version 13.0.0 Release 131 Scope The present document specifies the structure of the Secured Packets in implementations using Short Mes
24、sage Service Point to Point (SMS-PP), Short Message Service Cell Broadcast (SMS-CB), Unstructured Supplementary Service Data (USSD) and and Hyper Text Transfer Protocol (HTTP) based on ETSI TS 102 225 9. The structure of the Secured Packets shall comply with the one defined in ETSI TS 102 225 9. The
25、 present document only contains additional requirements or explicit limitations for SIM/USIM applications. It is applicable to the exchange of secured packets between an entity in a 3G or GSM PLMN and an entity in the (U)SIM. Secured Packets contain application messages to which certain mechanisms a
26、ccording to ETSI TS 102 224 2 have been applied. Application messages are commands or data exchanged between an application resident in or behind the 3G or GSM PLMN and on the (U)SIM. The Sending/Receiving Entity in the 3G or GSM PLMN and the UICC are responsible for applying the security mechanisms
27、 to the application messages and thus turning them into Secured Packets. 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 numb
28、er or version number) or non-specific. For a specific reference, subsequent revisions do not apply. For a non-specific reference, the latest version applies. In the case of a reference to a 3GPP document (including a GSM document), a non-specific reference implicitly refers to the latest version of
29、that document in the same Release as the present document. 1 3GPP TR 21.905: “Vocabulary for 3GPP Specifications“. 2 ETSI TS 102 224 V8.0.0: “Smart Cards; Security mechanisms for UICC based Applications Functional requirements“. 3 3GPP TS 23.040: “Technical realization of the Short Message Service (
30、SMS)“. 4 3GPP TS 24.011: “Point-to-Point (PP) Short Message Service (SMS) support on mobile radio interface“. 5 ETSI TS 101 220 “Smart Cards; ETSI numbering system for telecommunication application providers“. 6 3GPP TS 23.041: “Technical realization of Cell Broadcast Service (CBS)“. 7 3GPP TS 24.01
31、2: “Short Message Service Cell Broadcast (SMSCB) support on the mobile radio interface“. 8 3GPP TS 23.038: “Alphabets and language-specific information“. 9 ETSI TS 102 225 V12.1.0: “Smart Cards; Secured packet structure for UICC based applications“. 10 3GPP TS 24.090: “Unstructured Supplementary Ser
32、vice Data (USSD) Stage 3“. ETSI ETSI TS 131 115 V13.0.0 (2016-02)63GPP TS 31.115 version 13.0.0 Release 133 Definitions and abbreviations 3.1 Definitions For the purposes of the present document, the terms and definitions given in ETSI TS 102 225 9 and the following apply: Message Identifier: two-oc
33、tet field used to identify the source and type of the message Page Parameter: single octet field used to represent the CBS page number in the sequence and the total number of pages in the SMS-CB message Serial Number: two octet field which identifies a particular message It is linked to the Message
34、Identifier and is altered every time the message is changed Short Message: information that may be conveyed by means of the SMS Service as defined in TS 23.040 3. USSD message: information that may be conveyed in the USSD-String field of a Facility message as defined in TS 24.090 10. 3.2 Abbreviatio
35、ns For the purpose of the present document, the abbreviations given in ETSI TS 102 225 9 and the following apply: CBC Cipher Block Chaining CBS Cell Broadcast Service CCF Concatenation Control Field DCS Data Coding Scheme IEI Information Element Identifier IEIDL Information Element Identifier Data L
36、ength IED Information Element Data MID Message Identifier MO-SMS Mobile Originated Short Message Service MT-SMS Mobile Terminated Short Message Service PFI Packet Format Information PLMN Public Land Mobile Network PP Page Parameter SIM Subscriber Identity Module SM Short Message SMS Short Message Se
37、rvice SMS-PP Short Message Service Point to Point SMS-CB Short Message Service Cell Broadcast SMS-SC Short Message Service Service Centre SN Serial Number UM USSD message USIM Universal Subscriber Identity Module USSD Unstructured Supplementary Service Data 4 Implementation for SMS-PP 4.1 Structure
38、of the UDH in a secured Short Message Point to Point The coding of the SMS-DELIVER, SMS-SUBMIT, SMS-DELIVER-REPORT header shall indicate that the data is binary (8 bit data), and not 7 bit or 16 bit. In order to invoke the UDH functionality of relevant SMS element, the UDHI bit shall be set as defin
39、ed in TS 23.040 3. ETSI ETSI TS 131 115 V13.0.0 (2016-02)73GPP TS 31.115 version 13.0.0 Release 13However, in the case of a Response Packet originating from the UICC, due to the inability of the UICC to indicate to a ME that the UDHI bit should be set, the Response Packet SMS will not have the UDHI
40、bit set, and the Sending Entity shall treat the Response Packet as if the UDHI bit was set. The generalised structure of the UDH in the Short Message element is contained in the User Data part of the Short Message element and is described in TS 23.040 3. The Command Packet and the Response Packet ar
41、e partially mapped into this UDH structure. Information Element Identifiers (IEIs) values range 70 7F are reserved in TS 23.040 3 for use in the present document and allocated as follows: - 70 and 71 are specified in the present document - values 72 7D are reserved for future use - 7E and 7F are for
42、 proprietary implementations. If a Response Packet (Response Header + Data) is too large to be contained in a single Short Message (including the Response Header), it shall be concatenated according to TS 23.040 3. If it is indicated in the SPI2 of a Command Packet to send back a PoR using SMS-DELIV
43、ER-REPORT and if the Response Packet is too large to be contained in a single SMS-DELIVER-REPORT TP element, then: - One single Response Packet shall be sent back to the SE using SMS-DELIVER-REPORT. This Response Packet: - Shall not contain any additional response data. - Shall contain the Response
44、Status Code set to “Actual response data to be sent using SMS-SUBMIT“. - The security applied to this Response Packet shall follow the coding and rules as defined in ETSI TS 102 225 9. - This shall be followed by a complete Response Packet, contained in one SMS-SUBMIT element or in a concatenated Sh
45、ort Message composed of several SMS-SUBMIT elements. 4.2 Structure of the Command Packet contained in a Single Short Message Point to Point CPI identifies the Command Packet and indicates that the first portion of the SM (8 bit data) contains the Command Packet Length (CPL), the Command Header Lengt
46、h (CHL) followed by the remainder of the Command Header: the Secured Data follows on immediately as the remainder of the SM element. The relationship between the Command Packet and its inclusion in the UDH structure of a single Short Message defined in TS 23.040 3 is as following: - CPI is mapped to
47、 IEIa defined in TS 23.040 3 and shall be set to 70. - IEDa defined in TS 23.040 3 shall be a null field and its length IEIDLa shall be set to 00. The following Table 1 indicates the Command Packet contained in a single SMS-PP. It is a particular implementation for single SMS-PP of the generic Comma
48、nd Packet structure described in ETSI TS 102 225 9. ETSI ETSI TS 131 115 V13.0.0 (2016-02)83GPP TS 31.115 version 13.0.0 Release 13Table 1: Structure of the Command Packet contained in the SM (8 bit data) Command Packet Elements Length Description Command Packet Length 2 octets (see NOTE) Length of
49、the Command Packet (CPL), coded over 2 octets, and shall not be coded as the length of BER-TLV data objects described in ETSI TS 101 220 5. Command Header Identifier Null field (CHI) Null field. Command Header Length 1 octet Length of the Command Header (CHL), coded over one octet, and shall not be coded as the length of BER-TLV data objects described in ETSI TS 101 220 5. SPI to RC/CC/DS in the Command Header Variable The remainder of the Command Header as described in ETSI TS 102