Ts 131112v080000p
Ts 131112v080000p
Ts 131112v080000p
0 (2009-03)
Technical Specification
Reference
RTS/TSGC-0631112v800
Keywords
LTE, UMTS
ETSI
Important notice
The present document may be made available in more than one electronic version or in print. In any case of existing or
perceived difference in contents between such versions, the reference version is the Portable Document Format (PDF).
In case of dispute, the reference shall be the printing on ETSI printers of the 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/status/status.asp
If you find errors in the present document, please send your comment to one of the following services:
http://portal.etsi.org/chaircor/ETSI_support.asp
Copyright Notification
ETSI
3GPP TS 31.112 version 8.0.0 Release 8 2 ETSI TS 131 112 V8.0.0 (2009-03)
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, 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 identities. 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.
ETSI
3GPP TS 31.112 version 8.0.0 Release 8 3 ETSI TS 131 112 V8.0.0 (2009-03)
Contents
Intellectual Property Rights ................................................................................................................................2
Foreword.............................................................................................................................................................2
Foreword.............................................................................................................................................................4
1 Scope ........................................................................................................................................................5
2 References ................................................................................................................................................5
3 Definitions and abbreviations...................................................................................................................5
3.1 Definitions..........................................................................................................................................................5
3.2 Abbreviations .....................................................................................................................................................6
4 Main concept ............................................................................................................................................6
4.1 USAT Interpreter system definition ...................................................................................................................6
4.2 Role model .........................................................................................................................................................7
4.3 USAT Interpreter System Architecture ..............................................................................................................8
4.4 Protocol layers....................................................................................................................................................9
4.4.1 Transport layer..............................................................................................................................................9
4.4.2 Operational layer ........................................................................................................................................10
4.4.3 Presentation layer........................................................................................................................................10
4.4.4 Application layer ........................................................................................................................................10
5 Security functionality in the USAT Interpreter System .........................................................................10
5.1 Transport Layer Security..................................................................................................................................11
5.2 End-to-end Security..........................................................................................................................................11
5.2.1 Symmetric Security.....................................................................................................................................12
5.2.2 Asymmetric Security ..................................................................................................................................12
6 Modes of Operation................................................................................................................................12
6.1 User Triggered Transaction Flow – Pull mode.................................................................................................12
6.2 Network Triggered Transaction Flow – Push mode.........................................................................................15
6.3 USAT Interpreter triggered transaction flow – Post mode ...............................................................................16
6.4 Administrative mode ........................................................................................................................................16
ETSI
3GPP TS 31.112 version 8.0.0 Release 8 4 ETSI TS 131 112 V8.0.0 (2009-03)
Foreword
This Technical Specification (TS) has been produced by the 3rd Generation 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
identifying change of release date and an increase in version number as follows:
Version x.y.z
where:
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.
ETSI
3GPP TS 31.112 version 8.0.0 Release 8 5 ETSI TS 131 112 V8.0.0 (2009-03)
1 Scope
The present document defines the stage 2 description for the USAT Interpreter system. As the second stage of a three-
level structure, it is derived from the stage 1 service description.
The present document defines the overall architecture for the USAT Interpreter system:
− Role models;
− System architecture;
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, edition number, version number, etc.) or
non-specific.
• 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 that document in the same
Release as the present document.
[4] 3GPP TS 23.048: "Security Mechanisms for the (U)SIM Application Toolkit; Stage2".
3.1 Definitions
For the purposes of the present document, the following terms and definitions apply:
Access Node: entity that provides the transparent transport of the USAT Gateway to USAT Interpreter content
Application Provider: entity that defines services using USAT Interpreter functionality
Application System: entity that is a collection of Application Providers that utilise the USAT Interpreter for services
requiring the usage of USIM
Gateway: network program that translates from a source language to the USAT Interpreter byte codes
NOTE 1: The gateway resides between the application provider's server that contains pages written in the source
language and a USIM containing the USAT Interpreter that will render these pages.
Gateway Selector: entity in the system architecture that decides which gateway shall be used to exchange user data
Master Application Provider: entity that has the capability to act as a proxy between the Service Access Provider and
the Application Providers that do not connect directly to the Service Access Provider.
ETSI
3GPP TS 31.112 version 8.0.0 Release 8 6 ETSI TS 131 112 V8.0.0 (2009-03)
Page: the context of a USAT Interpreter rendering, the scope of USAT Interpreter variables and the unit of transmission
between the Gateway and a USIM containing the USAT Interpreter
NOTE 2: Pages exist in source code form expressed in a mark-up language and in compiled form as USAT
Interpreter byte codes.
Post mode: data transmission from the USAT Interpreter and the Application Provider triggered by the USAT
Interpreter
NOTE 3: The USAT Interpreter does not expect a related reply in this mode.
Pull mode: data exchange between the USAT Interpreter and the Application Provider triggered by the USAT
Interpreter
NOTE 4: The USAT Interpreter does expect a related reply in this mode by entering the Wait State.
Push mode: data transmission between the USAT Interpreter and the Application Provider triggered by the Application
Provider
NOTE 5: In the Push Mode information is received by the USAT Interpreter without an explicit preceding request
as in the Pull Mode.
Security Node: entity that provides security mechanisms according to TS 23.048 [4].
Service: collection of pages that defines an unitary capability of the user equipment from the point of view of the user
NOTE 6: Examples include remote database access, electronic mail, and alerts.
Service Access Provider: entity in the role model that provides connectivity between the 3G operator and the
Application System
Wait State: state which is entered by the USAT Interpreter in Pull Mode to wait for a response
3.2 Abbreviations
For the purposes of the present document, the following abbreviations apply:
4 Main concept
ETSI
3GPP TS 31.112 version 8.0.0 Release 8 7 ETSI TS 131 112 V8.0.0 (2009-03)
Application System
Application
Service Access Provider 1
Provider 1
User 3G Operator 1
Application
Provider 3
Application
Master Provider 4
Application
Provider Application
Provider 5
The user has the USAT Interpreter installed on his USIM and uses the USAT Interpreter to gain access to applications
that reside in the Application System.
The 3G Operator is the entity that provides 3G-network connectivity to the user.
The Service Access Provider is the entity that provides connectivity between the 3G-operator network and the
application system. The Service Access Provider can be either the same 3G operator or another party. The Service
Access Provider can be shared between several 3G-operators.
The Application System provides the applications that are made available to the user through the system and the USAT
Interpreter. The application system can be owned either by the operator or by another party, either completely or
partially. It is also possible from an architecture point of view to provide access to the same Application Provider
through different operators and Service Access Providers.
The Master Application Provider acts as a proxy between the Service Access Provider and Application Providers that
do not connect directly to the Service Access Provider. From the Service Access Provider, the Master Application
Provider acts just as a regular Application Provider. The Master Application Provider can have the capability to
translate between application languages and protocols.
The role model puts no limitation on the number of different 3G Operators, Service Access Providers or Application
Providers.
ETSI
3GPP TS 31.112 version 8.0.0 Release 8 8 ETSI TS 131 112 V8.0.0 (2009-03)
Gateway Application
2 Provider
Operational
ME Access N N Security N 1 Gateway Application
Pull
USIM Node Node 3 Provider
Gateway Application
Operational 4 Provider
N 1
Push
Gateway Application
5 Provider
N multiple entities
1 single entity
The Access Node is the network entity that provide the transport layer specific connectivity to the Security Node as
specified in TS 23.048 [4]. The Access Node can be connected to any number of different Security Nodes.
The bearer type determines the access node. For example in the case where SMS is the bearer, the Access Node would
be an SMSC. In GPRS the Access node would be a GGSN. The Access Node is addressed according to the bearer's
addressing principle. The user reaches the Access Node using the Service Center Address if the bearer is SMS. If the
bearer is IP, the user addresses the Access Node using its IP Address.
The Security Node is the entity that terminates the 23.048 protocol. The Security Node is addressed according to the
used bearer. For example in the case where SMS is used as bearer, the Access Node addresses the Security Node using
the Destination Address. In the case where the bearer is IP, the IP Port addressing is used to reach the Security Node.
The Gateway Selector is the entity that subscribes to data from the Security Node based on TAR value and is
responsible for connecting the data flow into the appropriate Gateway for the application that is addressed.
The Gateway Selector System consists of logically separate Gateway Selectors to handle the different types of access.
These are Administrative, Operational Pull and Operational Push Access. The distinction between these is made using
separate TAR value ranges. Thus, one TAR value range is reserved for each of these three different access types. The
TAR value ranges are specified in TS 31.114 [3].
ETSI
3GPP TS 31.112 version 8.0.0 Release 8 9 ETSI TS 131 112 V8.0.0 (2009-03)
The Gateway is the entity that has the capability to encode and decode data between the formats used by the application
system and the USAT Interpreter byte codes. The Gateway terminates the operational layer of the protocols. One
Gateway potentially handles only a limited set of conversions from Application encoding to USAT Interpreter byte
codes. There might be Gateways for dedicated purposes that can be addressed using the Gateway Address. Examples
can be separate Gateways for banking, different application languages, content types etc.
The Gateway Selector addresses the Gateway using the Gateway Address. The Gateway Address is defined in the
Operational Layer, which is described later on in the present document. If no Gateway Address is specified, the
Gateway Selector addresses the default Gateway. The Gateway addresses the application using URLs or whatever
addressing is implied by the applications that the Gateway handles.
The logical combination of Security Node, Gateway Selector and Gateway is called the USAT Interpreter Gateway
System.
The picture shows a generic architecture. The entities depicted above need not be physically separate. It is possible to
integrate several of the logical entities into the same physical entity.
The Security Node can be placed either in the operator domain or in the Application Provider domain. This is a
deployment choice to be made for the system. The decision on where to put the Security Node will be influenced by
security considerations and other aspects.
Whether or not the USAT Interpreter has the capability of addressing only one or several Security Nodes is also a
deployment choice to be made by the 3G operator.
The Application System consists of Application Providers. The addressing of these is defined at the application level
and beyond the scope of the present document. The entities in the Application need to adhere to the security architecture
as specified in clause 5.2 in the present document in order to provide end-to-end security.
Access Transport
Node Level Gateway Application
Address Address TAR Address Address
Presentation Layer USAT Interpreter byte code / Administration E.g. Mark-up Language
ETSI
3GPP TS 31.112 version 8.0.0 Release 8 10 ETSI TS 131 112 V8.0.0 (2009-03)
The Transport layer between the Security Node and the Gateway is internal functionality in the USAT Interpreter
Gateway System thus it is not specified in the present document.
The transport layer between the Gateway and the Application Provider is beyond the scope of the present document. For
example, http can be used.
An operational layer between the Gateway and the Application provider is beyond the scope of the present document. It
may include application specific data for state information and other context information. An example could be http
cookies in the case where http is used.
The only mode for the operational layer is the transaction-based mode.
The transaction-based mode consists of single request-response pairs between the USAT Interpreter and the Gateway.
The transaction-mode:
- is context free.
Transaction mode between the USAT Interpreter and the Gateway is a mandatory feature.
The transaction-based mode does not provide message context for a sequence of messages. In this mode, if such a
context is needed, this has to be provided on the application layer.
A Presentation layer between the Gateway and the Application provider is beyond the scope of the present document. It
may consist of a mark-up language.
The Application is functionality that provides services to the user. Examples can be banking, gambling, trading
applications etc. The Application layer may consist of any data defined by the application and is beyond the scope of
the present document.
ETSI
3GPP TS 31.112 version 8.0.0 Release 8 11 ETSI TS 131 112 V8.0.0 (2009-03)
1 TS 23.048 security
The transport layer security is provided by three independent point-to-point protocols. On the link between the USAT
Interpreter and the Security Node transport security according to TS 31.114 [3] shall be used.
The transport layer security on links number 2 and 3 in the picture are beyond the scope of the present document. On
the link between the Security Node and the Gateway, some internal security should be used. On the link between the
Gateway and the Application system, some security should be used. For example, SSL may be used on this link.
ka 1 ka
1 End-to-end Security
ka Application key
End-to-end security is provided between the USAT Interpreter and the Application system (application layer security).
End-to-end infrastructures based on both symmetric and asymmetric cipher algorithms can be supported by the USAT
Interpreter system.
Byte codes to manage end-to-end security are specified in TS 31.113 [2]. These byte codes shall provide means for:
− Key identification;
− Certificate management;
ETSI
3GPP TS 31.112 version 8.0.0 Release 8 12 ETSI TS 131 112 V8.0.0 (2009-03)
The Application system shall provide means to manage end-to-end security, however this is beyond the scope of the
present document.
6 Modes of Operation
This clause describes possible basic information flows between the USAT Interpreter and the Application Provider.
These basic modes of operation may be combined to run a complete service.
ETSI
3GPP TS 31.112 version 8.0.0 Release 8 13 ETSI TS 131 112 V8.0.0 (2009-03)
Application
USAT Interpreter Gateway Provider
2. submit(data)
3. E.g. Http get (url, params, cookies)
Wait State
4. E.g. Http reply(xML, cookies)
5. reply(USATInterpreterByteCode)
6. Parsing of byte code
1. The USAT Interpreter has been activated and is rendering byte codes.
2. After the USAT Interpreter has rendered a byte code requiring the Pull Mode, the USAT Interpreter shall
send information using the transmission protocol (refer to TS 31.114 [3]) to the Gateway and enter Wait
State.
3. The Gateway shall interpret the information previously received from the USAT Interpreter and then
forward this information to the Application Provider.
4. The Application Provider optionally replies data after the interpretation of the information received from the
Gateway. In the given example, where the Http protocol is used, the data reply of the Application Provider
is mandatory.
5. The Gateway replies with byte codes for the USAT Interpreter according to TS 31.113 [2] using the
transmission protocol (TS 31.114 [3]).
6. If the byte code reply is related to the request the USAT Interpreter renders the received byte codes. In the
given example, where the Wait State is still active, the byte code reply of the Gateway is rendered.
Wait State
− After the USAT Interpreter has rendered a byte code requiring the Pull Mode, the USAT Interpreter shall enter
the Wait State.
− Pull Mode replies received by the USAT Interpreter not being in the Wait State shall be discarded.
− The user shall be made aware by the USAT Interpreter that the USAT Interpreter is in the Wait State. I.e. a user
notification shall be displayed.
− The user notification shall be customisable by administrative means and by the Application Provider.
− The user shall be able to exit the Wait State of the USAT Interpreter. I.e. the user shall be able to cancel a
submitted request to the Gateway. This fact does not imply that the Gateway gets a message that the request was
cancelled by the user.
− After the user has exited the Wait State of the USAT Interpreter, it shall be possible to continue rendering pages.
I.e. the user shall be able to submit e.g. another request.
The following figures show that Pull Mode replies are discarded, if a the Wait State has been cancelled on user request.
The Pull Mode reply is discarded by the USAT Interpreter, if it is received during the rendering of USAT Interpreter
byte codes.
ETSI
3GPP TS 31.112 version 8.0.0 Release 8 14 ETSI TS 131 112 V8.0.0 (2009-03)
Application
USAT Interpreter Gateway Provider
2. submit(data)
3. E.g. Http get (url, params, cookies)
Wait State
A. cancel
4. E.g. Http reply(xML, cookies)
5. reply(USATInterpreterByteCode)
B. Parsing of byte code
1. The USAT Interpreter has been activated and is rendering byte codes.
2. After the USAT Interpreter has rendered a byte code requiring the Pull Mode, the USAT Interpreter shall send
information using the transmission protocol (TS 31.114 [3]) to the Gateway and enter Wait State.
The response shall be discarded by the USAT Interpreter, if it is received after entering another Wait State.
Application
USAT Interpreter Gateway Provider
2. submit1(data)
3. E.g. Http get (url, params, cookies)
Wait State
A. cancel
5. reply1(USATInterpreterByteCode)
Figure 8: Reply ignored, if received during the wait state of the USAT Interpreter
ETSI
3GPP TS 31.112 version 8.0.0 Release 8 15 ETSI TS 131 112 V8.0.0 (2009-03)
1. The USAT Interpreter has been activated and is rendering byte codes.
5. The Gateway replies with byte codes for the USAT D. The Gateway shall interpret the information previously
Interpreter according to TS 31.113 [2]using the received from the USAT Interpreter and then forward this
transmission protocol (TS 31.114 [3]). This reply shall be information to the Application Provider.
discarded by the USAT Interpreter, because the related
request has been cancelled before by the user.
E. The Application Provider optionally replies data after the
interpretation of the information received from the Gateway.
In the given example, where the Http protocol is used, the
data reply of the Application Provider is mandatory.
F. The Gateway replies with byte codes for the USAT
Interpreter according to TS 31.113 [2] using the
transmission protocol (TS 31.114 [3]).
G. If the byte code reply is related to the request, the
USAT Interpreter renders the received byte codes. In the
given example, where the Wait State is still active, the byte
code reply of the Gateway is rendered.
Application
USAT Interpreter Gateway Provider
2. send(USATInterpreterByteCode)
3. Parsing of byte code A. E.g. Http Reply(xML)
1. The Application Provider requests the Gateway to send byte codes to the USAT Interpreter. In the given
example, this request uses Http.
ETSI
3GPP TS 31.112 version 8.0.0 Release 8 16 ETSI TS 131 112 V8.0.0 (2009-03)
The blocking mechanisms for Push Mode and handling of Push messages by the USAT Interpreter and the USAT
Interpreter Gateway System are FFS.
Application
USAT Interpreter Gateway Provider
2. submit(data)
3. E.g. Http get (url, params, cookies)
A. Parsing of byte code
4. E.g. Http reply(xML, cookies)
1. The USAT Interpreter has been activated and is rendering byte codes.
2. After the USAT Interpreter has rendered a byte code requiring the Post Mode , the USAT Interpreter shall send
information using the transmission protocol (TS 31.114 [3]) to the Gateway. The USAT Interpreter will continue
rendering byte codes.
Administrative
USAT Interpreter Gateway Entity
2. Send(AdministrativeByteCode)
A. Http reply(xML)
3. Parsing of byteCode
4. submit(data)
5. Http POST(xML)
6. Http reply(xML)
ETSI
3GPP TS 31.112 version 8.0.0 Release 8 17 ETSI TS 131 112 V8.0.0 (2009-03)
1. The Administrative Entity requests the Gateway to send administrative byte codes to the USAT Interpreter. In
the given example, this request uses Http.
The logic of the administrative flow is similar to the Push Mode from the previous clause. The difference is that the
USAT Interpreter is addressed through a TAR value range that has been reserved for administrative commands. The
behaviour of the administrative mode depends on the state of the USIM Interpreter at reception of the USAT Interpreter
byte code.
ETSI
3GPP TS 31.112 version 8.0.0 Release 8 18 ETSI TS 131 112 V8.0.0 (2009-03)
Annex A (informative):
Change History
Change history
Date TSG # TSG Doc. CR Rev Cat Subject/Comment Old New
2001-09 TP-13 TP-010209 Approved at TSG-T #13 2.0.0 5.0.0
2001-12 TP-14 TP-010245 001 F Correction of TAR value usage 5.0.0 5.1.0
2002-06 TP-16 TP-020114 002 F Removal of 'session mode" 5.1.0 5.2.0
2004-12 TP-26 - - - Upgrade to Rel-6 5.2.0 6.0.0
2007-06 CT#36 - - - - Update to Rel-7 version (MCC) 6.0.0 7.0.0
2008-12 CT#42 - - - - Update to Rel-8 + addition of LTE logo 7.0.0 8.0.0
ETSI
3GPP TS 31.112 version 8.0.0 Release 8 19 ETSI TS 131 112 V8.0.0 (2009-03)
History
Document history
V8.0.0 March 2009 Publication
ETSI