SPRINGCARD SAS PRNHSP01 用户手册

下载
页码 118
PMD2271-BA
page 65 of 118
S
PRING
C
ARD
 PC/SC C
OUPLERS
 - H663 
GROUP
 - Developer's reference manual
4.3.2.
Mifare Plus X and Mifare Plus S
Please download the datasheets of the cards at 
www.nxp.com
.
The  Mifare   Plus  implements   4   different   security   levels.   The   behaviour   of   the   card   changes
dramatically with the selected security level.
SpringCard has developed the PCSC_MIFPLUS software library (available as source code and as
pre-compiled DLL in the SDK) to help working with Mifare Plus cards without going down at the
APDU level and without the need to implement the security scheme by yourself.
For the documentation of this API, go to 
a.
Level 0
At level 0, the PICC is ISO 14443-4 (T=CL) compliant. The H663 builds a smartcard ATR according to
§ 4.1.1. The historical bytes of the ATS are included in the ATR and help recognizing the card at
this level.
As   the   PICC   is   not   ISO   7816-4   compliant,   the   commands   shall   be   sent   wrapped   in   an
ENCAPSULATED instruction with P1=
h
00 (§ 3.3.7).
At the end of the personalisation process, the RF field must be reset (so the PICC will restart at
Level 1 or more). Send the SLOT CONTROL instruction with P1,P2=
h
10,02 to do so (§ 3.3.5)
b.
Level 1
At level 1, the PICC emulates a Mifare Classic (§  4.3.1). The  H663  builds a memory card ATR
according to § 4.1.1. 
The application shall use the MIFARE CLASSIC READ and MIFARE CLASSIC WRITE instructions to
work with the card at this level.
The PICC supports a new  AES authentication  Function. Use the ENCAPSULATE instruction with
P1=
h
01 (§ 3.3.7) to implement this function.
In order to increase the security level of the card (going to level 2 or level 3), an ISO 14443-4
(T=CL) session must be manually started, even if the PICC announces that is is not T=CL compliant.
Send the SLOT CONTROL instruction with P1,P2=
h
20,01 to do so (§ 3.3.5). Afterwards, process as
documented for level 0.
c.
Level 2
The level 2 is not available on Mifare Plus S.
21
As a consequence, the card with be reported as REMOVED, then a new CARD INSERT event will be triggered (but with a different 
ATR as the security level is different).
SPRINGCARD, the SPRINGCARD logo, PRO ACTIVE and the PRO ACTIVE logo are registered trademarks of PRO ACTIVE SAS.
All other brand names, product names, or trademarks belong to their respective holders.
Information in this document is subject to change without notice. Reproduction without written permission of PRO ACTIVE is forbidden.