Data Sheet

Table Of Contents
Chips and readers- USER’S GUIDE
UG 15
Version 1.0
HOW TO AUTHENTIFY A CHIP
Authentication may be done while selecting the card (or the page). It can also be done
later, for example when you want to work with both Credit key and Debit key authentication.
!
ActiveX component : Mx.SelectCard
SelectCard (30h ...) authenticates selected chip with Kd
SelectCard (10h ...) authenticates selected chip with Kc
! C Library : Clib_w_SelectCard
Clib_w_SelectCard (SelectMode , ChipType, TypeSN)
SelectMode = 30h : Authentify with the chip debit key
SelectMode = 10h : Authentify with the chip credit key
! Low level : SELECT_CARD
80h A4h 10h P2 09h => Authenticate with Kc
80h A4h 30h P2 09h => Authenticate with Kd
HOW TO AUTHENTIFY A PAGE
Authentication follows the same principle as for the SelectCard authentication.
If you want to use a different key than the one used during the card selection, or if
selection has been done without you have to use the DiversifyKey command to set a key
as the active key if you want to change the active key.
! ActiveX component :
Mx.DiversifyKey (KeyNum, Chip Serial Number, Databack)
SelectAuthPage (Key, Page, BlockConfig)
! C Library :
Clib_w_Mx.DiversifyKey (KeyNum, Chip Serial Number, Databack)
Clib_w_SelectAuthPage (Key, Page, BlockConfig)
! Low level : DIVERSIFY_KEY & SELECT_PAGE
DIVERSIFY_KEY
Host
80h 52h 00h P2h 08h
Serial
Number
Coupler
52h 90h 00h
P2 : key number
SELECT_PAGE
Host
80h A6h P1 P2 08h
Coupler
A6h
Chip 's
configuration
block
90h 00h
Last step :
Authentication is
performed during chip
selection and/or page
selection
Tips : Key
diversifica-
tion is
automatically
done by the
select card
command
Tips :
Key diver-
sification
has to be done
only once. You
don’t need to use
the Diversify
command as soon
as you work with
the same chip
and the same
key