Tech-
invite
3GPP
space
IETF
space
21
22
23
24
25
26
27
28
29
31
32
33
34
35
36
37
38
4‑5x
TS 31.048
Security mechanisms for the (U)SIM application toolkit;
Test specification
3GPP‑Page
ETSI‑search
ToC
↓
V5.1.0 (PDF)
2005/10 143 p.
Rapporteur:
Mr. Phan, Ly Thanh
full Table of Contents for
TS 31.048
Word version: 5.1.0
1
Scope
p. 9
2
References
p. 9
3
Definitions and abbreviations
p. 10
3.1
Definitions
p. 10
3.2
Abbreviations
p. 10
4
Test Environment
p. 10
4.1
Applicability
p. 11
4.2
Test environment description
p. 11
4.3
Tests format
p. 12
4.3.1
Test Area Reference
p. 12
4.3.1.0
Format description
p. 12
4.3.1.1
Conformance requirements
p. 12
4.3.1.2
Test Area Files
p. 12
4.3.1.3
Test Procedure
p. 13
4.3.1.4
Test Coverage
p. 13
4.4
Initial Conditions
p. 13
4.4.1
Security parameters
p. 13
4.4.2
Prepersonalisation
p. 14
4.4.3
Environment
p. 15
4.5
Package name
p. 15
4.6
AID Coding
p. 16
4.6.2
Specific Test Applet Name
p. 16
4.7
Test Equipment
p. 17
4.7.1
APDU tool
p. 17
4.7.2
Util packages
p. 17
4.7.3
Applet installation parameters
p. 17
4.7.3.1
Security parameters
p. 17
4.7.3.2
Loading components
p. 17
4.8
Testing methodology
p. 17
4.8.1
Test interfaces and facilities
p. 17
5
Test specification
p. 17
5.1
Generalised secured packet structure
p. 17
5.1.1
Command packet structure
p. 17
5.1.1.1
Conformance Requirements
p. 17
5.1.2
Response packet structure
p. 18
5.1.2.1
Conformance Requirements
p. 18
5.2
Implementation for SMS-PP
p. 19
5.2.1
Structure of the SMS
p. 19
5.2.1.1
Commands Description
p. 19
5.2.1.1.1
Conformance Requirements
p. 19
5.2.1.1.2
Test Area Files
p. 20
5.2.1.1.3
Test Procedure
p. 20
5.2.1.1.4
Test Coverage
p. 21
5.2.2
Command Packet contained in a Single SMS-PP
p. 21
5.2.2.1
Commands Description
p. 21
5.2.2.1.1
Conformance Requirements
p. 21
5.2.2.1.2
Test Area Files
p. 22
5.2.2.1.3
Test Procedure
p. 22
5.2.2.1.4
Test Coverage
p. 24
5.2.3
Command Packet contained in a Concatenated SMS-PP
p. 24
5.2.3.1
Commands Description
p. 24
5.2.3.1.1
Conformance Requirements
p. 24
5.2.3.1.2
Test Area Files
p. 24
5.2.3.1.3
Test Procedure
p. 25
5.2.3.1.4
Test Coverage
p. 27
5.2.4
Response packet structure
p. 27
5.2.4.1
Commands Description
p. 27
5.2.4.1.1
Conformance Requirements
p. 27
5.2.4.1.2
Test Area Files
p. 27
5.2.4.1.3
Test Procedure
p. 27
5.2.4.1.4
Test Coverage
p. 28
5.2.5
Security Mechanism for the Command Packet
p. 28
5.2.5.1
Commands Description
p. 28
5.2.5.1.1
Conformance Requirements
p. 28
5.2.5.1.2
Test Area Files
p. 29
5.2.5.1.3
Test Procedure
p. 29
5.2.5.1.3.1
(U)SIM_SEC_SPP_SMC_1, Testfocus counter
p. 29
5.2.5.1.3.2
(U)SIM_SEC_SPP_SMC_2, Testfocus integrity
p. 32
5.2.5.1.3.3
(U)SIM_SEC_SPP_SMC_3, Testfocus ciphering
p. 34
5.2.5.1.3.4
(U)SIM_SEC_SPP_SMC_4, Testfocus mixed mode integrity, ciphering and counter
p. 37
5.2.5.1.4
Test Coverage
p. 40
5.2.6
Security Mechanism for the Response Packet
p. 40
5.2.6.1
Commands Description
p. 40
5.2.6.1.1
Conformance Requirements
p. 40
5.2.6.1.2
Test Area Files
p. 41
5.2.6.1.3
Test Procedure
p. 42
5.2.6.1.4
Test Coverage
p. 50
5.3
Implementation for SMS-CB
p. 50
5.3.1
Structure of the CBS page in the SMS-CB Message
p. 50
5.3.1.1
Conformance Requirements
p. 50
5.3.1.2
Test suites files
p. 50
5.3.1.3
Test coverage
p. 53
5.3.2
A Command Packet structure contained in a SMS-CB message
p. 53
5.3.2.1
Conformance Requirements
p. 53
5.3.2.2
Test suites files
p. 53
5.3.2.3
Test coverage
p. 54
5.3.3
Security mechanism for SMS-CB
p. 54
5.3.3.1
Conformance Requirements
p. 54
5.3.3.2
Test suites files
p. 55
5.3.3.3
Test procedure
p. 56
5.3.3.3.1
(U)SIM_SEC_SCB_SMC_1, Testfocus counter
p. 56
5.3.3.3.2
(U)SIM_SEC_SCB_SMC_2, Testfocus integrity
p. 59
5.3.3.3.3
(U)SIM_SEC_SCB_SMC_3, Testfocus ciphering
p. 62
5.3.3.3.4
(U)SIM_SEC_SCB_SMC_4, Testfocus mixed mode integrity, ciphering and counter
p. 65
5.3.3.4
Test coverage
p. 68
5.4
Remote File Management for SIM
p. 69
5.4.1
Behaviour of the Remote File Management Application
p. 69
5.4.1.1
Command session description
p. 69
5.4.1.1.1
Conformance Requirement
p. 69
5.4.1.1.2
Test Area Files
p. 69
5.4.1.1.3
Test Coverage
p. 70
5.4.2
Coding of the command
p. 70
5.4.2.1
SIM Input command
p. 70
5.4.2.1.1
Conformance Requirement
p. 71
5.4.2.1.2
Test suites files
p. 71
5.4.2.1.3
Test coverage
p. 74
5.4.2.2
SIM Output command
p. 74
5.4.2.2.1
Conformance requirement
p. 74
5.4.2.2.2
Test suites files
p. 74
5.4.2.2.3
Test coverage
p. 75
5.4.3
SIM specific behaviour for Response Packets (Using SMS_PP)
p. 75
5.4.3.1
Conformance requirements
p. 75
5.4.3.2
Test Area Files
p. 76
5.4.3.3
Test Coverage
p. 77
5.5
Remote File Management for USIM
p. 77
5.5.1
Behaviour of the Remote File Management Application
p. 77
5.5.1.1
Conformance Requirement
p. 77
5.5.1.2
Test Area Files
p. 77
5.5.1.3
Test Coverage
p. 78
5.5.2
Coding of the command
p. 79
5.5.2.1
USIM Input command
p. 79
5.5.2.1.1
Conformance requirements:
p. 79
5.5.2.1.2
Test suites files
p. 79
5.5.2.1.3
Test coverage
p. 82
5.5.2.2
USIM Output command
p. 82
5.5.2.2.1
Conformance requirements:
p. 82
5.5.2.2.2
Test Area Files
p. 82
5.5.2.2.3
Test coverage
p. 83
5.5.3
USIM specific behaviour for Response Packets (Using SMS_PP)
p. 83
5.5.3.1
Conformance requirements:
p. 83
5.5.3.2
Test Area Files
p. 84
5.5.3.3
Test Coverage
p. 85
5.6
Remote Applet Management
p. 85
5.6.1
Remote Applet Management Application behaviour
p. 85
5.6.1.1
Command session description
p. 85
5.6.1.1.1
Conformance Requirements
p. 85
5.6.1.1.2
Test Area Files
p. 85
5.6.1.1.3
Test Coverage
p. 86
5.6.1.2
Applet management behaviour
p. 86
5.6.1.2.1
Conformance Requirements
p. 86
5.6.1.2.2
Test Area Files
p. 87
5.6.1.2.3
Test Coverage
p. 90
5.6.2
Commands coding
p. 90
5.6.2.1
Commands coding structure
p. 90
5.6.2.1.1
Conformance Requirements
p. 90
5.6.2.1.2
Test Area Files
p. 90
5.6.2.1.3
Test Coverage
p. 91
5.6.2.2
Input command coding
p. 91
5.6.2.2.1
Conformance Requirements
p. 91
5.6.2.2.2
Test Area Files
p. 91
5.6.2.2.3
Test Coverage
p. 92
5.6.2.3
Output command coding
p. 92
5.6.2.3.1
Conformance Requirements
p. 92
5.6.2.3.2
Test Area Files
p. 92
5.6.2.3.3
Test Procedure
p. 92
5.6.2.3.4
Test Coverage
p. 92
5.6.3
(U)SIM Response Packet
p. 93
5.6.3.1
-
p. 93
5.6.3.1.1
Conformance Requirements
p. 93
5.6.3.1.2
Test Area Files
p. 93
5.6.3.1.4
Test Coverage
p. 94
5.7
Annex A commands
p. 94
5.7.1
Applet Management Commands
p. 94
5.7.1.1
Commands Description
p. 94
5.7.1.1.1
Conformance Requirements
p. 94
5.7.1.1.2
Test suite files
p. 94
5.7.1.1.3
Test Coverage
p. 97
5.7.2
Install commands
p. 97
5.7.2.1
Install(Load) Command
p. 97
5.7.2.1.1
Conformance Requirements
p. 97
5.7.2.1.2
Test Area Files
p. 98
5.7.2.1.3
Test Coverage
p. 100
5.7.2.2
Install (install) and install(install and make selectable) commands
p. 100
5.7.2.2.1
Conformance Requirements
p. 100
5.7.2.2.2
Test Area Files
p. 102
5.7.2.2.3
Test Coverage
p. 113
5.7.3
Delete command
p. 113
5.7.4
Load command
p. 113
5.7.5
Put Key command
p. 113
5.7.5.1
Command session description
p. 113
5.7.5.1.1
Conformance Requirements
p. 113
5.7.5.1.2
Test Area Files
p. 114
5.7.5.1.3
Test Procedure
p. 114
5.7.5.1.4
Test Coverage
p. 114
5.7.6
Set Status command
p. 114
A
(Normative) Test area reference acronym table
p. 115
B
(Normative) Script file syntax and format description
p. 117
B.1
Syntax description
p. 117
B.2
Semantics
p. 118
B.3
Example
p. 118
B.4
Style and formatting
p. 119
C
(Normative) Default Prepersonalisation
p. 120
C.1
General Default Prepersonalisation
p. 120
C.2
Sim.Access.SimView test default prepersonalisation
p. 122
C.2.1
DF SIMTEST (SIM Test)
p. 122
C.2.2
EF TNR (Transparent Never Read)
p. 122
C.2.3
EF TNU (Transparent Never Update)
p. 123
C.2.4
EF TARU (Transparent Always Read and Update)
p. 123
C.2.5
EF CNR (Cyclic Never Read)
p. 123
C.2.6
EF CNU (Cyclic Never Update)
p. 124
C.2.7
EF CNIC (Cyclic Never Increase)
p. 124
C.2.8
EF CNIV (Cyclic Never Invalidate)
p. 124
C.2.9
EF CNRH (Cyclic Never Rehabilitate)
p. 125
C.2.10
EF CARU (Cyclic Always Read and Update)
p. 125
C.2.11
EF LNR (Linear Fixed Never Read)
p. 125
C.2.12
EF LNU (Linear Fixed Never Update)
p. 126
C.2.13
EF LARU (Linear Fixed Always Read and Update)
p. 126
C.2.14
EF CINA (Cyclic Increase Not Allowed)
p. 126
C.2.15
EF TRAC (Transparent Read Access Condition CHV2)
p. 127
C.2.16
EF TIAC (Transparent Invalidate Access Condition CHV1)
p. 127
C.2.17
EF CIAC (Cyclic Increase Access Condition CHV2)
p. 127
C.2.18
EF CIAA (Cyclic Increase Access Condition ADM)
p. 128
C.2.19
EF CNRI (Cyclic Never Rehabilitate Invalidated)
p. 128
D
(Normative) Loading , testing and cleaning script examples.
p. 129
E
(Normative) Test Area Files
p. 130
F
(Normative) Configuration Parameters File
p. 131
F.1
Syntax
p. 131
F.2
File Contents and Organisation
p. 131
F.2.1
Default values, order and processing
p. 132
F.2.2
CONVERT Section
p. 132
F.2.3
INSTALL(load) Section
p. 132
F.2.4
LOAD Section
p. 132
F.2.5
INSTALL(install) Section
p. 132
F.3
Full example
p. 133
G
(Normative) Specific RFM tests applicability
p. 135
$
Change history
p. 136