FSP Acosj V 1.01
FSP Acosj V 1.01
List of Figures
Figure 1 : Card Life Cycle ..................................................................................................................... 10
Figure 2 : ACOSJ-V System Architecture ............................................................................................ 12
List of Tables
Table 1 : History of Modification for ACOSJ-V ....................................................................................... 4
Table 2 : Symbols and Abbreviations ..................................................................................................... 6
Table 3 : Configuration of the Answer-to-Reset ..................................................................................... 8
Table 4 : Answer-to-Reset Historical Bytes ............................................................................................ 8
Table 5 : Configuration of Answer-to-Select ........................................................................................... 9
Page 2 of 17
www.acs.com
ACOSJ-V – Functional Specification [email protected]
.hk
Version 1.01 www.acs.com.hk
Table 6 : VSDC General Information .................................................................................................... 13
Page 3 of 17
www.acs.com
ACOSJ-V – Functional Specification [email protected]
.hk
Version 1.01 www.acs.com.hk
1.0. Overview
ACOSJ-V is a smart card operating system developed by Advanced Card Systems Ltd. It works based
on the JAVA Card Virtual Machine and complies with GlobalPlatform Card Specification Version 2.2.1,
JAVA Card Specification Version 3.0.4 and Mapping Guidelines 1.0.1 on its functions and
configurations. It is a bank card product for Visa® payment application available as dual-interface.
The purpose of this document is to describe the features and functions of the ACOSJ-V smart card
operating system.
60KB EEPROM
Compliance with VIS 1.5.4b
ACOSJ-V v2.00 March 2018
Compliance with VCPS 2.1.3b
Compliance with VISA Prepaid 1.1.3a
Page 4 of 17
www.acs.com
ACOSJ-V – Functional Specification [email protected]
.hk
Version 1.01 www.acs.com.hk
Abbreviation Description
ECB Electronic Code Book
Europay, MasterCard, and VISA; used to refer to the ICC
EMV
Specifications for Payment Systems
ENC Encryption
FCI File Control Information
HEX Hexadecimal
HMAC Keyed-Hash Message Authentication Code
ICC Integrated Circuit Card
ICV Initial Chaining Vector
IIN Issuer Identification Number
INS Instruction byte of the command message
ISO International Organization for Standardization
Lc Exact length of data in a case 3 or case 4 command
Maximum length of data expected in response to a case 2 or case 4
Le
command
LV Length Value
MAC Message Authentication Code
MULTOS Executable Language. The instruction set of the MULTOS™
MEL
runtime environment
OID Object Identifier
P1 Reference control parameter 1
P2 Reference control parameter 2
PIN Personal Identification Number
PKI Public Key Infrastructure
RAM Random Access Memory
RFU Reserved for Future Use
RID Registered Application Provider Identifier
ROM Read-only Memory
RSA Rivest/Shamir/Adleman asymmetric algorithm
SCP Secure Channel Protocol; or (ETSI) Smart Card Platform
SW Status Word
SW1 Status Word One
SW2 Status Word Two
TLV Tag Length Value
TP Trust Point
Hexadecimal values are expressed as hexadecimal digits between
'xx'
single quotation marks
A value in a cell of a table whose purpose is described in the
'X'
'Meaning' column of the table
Page 5 of 17
www.acs.com
ACOSJ-V – Functional Specification [email protected]
.hk
Version 1.01 www.acs.com.hk
Abbreviation Description
A value (0 or 1) in a cell of a table that does not affect the 'Meaning'
'-'
given for that row of the table
Page 6 of 17
www.acs.com
ACOSJ-V – Functional Specification [email protected]
.hk
Version 1.01 www.acs.com.hk
2.0. Card Specifications
This section summarizes the features and functionalities of the ACOSJ-V.
2.4. Memory
Capacity: 60 KB
EEPROM Endurance: 500,000 erase/write cycles (25°C)
Data Retention: 30 years (25°C)
Page 7 of 17
www.acs.com
ACOSJ-V – Functional Specification [email protected]
.hk
Version 1.01 www.acs.com.hk
2.7. Answer-to-Reset (ATR, Contact Card)
After a card reset (e.g., power up) is performed, the card transmits an Answer-to-Reset (ATR) in
compliance with ISO 7816 Part 3. ACOSJ-V supports the contact protocol type T=0 with direct or inverse
convention.
The following is the default ATR:
Page 8 of 17
www.acs.com
ACOSJ-V – Functional Specification [email protected]
.hk
Version 1.01 www.acs.com.hk
Parameter ATS Description
T3 4Fh Indicates 'O'
T4 53h Indicates 'S'
T5 4Ah Indicates 'J'
T6 76h Indicates 'v'
T7 32h Indicates '2'
T8 30h Indicates '0'
T9 30h Indicates '0'
Note: For full description of the ATS, kindly refer to ISO 14443 Part 4.
Page 9 of 17
www.acs.com
ACOSJ-V – Functional Specification [email protected]
.hk
Version 1.01 www.acs.com.hk
3.0. Card Life Cycle States
The ACOSJ-V has five card states: OP_READY, INITIALIZED, SECURED, CARD_LOCKED and
TERMINATED. The figure below shows the card life cycle state transition:
OP_READY
INITIALIZED
SECURED
CARD_LOCKED
TERMINATED
Legend
Privileged Application
3.1. OP_READY
This state indicates that the runtime environment shall be available and the Issuer Security Domain,
acting as the selected Application, shall be ready to receive, execute and respond to APDU commands.
The card shall be capable of Card Content changes, the loading of the Load Files containing
applications not already present in the card may occur.
The installation, from Executable Load Files, of any Application may occur.
Additionally, if any personalization information is available at this stage, Applications may be
personalized.
3.2. INITIALIZED
This state is an administrative card production state. The state transition from OP_READY to
INITIALIZED is irreversible. Its functionality is beyond the scope of this Specification. This state may be
used to indicate that some initial data has been populated (e.g., Issuer Security Domain keys and/or
data) but the card is not yet ready to be issued to the Cardholder.
Page 10 of 17
www.acs.com
ACOSJ-V – Functional Specification [email protected]
.hk
Version 1.01 www.acs.com.hk
3.3. SECURED
This state is the intended operating card Life Cycle State in Post-Issuance. This state may be used by
Security Domains and Applications to enforce their respective security policies. The state transition from
INITIALIZED to SECURED is irreversible.
The SECURED state should be used to indicate to off-card entities that the Issuer Security Domain
contains all necessary keys and security elements for full functionality.
3.4. CARD_LOCKED
The card Life Cycle state CARD_LOCKED is present to provide the capability to disable the selection
of Security Domain and Applications. The card Life Cycle state transition from SECURED to
CARD_LOCKED is reversible.
Setting the card to the CARD_LOCKED state means that the card shall only allow selection of the
application with the Final Application privilege.
Card Content changes, including any type of data management (specifically Security Domain keys and
data), are not allowed in this state.
3.5. TERMINATED
This state signals the end of the card Life Cycle and the card. The state transition from any other state
to TERMINATED is irreversible.
The state TERMINATED shall be used to permanently disable all card functionality with respect to any
card content management and any life cycle changes. This card state is intended as a mechanism for
an Application to logically 'destroy' the card for such reasons as the detection of a severe security threat
or expiration of the card. If a Security Domain has the Final Application privilege only the GET DATA
command shall be processed, all other commands defined in this specification shall be disabled and
shall return an error. If an application has the Final Application privilege its command processing is
subject to issuer policy.
The OPEN itself, or a Security Domain with Card Terminate privilege, or an Application with Card
Terminate privilege (see GlobalPlatform Card Specification Version 2.2.1), may initiate the transition
from any of the previous states to the state TERMINATED.
Page 11 of 17
www.acs.com
ACOSJ-V – Functional Specification [email protected]
.hk
Version 1.01 www.acs.com.hk
4.0. Card Architecture
To meet the GlobalPlatform specification for Java card, the ACOSJ-V card has the architecture for
applications as shown in the figure below:
Page 12 of 17
www.acs.com
ACOSJ-V – Functional Specification [email protected]
.hk
Version 1.01 www.acs.com.hk
5.0. VSDC Applet
Item Description
Manufacturer Visa International Service Association
Applet Name VSDC 2.8.1G
Applet Type And Version Visa Smart Debit Credit(VSDC) 2.8.1G
Platform Product Was Tested On GlobalPlatform
VTF# Of Product Tested On LBADVA03075A
Protocol T=0 , T=TypeA
5.2. Personalization
This applet supports the EMV Card Personalization Specification (EMV CPS) version 1.1. This
specification is available from EMVCo.
For additional personalization support, refer to VSDC Personalization Specification version 2.0.
Page 13 of 17
www.acs.com
ACOSJ-V – Functional Specification [email protected]
.hk
Version 1.01 www.acs.com.hk
6.0. ACOSJ-V ROOT Application
The commands in the ROOT application can be used only after the ROOT application is correctly
selected (using the select command and transmission key). After entering into the ROOT Application,
the user can read or configure card parameters through commands supported by the ROOT Application.
To exit ROOT Application and select another application, the card must be reset.
Under the ROOT Application, parameters of the card can be read or configured.
The ROOT Application will become invalid once the card is activated.
Page 14 of 17
www.acs.com
ACOSJ-V – Functional Specification [email protected]
.hk
Version 1.01 www.acs.com.hk
6.1.4. ACTIVE Command
6.1.4.1. Definition and Scope
This command is used to activate the card. Once this command is implemented successfully, the ROOT
Application will become invalid, and the configuration data of the card cannot be read or set directly any
more.
Page 15 of 17
www.acs.com
ACOSJ-V – Functional Specification [email protected]
.hk
Version 1.01 www.acs.com.hk
7.0. ACOSJ-V IDENTIFY Application
7.1. ACOSJ-V IDENTIFY Application Description
After the IDENTIFY Application is selected with a SELECT Command, ACOSJ-V will return the
version number of ACOSJ-V and indicates whether the card has been activated.
Page 16 of 17
www.acs.com
ACOSJ-V – Functional Specification [email protected]
.hk
Version 1.01 www.acs.com.hk
References
The documents below served as references for the ACOSJ Reference Manual.:
GlobalPlatform Card Specification Version 2.2.1
GlobalPlatform Card API Version 1.6
Java Card 3 API, Classic Edition Version 3.0.4
Java Card 3 Platform Runtime Environment Specification, Classic Edition Version 3.0.4
September 2011
Java Card 3 Platform Virtual Machine Specification, Classic Edition Version 3.0.4 September
2011
GlobalPlatform Card Mapping Guidelines of Existing GP v2.1.1 Implementation on v2.2.1
Version 1.0.1
Visa Integrated Circuit Card Specification (VIS) Version 1.5.4b
Visa Contactless Payment Specification (VCPS) version 2.1.3b
Pilot Visa Prepaid Chip Specification 1.1.3a
EMV is a registered trademark of EMVCo LLC in the United States and other countries.
MULTOS is a registered trademark of MAOSCO Limited.
Visa is a registered trademark of Visa International Service Association.
Page 17 of 17
www.acs.com
ACOSJ-V – Functional Specification [email protected]
.hk
Version 1.01 www.acs.com.hk