Magtek IPAD Programmer's Reference Manual page 8

Pin encryption devices
Table of Contents

Advertisement

0 - Table of Contents
Status Codes .......................................................................................................... 62
A.1
Library Status Codes ......................................................................................................... 62
A.2
Operation Status Codes ................................................................................................... 62
A.3
Response Status Codes ................................................................................................... 62
EMV CBC-MAC ........................................................................................................ 63
Cryptography .......................................................................................................... 64
C.1
Decrypt PIN ........................................................................................................................ 64
C.1.1
Get key for the PIN decryption from BDK and KSN ............................................. 64
C.1.2
Use Triple DES CBC to decrypt PIN block............................................................... 64
C.1.3
Extract PIN from PIN block ...................................................................................... 64
C.2
Decrypt Card Track ........................................................................................................... 64
C.2.1
Get Track binary from CARD_DATA ........................................................................ 65
C.2.2
Get Key from KSN...................................................................................................... 65
C.2.3
Use Triple DES CBC to decrypt track data ............................................................. 65
C.3
Calculate CBC MAC ........................................................................................................... 66
C.3.1
Get key ........................................................................................................................ 66
C.3.2
Padding data .............................................................................................................. 66
C.3.3
Calculate MAC by CBC .............................................................................................. 66
C.4
C.4.1
Send data to DynaPro/DynaPro Go/DynaPro Mini .............................................. 67
C.4.2
Receive data from DynaPro/DynaPro Go/DynaPro Mini .................................... 67
C.5
Example of RequestSmartCard ...................................................................................... 67
C.5.1
Host: RequestSmartCard ......................................................................................... 67
C.5.2
Device: OnEMVDataCompleteEvent ....................................................................... 67
C.5.3
Host: SendAcquirerResponse .................................................................................. 67
C.5.4
Device: OnEMVTransactionCompleteEvent ........................................................... 68
C.6
Reference Documents ..................................................................................................... 68
Contact Smart Card L1 Session (DynaPro L1 Only) ......................................... 69
D.1
Overview ............................................................................................................................. 69
D.2
Create L1 Session ............................................................................................................. 69
D.3
Power Up ICC Card and Get ATR ..................................................................................... 70
D.4
Send APDU to Card and Get Response ......................................................................... 70
D.5
Power Down ICC ................................................................................................................ 71
D.6
End L1 Session .................................................................................................................. 71
Function Applicable Table .................................................................................... 72
IPAD, DynaPro, DynaPro Go, and DynaPro Mini| PIN Encryption Devices | Programmer's Reference (Microsoft Windows Store)
Page 8

Advertisement

Table of Contents
loading

This manual is also suitable for:

DynaproDynapro goDynapro mini

Table of Contents