1、 ETSI TS 102 268 V7.0.0 (2015-04) Smart Cards; Test specification for the UICC Application Programming Interface (API) for Java CardTM(Release 7) floppy3TECHNICAL SPECIFICATION ETSI ETSI TS 102 268 V7.0.0 (2015-04)2Release 7Reference RTS/SCP-T005v700 Keywords API, smart card, testing ETSI 650 Route
2、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 The present document can be downloaded from: http:/www.etsi.or
3、g/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 authorization of ETSI. In case of any existing or perceived difference in
4、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 aware that the document may be subject to revision or change of st
5、atus. 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: https:/portal.etsi.org/People/CommiteeSupportStaff.aspx Copyright
6、 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 be modified without the written authorization of ETSI. The copy
7、right 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 benefit of its Members. 3GPPTM and LTE are Trade Marks of ETSI r
8、egistered 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 102 268 V7.0.0 (2015-04)3Release 7Contents Intellectual Property Rights 29g3Foreword . 29g3Modal verbs terminology 29g31 Sc
9、ope 30g32 References 30g32.1 Normative references . 30g32.2 Informative references 31g33 Definitions and abbreviations . 31g33.1 Definitions 31g33.2 Abbreviations . 32g34 Test environment 33g34.1 Applicability . 33g34.2 Test environment description . 33g34.3 Tests format 33g34.3.1 Test area referenc
10、e 33g34.3.1.1 Conformance requirements . 34g34.3.1.2 Test area files 34g34.3.1.3 Test coverage 35g34.3.1.4 Test procedure . 35g34.4 Initial conditions . 35g34.5 Package name . 35g34.6 AID Coding 36g34.7 Test equipment . 37g34.7.1 Test tool 37g34.7.2 Interfaces and classes use . 37g34.7.3 Util packag
11、e 37g34.7.4 Java Software Development kit version 37g35 Test plan . 38g35.1 Package uicc.access 38g35.1.1 Interface FileView 38g35.1.1.1 Method activateFile . 38g35.1.1.1.1 Conformance requirement . 38g35.1.1.1.2 Test area files . 38g35.1.1.1.3 Test coverage. 38g35.1.1.1.4 Test procedure . 39g35.1.1
12、.2 Method deactivateFile . 39g35.1.1.2.1 Conformance requirement . 39g35.1.1.2.2 Test area files . 40g35.1.1.2.3 Test coverage. 40g35.1.1.2.4 Test procedure . 40g35.1.1.3 Method increase 40g35.1.1.3.1 Conformance requirement . 41g35.1.1.3.2 Test area files . 42g35.1.1.3.3 Test coverage. 42g35.1.1.3.
13、4 Test procedure . 42g35.1.1.4 Method readBinary 45g35.1.1.4.1 Conformance requirement . 45g35.1.1.4.2 Test area files . 46g35.1.1.4.3 Test coverage. 46g35.1.1.4.4 Test procedure . 46g35.1.1.5 Method readRecord. 47g35.1.1.5.1 Conformance requirement . 48g35.1.1.5.2 Test area files . 49g35.1.1.5.3 Te
14、st coverage. 49g3ETSI ETSI TS 102 268 V7.0.0 (2015-04)4Release 75.1.1.5.4 Test procedure . 50g35.1.1.6 Method searchRecord 53g35.1.1.6.1 Conformance requirement . 53g35.1.1.6.2 Test area files . 55g35.1.1.6.3 Test coverage. 55g35.1.1.6.4 Test procedure . 56g35.1.1.7 Method select (byte sfi) . 66g35.
15、1.1.7.1 Conformance requirement . 66g35.1.1.7.2 Test area files . 67g35.1.1.7.3 Test coverage. 67g35.1.1.7.4 Test procedure . 67g35.1.1.8 Method select (short fid) . 68g35.1.1.8.1 Conformance requirement . 68g35.1.1.8.2 Test area files . 69g35.1.1.8.3 Test coverage. 69g35.1.1.8.4 Test procedure . 69
16、g35.1.1.9 Method select(short fid, byte fcp, short fcpOffset, short fcpLength) . 70g35.1.1.9.1 Conformance requirement . 70g35.1.1.9.2 Test area files . 72g35.1.1.9.3 Test coverage. 72g35.1.1.9.4 Test procedure . 72g35.1.1.10 Method status 75g35.1.1.10.1 Conformance requirement . 75g35.1.1.10.2 Test
17、 area files . 76g35.1.1.10.3 Test coverage . 76g35.1.1.10.4 Test procedure . 76g35.1.1.11 Method updateBinary 77g35.1.1.11.1 Conformance requirement . 77g35.1.1.11.2 Test area files . 78g35.1.1.11.3 Test coverage . 78g35.1.1.11.4 Test procedure . 79g35.1.1.12 Method updateRecord . 80g35.1.1.12.1 Con
18、formance requirement . 80g35.1.1.12.2 Test area files . 82g35.1.1.12.3 Test coverage . 82g35.1.1.12.4 Test procedure . 83g35.1.2 Interface UICCConstants 87g35.1.3 Interface UICCSystem 87g35.1.3.1 Method getTheUICCView 87g35.1.3.1.1 Conformance requirement: 87g35.1.3.1.2 Test area files . 88g35.1.3.1
19、.3 Test coverage. 88g35.1.3.1.4 Test procedure . 88g35.1.3.2 Method getTheFileView . 91g35.1.3.2.1 Conformance requirement: 91g35.1.3.2.2 Test area files . 92g35.1.3.2.3 Test coverage. 92g35.1.3.2.4 Test procedure . 92g35.1.3.3 Method getTheFileView . 95g35.1.3.3.1 Conformance requirement: 95g35.1.3
20、.3.2 Test area files . 96g35.1.3.3.3 Test coverage. 96g35.1.3.3.4 Test procedure . 96g35.1.4 Interface UICCException . 100g35.1.4.1 Constructor 100g35.1.4.1.1 Conformance Requirement: . 100g35.1.4.1.2 Test suite files 100g35.1.4.1.3 Test Coverage 100g35.1.4.1.4 Test Procedure . 100g35.1.4.2 Method t
21、hrowIt . 100g35.1.4.2.1 Conformance Requirement: . 100g35.1.4.2.2 Test area files . 101g3ETSI ETSI TS 102 268 V7.0.0 (2015-04)5Release 75.1.4.2.3 Test Coverage 101g35.1.4.2.4 Test Procedure. 101g35.1.4.3 Reason Codes 101g35.1.5 Contexts 101g35.1.5.1 Context tests 101g35.1.5.1.1 Conformance requireme
22、nt . 102g35.1.5.1.2 Test area files . 102g35.1.5.1.3 Test coverage. 102g35.1.5.1.4 Test procedure . 103g35.2 Package uicc.toolkit 113g35.2.1 Interface EditHandler 113g35.2.2 Interface EnvelopeHandler . 113g35.2.2.1 Method getItemIdentifier 113g35.2.2.1.1 Conformance requirement: 113g35.2.2.1.2 Test
23、area files . 113g35.2.2.1.3 Test coverage. 113g35.2.2.1.4 Test procedure . 114g35.2.2.2 Method getLength . 114g35.2.2.2.1 Conformance requirement . 114g35.2.2.2.2 Test area files . 114g35.2.2.2.3 Test coverage. 114g35.2.2.2.4 Test procedure . 115g35.2.2.3 Method copy . 115g35.2.2.3.1 Conformance req
24、uirement . 115g35.2.2.3.2 Test area files . 115g35.2.2.3.4 Test coverage. 116g35.2.2.3.4 Test procedure . 116g35.2.2.4 Method findTLV . 117g35.2.2.4.1 Conformance requirement . 117g35.2.2.4.2 Test area files . 117g35.2.2.4.3 Test coverage. 118g35.2.2.4.4 Test procedure . 118g35.2.2.5 Method getValue
25、Length 119g35.2.2.5.1 Conformance requirement . 119g35.2.2.5.2 Test area files . 119g35.2.2.5.3 Test coverage. 119g35.2.2.5.4 Test procedure . 119g35.2.2.6 Method getValueByte . 120g35.2.2.6.1 Conformance requirement . 120g35.2.2.6.2 Test area files . 120g35.2.2.6.3 Test coverage. 120g35.2.2.6.4 Tes
26、t procedure . 120g35.2.2.7 Method copyValue 121g35.2.2.7.1 Conformance requirement . 121g35.2.2.7.2 Test area files . 121g35.2.2.7.3 Test coverage. 122g35.2.2.7.4 Test procedure . 122g35.2.2.8 Method compareValue 123g35.2.2.8.1 Conformance requirement . 123g35.2.2.8.2 Test area files . 124g35.2.2.8.
27、3 Test coverage. 124g35.2.2.8.4 Test procedure . 124g35.2.2.9 Method findAndCopyValue(byte tag, byte dstBuffer, short dstOffset) 126g35.2.2.9.1 Conformance requirement . 126g35.2.2.9.2 Test area files . 126g35.2.2.9.3 Test coverage. 127g35.2.2.9.4 Test procedure . 127g35.2.2.10 Method findAndCopyVal
28、ue(byte tag, byte occurrence, short valueOffset, byte dstBuffer, short dstOffset, short dstLength) 128g35.2.2.10.1 Conformance requirement . 128g35.2.2.10.2 Test area files . 129g35.2.2.10.3 Test coverage . 129g3ETSI ETSI TS 102 268 V7.0.0 (2015-04)6Release 75.2.2.10.4 Test procedure . 129g35.2.2.11
29、 Method findAndCompareValue(byte tag, byte compareBuffer, short compareOffset) 131g35.2.2.11.1 Conformance requirement . 131g35.2.2.11.2 Test area files . 132g35.2.2.11.3 Test coverage . 132g35.2.2.11.4 Test procedure . 132g35.2.2.12 Method findAndCompareValue(byte tag, byte occurrence, short valueO
30、ffset, byte compareBuffer, short compareOffset, short compareLength) . 133g35.2.2.12.1 Conformance requirement . 133g35.2.2.12.2 Test area files . 134g35.2.2.12.3 Test coverage . 134g35.2.2.12.4 Test procedure . 135g35.2.2.13 Method getCapacity 137g35.2.2.13.1 Conformance requirement . 137g35.2.2.13
31、.2 Test area files . 137g35.2.2.13.3 Test coverage . 137g35.2.2.13.4 Test procedure . 138g35.2.2.14 Method getChannelIdentifier 138g35.2.2.14.1 Conformance requirement . 138g35.2.2.14.2 Test area files . 138g35.2.2.14.3 Test coverage . 139g35.2.2.14.4 Test procedure . 139g35.2.2.15 Method getChannel
32、Status . 140g35.2.2.15.1 Conformance requirement . 140g35.2.2.15.2 Test area files . 140g35.2.2.15.3 Test coverage . 140g35.2.2.15.4 Test procedure . 141g35.2.2.16 Method getValueShort 142g35.2.2.16.1 Conformance requirement . 142g35.2.2.16.2 Test area files . 143g35.2.2.16.3 Test coverage . 143g35.
33、2.2.16.4 Test procedure . 143g35.2.2.17 Method getSize . 143g35.2.2.17.1 Conformance requirement . 143g35.2.2.17.2 Test area files . 144g35.2.2.17.3 Test coverage . 144g35.2.2.17.4 Test procedure . 144g35.2.2.18 Method getTag 144g35.2.2.18.1 Conformance requirement . 144g35.2.2.18.2 Test area files
34、. 144g35.2.2.18.3 Test coverage . 145g35.2.2.18.4 Test procedure . 145g35.2.3 Interface EnvelopeResponseHandler 145g35.2.3.1 Method post. 145g35.2.3.1.1 Conformance requirement . 145g35.2.3.1.2 Test area files . 145g35.2.3.1.3 Test coverage. 146g35.2.3.1.4 Test procedure . 146g35.2.3.2 Method postAs
35、BERTLV . 147g35.2.3.2.1 Conformance requirement . 147g35.2.3.2.2 Test area files . 147g35.2.3.2.3 Test coverage. 147g35.2.3.2.4 Test procedure . 148g35.2.3.3 Method getLength . 149g35.2.3.3.1 Conformance requirement . 149g35.2.3.3.2 Test area files . 149g35.2.3.3.3 Test coverage. 149g35.2.3.3.4 Test
36、 procedure . 149g35.2.3.4 Method copy . 150g35.2.3.4.1 Conformance requirement . 150g35.2.3.4.2 Test area files . 150g35.2.3.4.3 Test coverage. 150g3ETSI ETSI TS 102 268 V7.0.0 (2015-04)7Release 75.2.3.4.4 Test procedure . 151g35.2.3.5 Method findTLV . 152g35.2.3.5.1 Conformance requirement . 152g35
37、.2.3.5.2 Test area files . 152g35.2.3.5.3 Test coverage. 152g35.2.3.5.4 Test procedure . 153g35.2.3.6 Method getValueLength 153g35.2.3.6.1 Conformance requirement . 153g35.2.3.6.2 Test area files . 154g35.2.3.6.3 Test coverage. 154g35.2.3.6.4 Test procedure . 154g35.2.3.7 Method getValueByte . 155g3
38、5.2.3.7.1 Conformance requirement . 155g35.2.3.7.2 Test area files . 155g35.2.3.7.3 Test coverage. 155g35.2.3.7.4 Test procedure . 156g35.2.3.8 Method copyValue 156g35.2.3.8.1 Conformance requirement . 156g35.2.3.8.2 Test area files . 157g35.2.3.8.3 Test coverage. 157g35.2.3.8.4 Test procedure . 157
39、g35.2.3.9 Method compareValue 159g35.2.3.9.1 Conformance requirement . 159g35.2.3.9.2 Test area files . 159g35.2.3.9.3 Test coverage. 160g35.2.3.9.4 Test procedure . 160g35.2.3.10 Method findAndCopyValue(byte tag, byte dstBuffer, short valueOffset) 162g35.2.3.10.1 Conformance requirement . 162g35.2.
40、3.10.2 Test area files . 162g35.2.3.10.3 Test coverage . 162g35.2.3.10.4 Test procedure . 163g35.2.3.11 Method findAndCopyValue(byte tag, byte occurrence, short valueOffset, byte dstBuffer, short dstOffset, short dstLength) 164g35.2.3.11.1 Conformance requirement . 164g35.2.3.11.2 Test area files .
41、165g35.2.3.11.3 Test coverage . 165g35.2.3.11.4 Test procedure . 165g35.2.3.12 Method findAndCompareValue(byte tag, byte compareBuffer, short compareOffset) 167g35.2.3.12.1 Conformance requirement . 168g35.2.3.12.2 Test area files . 168g35.2.3.12.3 Test coverage . 168g35.2.3.12.4 Test procedure . 16
42、9g35.2.3.13 Method findAndCompareValue(byte tag, byte occurrence, short valueOffset, byte compareBuffer, short compareOffset, short compareLength) . 171g35.2.3.13.1 Conformance requirement . 171g35.2.3.13.2 Test area files . 172g35.2.3.13.3 Test coverage . 172g35.2.3.13.4 Test procedure . 172g35.2.3
43、.14 Method appendArray 175g35.2.3.14.1 Conformance requirement . 175g35.2.3.14.2 Test area files . 176g35.2.3.14.3 Test coverage . 176g35.2.3.14.4 Test procedure . 176g35.2.3.15 Method appendTLV(byte tag, byte value) 177g35.2.3.15.1 Conformance requirement . 177g35.2.3.15.2 Test area files . 178g35.
44、2.3.15.3 Test coverage . 178g35.2.3.15.4 Test procedure . 178g35.2.3.16 Method appendTLV(byte tag, byte value1, byte value2) 178g35.2.3.16.1 Conformance requirements 178g35.2.3.16.2 Test area files . 179g35.2.3.16.3 Test coverage . 179g3ETSI ETSI TS 102 268 V7.0.0 (2015-04)8Release 75.2.3.16.4 Test
45、procedure . 179g35.2.3.17 Method appendTLV(byte tag, byte value, short valueoffset, short valuelength) . 180g35.2.3.17.1 Conformance requirement . 180g35.2.3.17.2 Test area files . 180g35.2.3.17.3 Test coverage . 181g35.2.3.17.4 Test procedure . 181g35.2.3.18 Method appendTLV(byte tag, byte value1,
46、byte value2, short value2offset, short value2length) 182g35.2.3.18.1 Conformance requirement . 182g35.2.3.18.2 Test area files . 183g35.2.3.18.3 Test coverage . 183g35.2.3.18.4 Test procedure . 183g35.2.3.19 Method clear . 185g35.2.3.19.1 Conformance requirement . 185g35.2.3.19.2 Test area files . 1
47、85g35.2.3.19.3 Test coverage . 185g35.2.3.19.4 Test procedure . 186g35.2.3.20 Method getCapacity 186g35.2.3.20.1 Conformance requirement . 186g35.2.3.20.2 Test area files . 186g35.2.3.20.3 Test coverage . 186g35.2.3.20.4 Test procedure . 187g35.2.3.21 Method getValueShort 187g35.2.3.21.1 Conformance
48、 requirement . 187g35.2.3.21.2 Test area files . 187g35.2.3.21.3 Test coverage . 187g35.2.3.21.4 Test procedure . 188g35.2.3.22 Method appendTLV(byte tag, byte value1, short value2) . 188g35.2.3.22.1 Conformance requirements 188g35.2.3.22.2 Test area files . 189g35.2.3.22.3 Test coverage . 189g35.2.
49、3.22.4 Test procedure . 189g35.2.3.23 Method appendTLV(byte tag, short value) . 189g35.2.3.23.1 Conformance requirements 189g35.2.3.23.2 Test area files . 190g35.2.3.23.3 Test coverage . 190g35.2.3.23.4 Test procedure . 190g35.2.3.24 Method appendTLV(byte tag, short value1, short value2) 191g35.2.3.24.1 Conformance requirements 191g35.2.3.24.2 Test area files . 191g35.2.3.24.3 Test coverage . 191g35.2.3.24.4 Test procedure . 192g35.2.3.25 Method appendTLV(byte tag, byte value1, short value1Offset, short value1Length, byte value2, short value2Offset,
copyright@ 2008-2019 麦多课文库(www.mydoc123.com)网站版权所有
备案/许可证编号:苏ICP备17064731号-1