ETSI TS 131 213-2017 Universal Mobile Telecommunications System (UMTS) LTE Test specification for (U)SIM Application Programming Interface (API) for Java Card (V14 0 0 3GPP TS 31 2.pdf

上传人:赵齐羽 文档编号:742747 上传时间:2019-01-11 格式:PDF 页数:189 大小:715.23KB
下载 相关 举报
ETSI TS 131 213-2017 Universal Mobile Telecommunications System (UMTS) LTE Test specification for (U)SIM Application Programming Interface (API) for Java Card (V14 0 0 3GPP TS 31 2.pdf_第1页
第1页 / 共189页
ETSI TS 131 213-2017 Universal Mobile Telecommunications System (UMTS) LTE Test specification for (U)SIM Application Programming Interface (API) for Java Card (V14 0 0 3GPP TS 31 2.pdf_第2页
第2页 / 共189页
ETSI TS 131 213-2017 Universal Mobile Telecommunications System (UMTS) LTE Test specification for (U)SIM Application Programming Interface (API) for Java Card (V14 0 0 3GPP TS 31 2.pdf_第3页
第3页 / 共189页
ETSI TS 131 213-2017 Universal Mobile Telecommunications System (UMTS) LTE Test specification for (U)SIM Application Programming Interface (API) for Java Card (V14 0 0 3GPP TS 31 2.pdf_第4页
第4页 / 共189页
ETSI TS 131 213-2017 Universal Mobile Telecommunications System (UMTS) LTE Test specification for (U)SIM Application Programming Interface (API) for Java Card (V14 0 0 3GPP TS 31 2.pdf_第5页
第5页 / 共189页
点击查看更多>>
资源描述

1、 ETSI TS 1Universal Mobile TelTest spApplication Programm(3GPP TS 31.2floppy3TECHNICAL SPECIFICATION131 213 V13.1.0 (2017elecommunications System (LTE; specification for (U)SIM; mming Interface (API) for Java.213 version 13.1.0 Release 1317-01) (UMTS); va Card 13) ETSI ETSI TS 131 213 V13.1.0 (2017-

2、01)13GPP TS 31.213 version 13.1.0 Release 13Reference RTS/TSGC-0631213vd10 Keywords 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 00017 - NAF 742 C Association but non lucratif enregistre la Sous-Prfect

3、ure 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 any electronic and/or print versions of the present document shall not be m

4、odified 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 Format (PDF) version kept on a specific network drive within ETSI Secretariat

5、. 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 https:/portal.etsi.org/TB/ETSIDeliverableStatus.aspx If you find errors in the present document, please

6、 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 photocopying and microfilm except as authorized by written permis

7、sion 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 Institute 2017. All rights reserved. DECTTM, PLUGTESTSTM, UMTSTMand the

8、 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 registered and owned by the GSM Association. ETSI ETSI TS 131 2

9、13 V13.1.0 (2017-01)23GPP TS 31.213 version 13.1.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, if any, is publicly available for ETSI members and non-members

10、, 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 available on the ETSI Web server (https:/ipr.etsi.org/). Pursuant to

11、 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, or may be, or may become, essential to the present document.

12、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 identities. These should be interpreted as being references to the

13、 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“, “should not“, “may“, “need not“, “will“, “will not“, “can“ and

14、 “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 ETSI TS 131 213 V13.1.0 (2017-01)33GPP TS 31.213 version 13.1.0

15、Release 13Contents Intellectual Property Rights 2g3Foreword . 2g3Modal verbs terminology 2g3Foreword . 6g31 Scope 7g32 References 7g33 Definitions, symbols and abbreviations . 8g33.1 Definitions 8g33.2 Abbreviations . 8g34 Test environment 9g34.1 Applicability . 9g34.2 Test environment description .

16、 9g34.3 Tests format 10g34.3.1 Test area reference 10g34.3.1.1 Conformance requirements . 10g34.3.1.2 Test area files 11g34.3.1.3 Test procedure . 11g34.3.1.4 Test coverage 11g34.4 Initial conditions . 11g34.5 Package name . 11g34.6 AID coding . 12g34.7 Test equipment . 13g34.7.1 Test tool 13g34.7.2

17、 Interfaces and classes use . 13g34.7.3 Util package 13g34.7.4 Java Software Development kit version 13g35 Test plan . 13g35.1 Package uicc.usim.access package . 13g35.1.1 Interface SIMConstants 13g35.1.2 Interface USIMConstants . 14g35.2 Package uicc.usim.toolkit package . 14g35.2.1 Interface Toolk

18、itConstants 14g35.2.2 Interface USATEnvelopeHandler . 14g35.2.2.1 Method getSecuredDataLength . 14g35.2.2.2 Method getSecuredDataOffset 18g35.2.2.3 Method getShortMessageLength . 21g35.2.2.4 Method getShortMessageOffset 24g35.2.2.5 Method getTPUDLOffset 28g35.2.2.6 Method getUserDataLength 30g35.2.2

19、.7 Method getItemIdentifier 33g35.2.2.8 Method getChannelIdentifier 34g35.2.2.9 Method getChannelStatus . 37g35.2.2.10 Method getSize . 39g35.2.2.11 Method getTag 40g35.2.2.12 Method compareValue 41g35.2.2.13 Method copy . 43g35.2.2.14 Method copyValue 45g35.2.2.15 Method findAndCompareValue(byte ta

20、g, byte compareBuffer, short compareOffset) 48g35.2.2.16 Method findAndCompareValue(byte tag, byte occurrence, short valueOffset, byte compareBuffer, short compareOffset, short compareLength) . 50g35.2.2.17 Method findAndCopyValue(byte tag, byte dstBuffer, short dstOffset) 53g3ETSI ETSI TS 131 213 V

21、13.1.0 (2017-01)43GPP TS 31.213 version 13.1.0 Release 135.2.2.18 Method findAndCopyValue(byte tag, byte occurrence, short valueOffset, byte dstBuffer, short dstOffset, short dstLength) 55g35.2.2.19 Method findTLV . 58g35.2.2.20 Method getCapacity 60g35.2.2.21 Method getLength . 61g35.2.2.22 Method

22、getValueByte . 62g35.2.2.23 Method getValueLength 63g35.2.2.24 Method getValueShort 64g35.2.3 Interface USATTerminalProfile . 65g35.2.4 Class USATEnvelopeHandlerSystem . 65g35.2.4.1 Method getTheHandler . 65g35.2.5 Interface ToolkitRegistry 66g35.2.5.1 Method clearEvent 66g35.2.5.2 Method isEventSet

23、 68g35.2.5.3 Method setEvent . 69g35.2.5.4 Method setEventList . 71g35.3 (U)SAT Framework . 75g35.3.1 Minimum handler availability. 75g35.3.1.1 ProactiveHandler . 75g35.3.1.2 ProactiveResponseHandler . 80g35.3.1.3 EnvelopeHandler . 90g35.3.1.4 EnvelopeResponseHandler . 93g35.3.1.5 USATEnvelopeHandle

24、r 102g35.3.1.6 Applet triggering with ongoing proactive session . 105g35.3.2 Handler integrity . 110g35.3.2.1 ProactiveResponseHandler . 110g35.3.2.2 EnvelopeHandler . 111g35.3.2.3 USATEnvelopeHandler 122g35.3.3 Exception handling . 139g35.3.3.1 General Behaviour 139g35.3.3.2 Interaction with Multip

25、le Triggering . 141g35.3.4 Applet triggering. 142g35.3.4.1 EVENT_FORMATTED_SMS_PP_ENV . 142g35.3.4.2 EVENT_UNFORMATTED_SMS_PP_ENV . 144g35.3.4.3 EVENT_FORMATTED_SMS_PP_UPD . 146g35.3.4.4 EVENT_UNFORMATTED_SMS_PP_UPD . 148g35.3.4.5 EVENT_FORMATTED_SMS_CB 151g35.3.4.6 EVENT_UNFORMATTED_SMS_CB 152g35.3

26、.4.7 EVENT_FORMATTED_USSD . 153g35.3.4.7.1 Conformance requirement . 153g35.3.4.7.2 Test area files . 154g35.3.4.7.3 Test coverage. 154g35.3.4.7.4 Test coverage . 154g35.3.4.8 EVENT_UNFORMATTED_USSD . 155g35.3.4.8.1 Conformance requirement . 155g35.3.4.8.2 Test area files . 155g35.3.4.8.3 Test cover

27、age. 155g35.3.4.8.4 Test procedure . 155g35.3.5 Envelope response posting 156g35.3.5.1 EVENT_MO_SHORT_MESSAGE_CONTROL_BY_SIM 156g35.3.6 Toolkit installation 158g35.3.6.1 Minimum security level 158g35.3.6.2 TAR. 160g35.3.6.3 Access domain 163g35.3.7 Other parts transferred to (U)SAT framework from AP

28、I 164g35.3.7.1 A handler is a temporary JCRE Entry Point object . 164g35.3.8 Framework security management . 165g35.3.8.1 Input data 166g35.3.8.2 Output data 173g35.3.9 Concatenated SMS 174g35.3.9.1 Concatenation processing 174g35.3.9.2 Test area files 175g3ETSI ETSI TS 131 213 V13.1.0 (2017-01)53GP

29、P TS 31.213 version 13.1.0 Release 135.3.9.3 Test coverage 175g35.3.9.4 Test procedure . 175g35.3.10 Cell Broadcast Service 177g35.3.10.1 Multiple message reassembling 177g35.3.10.2 Test area files 177g35.3.10.3 Test coverage 177g35.3.11 Concatenated USSD . 178g35.3.11.1 Concatenation processing 178

30、g35.3.11.2 Test area files 179g35.3.11.3 Test coverage 179g35.3.11.4 Test procedure . 179g3Annex A (normative): Class, methods and USATFramework tests acronyms. 181g3A.1 Toolkit part . 181g3A.1.1 USATEnvelopeHandler interface . 181g3A.1.2 USATEnvelopeHandlerSystem method . 181g3A.1. 3 ToolkitRegistr

31、y methods 182g3A.2 Acronyms for USATFramework tests 182g3A.2.1 Minimum handler availability 182g3A.2.2 Handler integrity 182g3A.2.3 Applet triggering 182g3A.2.4 Exception handling . 182g3A.2.5 Envelope response posting . 183g3A.2.6 Toolkit installation . 183g3A.2.7 Other parts transferred from API t

32、o CAT RE . 183g3A.2.8 Framework security 183g3A.2.9 Concatenated SMS . 183g3A.2.10 Cell Broadcast Service . 183g3Annex B (normative): Global prepersonalization . 184g3Annex C (normative): Test file description 185g3Annex D (normative): uicc.usim.test.util package, (U)SIM interfaces and testing scrip

33、t example . 186g3Annex E (normative): Test Area files . 187g3Annex F (informative): Change history . 188g3History 189g3ETSI ETSI TS 131 213 V13.1.0 (2017-01)63GPP TS 31.213 version 13.1.0 Release 13Foreword This Technical Specification has been produced by the 3rdGeneration Partnership Project (3GPP

34、). 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 identifying change of release date and an increase in version numb

35、er 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 substance, i.e. technical enhancements, corrections, upd

36、ates, etc. z the third digit is incremented when editorial only changes have been incorporated in the document. ETSI ETSI TS 131 213 V13.1.0 (2017-01)73GPP TS 31.213 version 13.1.0 Release 131 Scope The present document covers the minimum characteristics considered necessary in order to provide comp

37、liance to TS 31.130 2. The present document describes the technical characteristics and methods of test for testing the (U)SIM API for Java CardTM(TS 31.130 2) implemented in the (U)SIM. It specifies the following parts: - test applicability; - test environment description; - tests format; - test ar

38、ea reference; - conformance requirements; - test suite files; - test procedure; - test coverage; and - a description of the associated testing tools that shall be used. 2 References The following documents contain provisions which, through reference in this text, constitute provisions of the present

39、 document. References are either specific (identified by date of publication, edition number, version number, etc.) 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 (i

40、ncluding a GSM document), a non-specific reference implicitly refers to the latest version of that document in the same Release as the present document. 1 ETSI TS 101 220: “Integrated Circuit Cards (ICC); ETSI numbering system for telecommunication; Application providers (AID)“. 2 3GPP TS 31 130 Rel

41、ease 6: “(U)SIM API for Java Card“ 3 Void. 4 3GPP TS 31.102: “Characteristics of the USIM Application“. 5 3GPP TS 51.011 Release 4: “Specification of the Subscriber Identity Module- Mobile Equipment (SIM ME) interface“. 6 3GPP TS 23.041: “Technical realization of Cell Broadcast Service (CBS)“. 7 Voi

42、d. 8 3GPP TS 31.111: “USIM Application Toolkit (USAT)“. 9 Void. 10 3GPP TS 31.115: “Secured packet structure for the (U)SIM Toolkit applications“. 11 3GPP TS 23.040: “Technical realization of the Short Message Service (SMS)“. ETSI ETSI TS 131 213 V13.1.0 (2017-01)83GPP TS 31.213 version 13.1.0 Relea

43、se 1312 Sun Microsystems Java Card Specification: “Java Card 2.2.1 Application Programming Interface“. 13 Sun Microsystems Java Card Specification: “Java Card 2.2.1 Runtime Environment (JCRE) Specification“. 14 Sun Microsystems Java Card Specification: “Java Card 2.2.1 Virtual Machine Specification“

44、. SUN Java Card Specifications can be downloaded at http:/ 15 ETSI TS 102 268 V6.1.0: “Test specification for UICC Application Programming Interface for Java Card (TM) “. 16 3GPP TR 21.905: “Vocabulary for 3GPP Specifications“. 3 Definitions, symbols and abbreviations 3.1 Definitions For the purpose

45、s of the present document, the terms and definitions given in TR 21.905 16 and the following apply. A term defined in the present document takes precedence over the definition of the same term, if any, in TR 21.905 16. applet installation parameters: values for applet installation parameters Conform

46、ance Requirement Reference (CRR): description of the expected card behaviour according to TS 31.130 2 expected state: state in which the (U)SIM is supposed to be after the execution of the test procedure applied on the relevant initial conditions security parameters: minimum security requirements de

47、fined for the applet installation process test area: set of Test Cases applicable to a specific part (class method, CAT RE behaviour, etc) of the TS 31.130 2. test case: elementary test that checks for compliance with one or more Conformance Requirement References test procedure: sequence of actions

48、/commands to perform all the test cases defined in a test area test source file: java file containing methods that will load and install test applet in the card, execute and verify the test results, and restore the Default Initial Conditions on the (U)SIM (when possible). test toolkit applet: applet

49、 designed to test a specific functionality of the USIM API (TS 31.130 2) 3.2 Abbreviations For the purposes of the present document, the abbreviations given in TR 21.905 16 and the following apply. An abbreviation defined in the present document takes precedence over the definition of the same abbreviation, if any, in TR 21.905 16. AID Application IDentifier APDU Application Protocol Data Unit API Application Programming Interface CAT RE Card Application Toolkit Runtime E

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 标准规范 > 国际标准 > 其他

copyright@ 2008-2019 麦多课文库(www.mydoc123.com)网站版权所有
备案/许可证编号:苏ICP备17064731号-1