Appendix
Appendix
Token Assurance Method Codification
Values are defined in the "Token Authorization Response" message in the EMV Payment Tokenisation Specification Technical Framework v2.0.
Spaces
No Value Set
01–19
Common method categories
00
ID&V Not Performed
01
Non-Card Issuer Interactive Cardholder Authentication – 1 Factor
02
Non-Card Issuer Interactive Cardholder Authentication – 2 Factor
03
Non-Card Issuer Risk Oriented Non-Interactive Cardholder Authentication
04–09
Reserved for future EMVCo use
10
Card Issuer Account Verification
11
Card Issuer Interactive Cardholder Authentication – 1 Factor
12
Card Issuer Interactive Cardholder Authentication – 2 Factor
13
Card Issuer Risk Oriented Non-Interactive Cardholder Authentication
14
Card Issuer Asserted Authentication
15–19
Reserved for future EMVCo use
20–89
Token Programme Specific
90–99
Reserved for future EMVCo use
Storage Type
Attributes of the device used to identify the specific device where a Payment Token is stored.
01
Device memory
02
Device memory protected by TPM
03
Server
04
TEE
05
SE
06
Virtual execution environment (VEE)
Connectivity Requirements
A secure channel must be established between the Cloud TSP and the remote Host (Acquirer server or Bank server).
VPN
A VPN (IPSEC) could be used with TLS Server Authentication, but this is not the recommended option.
TLS Authentication (HTTPS)
TLS shall be used to provide end-to-end encryption:
If VPN is used → TLS server authentication
If VPN is not used → TLS mutual authentication
The full ISO payload is exchanged using HTTP Request/Response:
HTTP Request (initiated by the remote host):
Method:
POSTContent-Type:
x-www-form-urlencodedBody: full byte array ISO message, Base64 encoded
HTTP Response:
Body: full byte array ISO message response, Base64 encoded
HTTP Status codes:
200– Cloud TSP successfully decoded and parsed the request; response contains the ISO message response4xx– Cloud TSP failed to decode/parse ISO message; no ISO message present5xx– Connection error; no ISO message present
MAC Usage
Usage of MAC is required in all ISO messages (Request and Response). See MAC Details.
MAC Details
The following principles shall be applied:
All ISO messages are protected using a MAC.
A new MAC key is generated for each ISO message.
The MAC key is protected using an Encryption key (Key Interchange).
Key Interchange is exchanged between each party, encrypted under a ZMK.
The ZMK (Zone Master Key) is exchanged during a key ceremony and imported into an HSM.
Message Transformations
The transformation is applied to the message before input to the MAC algorithm. Supported transformations:
SHA-256 (default)
SHA-1 (available on request)
None
MAC Algorithms
ISO 9797 Algorithm 3
3DES
CMAC
AES
MAC Key Protection Alternatives
Triple DES CBC no-padding
Triple DES ECB no-padding
AES CBC no-padding
AES ECB no-padding
Key Interchange
KI (Key Interchange) is the encrypted key used to encrypt the ephemeral MAC Key.
KI is exchanged between parties during the setup phase, encrypted under ZMK and protected by HSM.
KI is identified by a key index (1 to 255) to allow key switchover (key renewal).
Key index is present in ISO messages in Field 48 (identifier
001).
MAC Key
A MAC key shall be present in each ISO message, encrypted under KI in Field 48 (identifier 002).
The MAC key is an ephemeral key generated by each party; it may be reused across several ISO messages.
Maximum recommended lifetime for an ephemeral MAC key: 1 hour.
MAC
MAC shall be computed for each ISO message and is present in Field 64.
Input data: SHA-256 hash of the full ISO payload (bytes), excluding the MAC value field (Field 64).
SHA-256 is used by default. SHA-1 can be used on request.
Keys Type and Algorithms – 3DES
KI Key Type
"3 key" 3DES (24 bytes) or "2 key" 3DES (16 bytes)*
MAC Key Type
"2 key" 3DES (16 bytes)
MAC Key Wrapping
3DES using CBC or ECB
MAC Algorithm
ISO 9797-1 Algorithm 3. Padding method 1: input data completed with 0s until a multiple of 8-byte blocks. MAC = 8 leftmost bytes of output.
*KI key length depends on remote Host capability.
Keys Type and Algorithms – AES
KI Key Type
AES (128, 192 or 256 bits)
MAC Key Type
AES 128 bits
MAC Key Wrapping
AES using CBC or ECB
MAC Algorithm
AES-CMAC (RFC 4493), with AES-CMAC specification padding. MAC = 8 leftmost bytes of output.
Healthcheck Interface
A healthcheck mechanism allows testing the peer-to-peer connectivity on a regular basis. On HTTP request to the dedicated URL, HTTP 200 is returned by the TSP while the service is up and running.
Both HTTP POST and GET methods can be invoked.
URL:
ISO Interface
ISO messages are carried over HTTP using the POST method.
URL:
ISO8583 Request/Response Examples
Detokenization Request (1100)
Base64 encoded:
Detokenization Response (1110)
Base64 encoded:
Advice Request (1120)
Base64 encoded:
Advice Response (1130)
Base64 encoded:
Last updated
Was this helpful?