⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 129-130.html

📁 Smart Card Developer s Kit, a smart card manual for development, English
💻 HTML
字号:
<!-- Edit EirGrabber 3.01 -->
<HTML>
<HEAD>
<TITLE>Smart Card Developer's Kit:Smart Card Software Development Tools</TITLE>



<CENTER>
<TABLE BORDER>
<TR>
<TD><A HREF="126-129.html">Previous</A></TD>
<TD><A HREF="../ewtoc.html">Table of Contents</A></TD>
<TD><A HREF="130-133.html">Next</A></TD>
</TR>
</TABLE>
</CENTER>
<P><BR></P>
<P>Nevertheless, the real situation today is that your application may have to be aware of the smart card reader with which it is communicating. What is worse is that there are smart card readers on the market that only handle particular cards. Unless you have a compelling reason to do so, you should avoid reader-specific SDKs and APIs and use general-purpose smart card access interfaces such as PC/SC (see Table 6.4).
</P>
<TABLE WIDTH="120%"><CAPTION ALIGN=LEFT><B>Table 6.4.</B> Smart card reader interfaces.
<TR>
<TH ALIGN="LEFT">Product
<TH ALIGN="LEFT">Company
<TH ALIGN="LEFT">Telephone
<TH ALIGN="LEFT">WWW
<TH ALIGN="LEFT">Email
<TR>
<TD COLSPAN="5"><HR>
<TR>
<TD>ACR Reader
<TD>AND
<TD>&#43;31 10 4367100
<TD><A HREF="http://library.cs.tuiasi.ro/hardware/smart-card-developer-kit/ch06/www.and.nl">www.and.nl</A>
<TD><TT>marissa&#64;and.nl</TT>
<TR>
<TD VALIGN="TOP">ACR20
<TD>Advanced Card<BR>Systems
<TD VALIGN="TOP">&#43;852 279-54877
<TD VALIGN="TOP"><A HREF="http://library.cs.tuiasi.ro/hardware/smart-card-developer-kit/ch06/www.acs.com.hk">www.acs.com.hk</A>
<TD VALIGN="TOP"><TT>info&#64;acs.com.hk</TT>
<TR>
<TD VALIGN="TOP">ASESoft
<TD>Aladdin<BR>Knowledge<BR>Systems
<TD VALIGN="TOP">&#43;972 3 636 2222
<TD VALIGN="TOP"><A HREF="www.aks.com">www.aks.com</A>
<TD VALIGN="TOP"><TT>sales&#64;aks.com</TT>
<TR>
<TD VALIGN="TOP">E-Key Readers
<TD>ADC<BR>Technologies
<TD VALIGN="TOP">&#43;65 743 8088
<TD VALIGN="TOP"><A HREF="http://library.cs.tuiasi.ro/hardware/smart-card-developer-kit/ch06/www.adc.com.sg">www.adc.com.sg</A>
<TD VALIGN="TOP"><TT>msg&#64;adc.com.sg</TT>
<TR>
<TD VALIGN="TOP">G80-1500<BR>Keyboard
<TD>Cherry<BR>Electrical<BR>Products
<TD VALIGN="TOP">&#43;1 847 662-9200
<TD VALIGN="TOP"><A HREF="www.cherrycorpwebmaster.com">www.cherrycorpwebmaster.com</A>
<TD VALIGN="TOP"><TT>&#64;cherrycorp.com</TT>
<TR>
<TD>SmarTLP
<TD>Bull CP8
<TD>
<TD><A HREF="http://library.cs.tuiasi.ro/hardware/smart-card-developer-kit/ch06/www.cp8.bull.net">www.cp8.bull.net</A>
<TR>
<TD>Smart Card<BR>Reader Library
<TD VALIGN="TOP">Protekila
<TD VALIGN="TOP">&#43;90 212261 01 63
<TD VALIGN="TOP"><A HREF="http://library.cs.tuiasi.ro/hardware/smart-card-developer-kit/ch06/www.protekila.com.tr">www.protekila.com.tr</A>
<TD VALIGN="TOP"><TT>info&#64;protekila.com.tr</TT>
<TR>
<TD VALIGN="TOP">SmartOS
<TD>SCM<BR>Microsystems
<TD VALIGN="TOP">&#43;1 408 370-4888
<TD VALIGN="TOP"><A HREF="www.scmmicro.com">www.scmmicro.com</A>
<TD VALIGN="TOP"><TT>adapt&#64;scmmicro.com</TT>
<TR>
<TD VALIGN="TOP">SmartPort
<TD>Tritheim<BR>Technologies
<TD VALIGN="TOP">&#43;1 813 943-8684
<TD VALIGN="TOP"><A HREF="www.tritheim.com">www.tritheim.com</A>
<TD VALIGN="TOP"><TT>tech&#64;tritheim.com</TT>
<TR>
<TD VALIGN="TOP">SwapSmart SDK
<TD>SCM<BR>Microsystems
<TD VALIGN="TOP">&#43;1 408 370-4888
<TD VALIGN="TOP"><A HREF="www.scmmicro.com">www.scmmicro.com</A>
<TD VALIGN="TOP"><TT>adapt&#64;scmmicro.com</TT>
<TR>
<TD>Value<BR>Checker Plus
<TD VALIGN="TOP">OKI
<TD VALIGN="TOP">&#43;1 508 460-8621
<TD VALIGN="TOP"><A HREF="www.oap.oki.com">www.oap.oki.com</A>
<TD VALIGN="TOP"><TT>digitalmoney&#64;oki.com</TT>
<TR>
<TD COLSPAN="5"><HR>
<TR>
</TABLE>
<P>The APIs described in the following sections give a sense of how your application program views a reader and a card combination, and how various vendors have dealt with the problem of having two active elements&#151;the reader and the card&#151;at the other end of the communication line.
</P>
<P><FONT SIZE="+1"><B>Aladdin ASESoft Microprocessor APIs</B></FONT></P>
<P>The Aladdin reader can handle ISO 7816 microprocessor cards as well as I<SUP>2</SUP>C memory cards, both protected and unprotected. The Aladdin Smartcard Environment (ASE) development kit, ASESoft, provides two APIs to microprocessor cards in a number of different languages including BASIC, Pascal, and C. The first API supports file and password manipulation functions, but only for Aladdin&#146;s CC1, CP1, and CG2 microprocessor cards. The second simply passes APDUs to and catches APDUs from any ISO 7816 card.</P>
<P>The functions on the file and password interface are</P>
<DL>
<DT><B><TT>ASE_DRVInit</TT>
</B>
<DD>Initializes the Aladdin reader
<DT><B><TT>ASE_CardOn</TT>
</B>
<DD>Turns power on the card and returns its type
<DT><B><TT>ASE_CardOff</TT>
</B>
<DD>Takes power off the card
<DT><B><TT>ASE_GetVersion</TT>
</B>
<DD>Returns the current version of the library and the reader
<DT><B><TT>ASE_FileCreate</TT>
</B>
<DD>Creates a file
<DT><B><TT>ASE_FileInit</TT>
</B>
<DD>Fills a newly created file with nulls
<DT><B><TT>ASE_FileWrite</TT>
</B>
<DD>Writes contents of a buffer into a file
<DT><B><TT>ASE_FileRead</TT>
</B>
<DD>Reads from file into a buffer
<DT><B><TT>ASE_PassCreate</TT>
</B>
<DD>Sets a key value and the associated number of attempts value
<DT><B><TT>ASE_PassChange</TT>
</B>
<DD>Changes a key value
<DT><B><TT>ASE_PassPresent</TT>
</B>
<DD>Presents a key value to the card
</DL>

<P>The 7816 interface works with any 7816 card. The functions on this simpler API are
</P>
<DL>
<DT><B><TT>ASE_DRVInit</TT>
</B>
<DD>Initializes the Aladdin reader
<DT><B><TT>ASE_7816CardOn</TT>
</B>
<DD>Turns power on the card and returns the card type
<DT><B><TT>ASE_7816CardOff</TT>
</B>
<DD>Takes power off the card
<DT><B><TT>ASE_GetVersion</TT>
</B>
<DD>Returns the current version of the library and the reader
<DT><B><TT>ASE_7816Send</TT>
</B>
<DD>Sends a command APDU to the card
<DT><B><TT>ASE_7816Receive</TT>
</B>
<DD>Retrieves a response APDU from the card
</DL>

<P>The Aladdin SDK comes with four modest card editor utilities for memory and microprocessor cards. These let you examine and alter the contents of these cards.
</P><P><BR></P>
<CENTER>
<TABLE BORDER>
<TR>
<TD><A HREF="126-129.html">Previous</A></TD>
<TD><A HREF="../ewtoc.html">Table of Contents</A></TD>
<TD><A HREF="130-133.html">Next</A></TD>
</TR>
</TABLE>
</CENTER>



</BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -