SPRINGCARD SAS PRNHSP01 用户手册

下载
页码 118
PMD2271-BA
page 68 of 118
S
PRING
C
ARD
 PC/SC C
OUPLERS
 - H663 
GROUP
 - Developer's reference manual
b.
UPDATE BINARY instruction
In the UPDATE BINARY command APDU,
P1 is the sector number. It must be 
h
00 for PICCs that have only one sector,
P2 is the address of the (single) page to be written. Please refer to the chip's datasheet to
know how many pages could be addressed.
Since the size of a page is 4 bytes, Lc
    must be 4, exactly.
Some pages may hold
- OTP (one-time-programming) bits,
- and/or lock bits that are intended to make the PICC memory read only.
Do not write on those pages without a good understanding of the consequences.
c.
Mifare UltraLight C 3-DES authentication
The Mifare UltraLight C supports a 3-pass Triple-DES authentication feature.
Use the ENCAPSULATE instruction with P1=
h
01 (§ 3.3.7) to implement this function.
SpringCard  has developed the PCSC_MIFULC software library (available as source code and as
pre-compiled DLL in the SDK) to help working with Mifare UltraLight C cards without the need to
implement the security scheme by yourself.
For the documentation of this API, go to
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.