ETSI TS 103 115-2015 Smart Cards Test specification for UICC Application Programming Interface for Java Card for Contactless Applications Test Environment and Annexes (V9 4 0 Relea.pdf

上传人:cleanass300 文档编号:739802 上传时间:2019-01-11 格式:PDF 页数:105 大小:601.67KB
下载 相关 举报
ETSI TS 103 115-2015 Smart Cards Test specification for UICC Application Programming Interface for Java Card for Contactless Applications Test Environment and Annexes (V9 4 0 Relea.pdf_第1页
第1页 / 共105页
ETSI TS 103 115-2015 Smart Cards Test specification for UICC Application Programming Interface for Java Card for Contactless Applications Test Environment and Annexes (V9 4 0 Relea.pdf_第2页
第2页 / 共105页
ETSI TS 103 115-2015 Smart Cards Test specification for UICC Application Programming Interface for Java Card for Contactless Applications Test Environment and Annexes (V9 4 0 Relea.pdf_第3页
第3页 / 共105页
ETSI TS 103 115-2015 Smart Cards Test specification for UICC Application Programming Interface for Java Card for Contactless Applications Test Environment and Annexes (V9 4 0 Relea.pdf_第4页
第4页 / 共105页
ETSI TS 103 115-2015 Smart Cards Test specification for UICC Application Programming Interface for Java Card for Contactless Applications Test Environment and Annexes (V9 4 0 Relea.pdf_第5页
第5页 / 共105页
点击查看更多>>
资源描述

1、 ETSI TS 103 115 V9.4.0 (2015-04) Smart Cards; Test specification for UICC Application Programming Interface for Java Card for Contactless Applications; Test Environment and Annexes (Release 9) floppy3TECHNICAL SPECIFICATION ETSI ETSI TS 103 115 V9.4.0 (2015-04)2Release 9Reference RTS/SCP-00HCI_API_

2、TESTv940 Keywords API, NFC, Smart Card, testing 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-Prfecture de Grasse (06) N 7803/88 Important notice

3、 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 modified without the prior written authorizati

4、on 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. Users of the present document should be awa

5、re 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/status/status.asp If you find errors in the present document, please send your comment to one of the following services: ht

6、tps:/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 permission of ETSI. The content of the PDF version shall not

7、be modified without the written authorization of ETSI. The copyright and the foregoing restriction extend to reproduction in all media. European Telecommunications Standards Institute 2015. All rights reserved. DECTTM, PLUGTESTSTM, UMTSTMand the ETSI logo are Trade Marks of ETSI registered for the b

8、enefit 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 103 115 V9.4.0 (2015-04)3Release 9Contents Intellectual Prop

9、erty Rights 7g3Foreword . 7g3Modal verbs terminology 7g31 Scope 8g32 References 8g32.1 Normative references . 8g32.2 Informative references 9g33 Definitions, symbols and abbreviations . 9g33.1 Definitions 9g33.2 Symbols 9g33.3 Abbreviations . 10g33.4 Formats . 10g33.4.1 Format of the table of option

10、al features 10g33.4.2 Format of the applicability table . 11g33.4.3 Status and Notations . 11g34 Applicability . 12g34.1 Table of optional features . 12g34.2 Applicability table 12g34.3 Information provided by the device supplier 15g34.4 Execution requirements 15g35 Test environment 16g35.1 Test env

11、ironment description . 16g35.2 Tests format 16g35.2.1 Test area reference 16g35.2.1.1 Conformance requirements . 17g35.2.1.2 Test suite files . 17g35.2.1.3 Initial conditions . 17g35.2.1.4 Test procedure . 17g35.3 Initial conditions . 18g35.4 Package name . 18g35.5 AID coding . 18g35.6 Test equipmen

12、t . 19g35.6.1 Test tool 19g35.6.2 Java Software Development Kit . 20g36 Test cases 20g36.1 Package uicc.hci.framework . 20g36.1.1 Class HCIDevice 20g36.1.1.1 Method getHCIService 20g36.1.1.1.1 Conformance requirements 20g36.1.1.1.2 Test suite files 20g36.1.1.1.3 Initial conditions 20g36.1.1.1.4 Test

13、 procedure . 21g36.1.1.2 Method getPowerMode . 22g36.1.1.2.1 Conformance requirements 22g36.1.1.2.2 Test suite files 22g36.1.1.2.3 Initial conditions 22g36.1.1.2.4 Test procedure . 23g36.1.1.3 Method isHCIServiceAvailable 23g36.1.1.3.1 Conformance requirements 23g36.1.1.3.2 Test suite files 24g36.1.

14、1.3.3 Initial conditions 24g36.1.1.3.4 Test procedure . 24g36.1.2 Interface HCIService 26g36.1.2.1 Method register . 26g3ETSI ETSI TS 103 115 V9.4.0 (2015-04)4Release 96.1.2.1.1 Conformance requirements 26g36.1.2.1.2 Test suite files 26g36.1.2.1.3 Initial conditions 26g36.1.2.1.4 Test procedure . 27

15、g36.1.2.2 Method deregister . 28g36.1.2.2.1 Conformance requirements 28g36.1.2.2.2 Test Suite Files 28g36.1.2.2.3 Initial conditions 28g36.1.2.2.4 Test procedure . 28g36.1.2.3 Method activateEvent 29g36.1.2.3.1 Conformance requirements 29g36.1.2.3.2 Test Suite Files 30g36.1.2.3.3 Initial conditions

16、30g36.1.2.3.4 Test procedure . 31g36.1.2.4 Method deactivateEvent 33g36.1.2.4.1 Conformance requirements 33g36.1.2.4.2 Test suite files 34g36.1.2.4.3 Initial conditions 34g36.1.2.4.4 Test procedure . 35g36.1.2.5 Method requestCallbackNotification 38g36.1.2.5.1 Conformance requirements 38g36.1.2.5.2

17、Test Suite Files 38g36.1.2.5.3 Initial conditions 38g36.1.2.5.4 Test procedure . 38g36.1.2.6 Method getEventNotificationStatus 39g36.1.2.6.1 Conformance requirements 39g36.1.2.6.2 Test Suite Files 39g36.1.2.6.3 Initial conditions 39g36.1.2.6.4 Test procedure . 40g36.1.3 Interface HCIMessage 43g36.1.

18、3.1 Method isHeading . 43g36.1.3.1.1 Conformance requirements 43g36.1.3.1.2 Test Suite Files 43g36.1.3.1.3 Initial conditions 43g36.1.3.1.4 Test procedure . 44g36.1.3.2 Method isComplete . 44g36.1.3.2.1 Conformance requirements 44g36.1.3.2.2 Test suite files 44g36.1.3.2.3 Initial condition . 44g36.1

19、.3.2.4 Test procedure . 44g36.1.3.3 Method getType 45g36.1.3.3.1 Conformance requirements 45g36.1.3.3.2 Test Suite Files 45g36.1.3.3.3 Initial condition . 45g36.1.3.3.4 Test procedure . 46g36.1.3.4 Method getInstruction . 46g36.1.3.4.1 Conformance requirements 46g36.1.3.4.2 Test Suite Files 46g36.1.

20、3.4.3 initial condition 46g36.1.3.4.4 Test procedure . 47g36.1.3.5 Method getReceiveOffset 47g36.1.3.5.1 Conformance requirements 47g36.1.3.6 Method getReceiveLength 47g36.1.3.6.1 Conformance requirements 47g36.1.3.6.2 Test Suite Files 48g36.1.3.6.3 Initial condition . 48g36.1.3.6.4 Test procedure .

21、 48g36.1.3.7 Method getReceiveBuffer . 48g36.1.3.7.1 Conformance requirements 48g36.1.3.7.2 Test suite files 49g36.1.3.7.3 Initial condition . 49g36.1.3.7.4 Test procedure . 49g3ETSI ETSI TS 103 115 V9.4.0 (2015-04)5Release 96.1.4 Class HCIException 49g36.1.4.1 Method throwIt . 49g36.1.4.1.1 Conform

22、ance requirements 49g36.1.4.1.2 Test suite files 49g36.1.4.1.3 Initial conditions 49g36.1.4.1.4 Test procedure . 50g36.1.5 Interface HCIListener . 50g36.1.5.1 Method onCallback . 50g36.1.5.1.1 Conformance requirements 50g36.1.5.1.2 Test Suite Files 51g36.1.5.1.3 Initial conditions 51g36.1.5.1.4 Test

23、 procedure . 52g36.2 Package uicc.hci.services . 53g36.2.1 Package CardEmulation Service . 53g36.2.1.1 Interface CardEmulationMessage . 53g36.2.1.1.1 Method prepareAndSendGetParameterCommand 53g36.2.1.1.2 Method prepareAndSendSendDataEvent 56g36.2.1.1.2.3 Initial conditions 57g36.2.1.1.3 Method sele

24、ctingMessage 58g36.2.1.1.3.3 Initial conditions 58g36.2.1.2 Interface CardEmulationService . 59g36.2.1.2.1 Method getCardRFType 59g36.2.1.2.2 Test Suite Files 59g36.2.1.2.3 Initial conditions 59g36.2.1.3 Interface CardEmulationListener 60g36.2.1.3.1 Method onCallback . 60g36.2.2 Package Connectivity

25、 Service. 63g36.2.2.1 Interface ConnectivityService . 63g36.2.2.1.1 Method prepareAndSendConnectivityEvent . 63g36.2.2.1.2 Method prepareAndSendTransactionEvent(byte aid, short aidOffset, short aidLen, byte parameters, short parametersOffset, short parametersLen) . 67g36.2.2.1.3 Method prepareAndSen

26、dTransactionEvent (byte parameters, short parametersOffset, short parametersLen) 71g36.2.3 Package Reader Service 74g36.2.3.1 Interface ReaderMessage 74g36.2.3.1.1 Method restartReaderModeProcedure . 74g36.2.3.1.2 Method prepareAndSendWriteXchgDataCommand . 77g36.2.3.1.3 Method prepareAndSendGetPara

27、meterCommand 82g36.2.3.2 Interface ReaderListener . 86g36.2.3.2.1 Method onCallback . 86g3Annex A (normative): Class, methods and tests acronyms 89g3A.1 HCI framework 89g3A.1.1 Class HCIDevice 89g3A.1.2 Interface HCIService 89g3A.1.3 Interface HCIMessage 89g3A.1.4 Interface HCIListener . 89g3A.1.5 C

28、lass HCIException . 89g3A.2 HCI Services 90g3A.2.1 Package cardemulation . 90g3A.2.1.1 Interface CardEmulationListener 90g3A.2.1.2 Interface CardEmulationMessage . 90g3A.2.1.3 Interface CardEmulationService . 90g3A.2.2 Package connectivity 90g3A.2.2.1 Interface ConnectivityListener 90g3A.2.2.2 Inter

29、face ConnectivityMessage . 90g3A.2.2.3 Interface ConnectivityService . 90g3A.2.3 Readermode 90g3A.2.3.1 Interface RaederListener . 90g3A.2.3.2 Interface ReaderMessage 91g3A.2.3.3 Interface ReaderService 91g3ETSI ETSI TS 103 115 V9.4.0 (2015-04)6Release 9Annex B (normative): AIDs - to be reserved . 9

30、2g3B.1 Package HCI framework 92g3B.1.1 Class HCIDevice 92g3B.1.2 Interface HCIService 92g3B.1.3 Interface HCIMessage 93g3B.1.4 Interface HCIListener . 93g3B.1.5 Class HCIException . 93g3B.2 HCI Services 93g3B.2.1 Package cardemulation . 93g3B.2.1.1 Interface CardEmulationListener 93g3B.2.1.2 Interfa

31、ce CardEmulationMessage . 94g3B.2.1.3 Interface CardEmulationService . 94g3B.2.2 Package connectivity 94g3B.2.2.1 Interface ConnectivityListener 94g3B.2.2.2 Interface ConnectivityMessage . 94g3B.2.2.3 Interface ConnectivityService . 95g3B.2.3 Package readermode . 95g3B.2.3.1 Interface ReaderMessage

32、95g3B.2.3.2 Interface ReaderListener . 95g3B.2.3.3 Interface ReaderService 96g3Annex C (normative): Requirements . 97g3C.1 Non-occurrence and out-of-scope requirements 97g3C.1.1 Package uicc.hci . 97g3C.1.2 ETSI TS 102 705 prose part . 97g3C.2 FFS requirements . 97g3C.2.1 Package uicc.hci . 97g3C.2.

33、2 ETSI TS 102 705 prose part . 98g3Annex D (normative): Test Specification for Java Card Platform HCI API for the UICC 99g3Annex E (normative): Void . 100g3Annex F (informative): Void . 101g3Annex G (informative): Core specification version information 102g3Annex H (informative): Change history . 10

34、3g3History 105g3ETSI ETSI TS 103 115 V9.4.0 (2015-04)7Release 9Intellectual 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-membe

35、rs, 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 (http:/ipr.etsi.org). Pursuant to

36、 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.

37、Foreword This Technical Specification (TS) has been produced by ETSI Technical Committee Smart Card Platform (SCP). The contents of the present document are subject to continuing work within TC SCP and may change following formal TC SCP approval. If TC SCP modifies the contents of the present docume

38、nt, it will then be republished by ETSI with an identifying change of release date and an increase in version number as follows: Version x.y.z where: x the first digit: 0 early working draft; 1 presented to TC SCP for information; 2 presented to TC SCP for approval; 3 or greater indicates TC SCP app

39、roved document under change control. y the second digit is incremented for all changes of substance, i.e. technical enhancements, corrections, updates, etc. z the third digit is incremented when editorial only changes have been incorporated in the document. Modal verbs terminology In the present doc

40、ument “shall“, “shall not“, “should“, “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

41、 when used in direct citation. ETSI ETSI TS 103 115 V9.4.0 (2015-04)8Release 91 Scope The present document covers the minimum characteristics considered necessary in order to provide compliance to ETSI TS 102 705 1. It specifies conformance test cases for the UICC Application Programming Interface f

42、or Java Card for contactless Applications. 2 References 2.1 Normative references References are either specific (identified by date of publication and/or edition number or version number) or non-specific. For specific references, only the cited version applies. For non-specific references, the lates

43、t version of the reference document (including any amendments) applies. In the case of a reference to a TC SCP document, a non specific reference implicitly refers to the latest version of that document in the same Release as the present document. Referenced documents which are not found to be publi

44、cly available in the expected location might be found at http:/docbox.etsi.org/Reference. NOTE: While any hyperlinks included in this clause were valid at the time of publication, ETSI cannot guarantee their long term validity. The following referenced documents are necessary for the application of

45、the present document. 1 ETSI TS 102 705: “Smart Cards; UICC Application Programming Interface for Java Card for Contactless Applications“. 2 ISO/IEC 7816-3: “Identification cards - Integrated circuit cards - Part 3: Cards with contacts - Electrical interface and transmission protocols“. 3 ETSI TS 10

46、2 622: “Smart Cards; UICC - Contactless Front-end (CLF) Interface; Host Controller Interface (HCI)“. 4 ETSI TS 101 220: “Smart Cards; ETSI numbering system for telecommunication application providers“. 5 ETSI TS 102 221: “Smart Cards; UICC-Terminal interface; Physical and logical characteristics“. 6

47、 ETSI TS 102 241: “Smart Cards; UICC Application Programming Interface (UICC API) for Java Card (TM)“. 7 ETSI TS 102 223: “Smart Cards; Card Application Toolkit (CAT)“. 8 ISO/IEC 9646-7: “Information technology - Open Systems Interconnection - Conformance testing methodology and framework - Part 7:

48、Implementation Conformance Statements“. 9 ETSI TS 102 226: “Smart Cards; Remote APDU structure for UICC based applications“. 10 GlobalPlatform: “GlobalPlatform Card Specification Version 2.2, Amendment C: Contactless Services“ Version 1.0. NOTE: See http:/www.globalplatform.org/. 11 Sun Microsystems

49、 “Application Programming Interface, Java Card Platform, 3.0.1 Classic Edition“. 12 Sun Microsystems “Runtime Environment Specification, Java Card Platform, 3.0.1 Classic Edition“. ETSI ETSI TS 103 115 V9.4.0 (2015-04)9Release 913 Sun Microsystems “Virtual Machine Specification Java Card Platform, 3.0.1 Classic Edition“. NOTE: SUN Java Card Specifications can be downloaded at http:/ 14 ETSI TS 102 613: “Smart Cards; UICC - Contactless Front-end (CLF) Int

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

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

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