📄 index.html
字号:
<html>
<head>
<meta http-equiv="Content-Type"
content="text/html; charset=iso-8859-1">
<meta name="GENERATOR" content="Microsoft FrontPage Express 2.0">
<title>Documentation</title>
<STYLE>
BODY { BACKGROUND-COLOR: #f8f8f8; COLOR: black; FONT-FAMILY: LUCIDA,VERDANA,HELVETICA,SANS-SERIF; FONT-SIZE: 10pt }
.TEXT { COLOR: black; FONT-FAMILY: LUCIDA,VERDANA,HELVETICA,SANS-SERIF; FONT-SIZE: 10pt }
A { COLOR: black; FONT-FAMILY: LUCIDA,VERDANA,HELVETICA,SANS-SERIF; FONT-SIZE: 10pt }
TD { FONT-FAMILY: LUCIDA,VERDANA,HELVETICA,SANS-SERIF; FONT-SIZE: 10pt }
</STYLE>
</head>
<body bgcolor="#FFFFFF">
<h1 align="center">Delphi PCSC Components Package</h1>
<h1 align="center"><img src="HelpFiles/comps.gif" width="457" height="60"></h1>
<h1>0. Contents</h1>
<p>0. Contents</p>
<p><a href="#1">1. Contents of the package</a></p>
<p><a href="#2">2. How-tos</a></p>
<p><a href="#3">3. Description of sample application APDU2.</a></p>
<p><a href="#4">4. Known problems</a></p>
<p><a href="#5">5. Installation of the package</a></p>
<p><a href="#6">6. Information on the author</a></p>
<p>To use the components you need to have PCSC installed on your
machine. You have to install Windows PCSC Base Components and
PCSC drivers for your reader. The components can be installed on a machine without
PCSC or without a PCSC compliant reader,
but they will not work until it is installed. </p>
<a name="1"><h1>1.Contents of the package</a></h1>
<p>This package contains a preliminary version of a set of
programming tools enabling the programmer to use the features of
the smartcard Resource Manager of Windows. </p>
<p>The components of the package are:</p>
<ul>
<li>Delphi components and classes encapsulating the interface
towards Resource Manager</li>
<li>Code samples illustrating the way to use the components</li>
<li>Some additional Delphi components</li>
<li>Documentation - help files </li>
</ul>
<h2>1.1 Components</h2>
<p>The most important Delphi components that come with this
package are:</p>
<h3>1.1.1 Smartcard components and classes</h3>
<table border="1">
<tr>
<td><img src="HelpFiles/doc1.h8.jpg" width="26" height="26"></td>
<td>TResourceManager </td>
<td>Implements an instance of Windows Resource Manager.
It provides methods to manage PCSC resources - card
readers and reader groups. It is used to connect all
other objects to PCSC. In this version the features
concerning service providers and card types are not
supported.</td>
</tr>
<tr>
<td><img src="HelpFiles/doc1.h2.jpg" width="26" height="26"></td>
<td>TAPDUCard</td>
<td>Implements a PCSC reader with a card. Presents
methods to transmit APDU commands, and event handlers to
watch for main events - insertion and removal of the card
or finalization of a transmission.</td>
</tr>
<tr>
<td><img src="HelpFiles/cw.jpg" width="26" height="26"></td>
<td>TCardWatcher</td>
<td>Enables the application to watch all existing readers
for cards presenting specified ATRs.</td>
</tr>
<tr>
<td><img src="HelpFiles/cd.jpg" width="26" height="26"></td>
<td>TReaderDialog</td>
<td>Enables the user to select reader or multiple readers
interactively.</td>
</tr>
<tr>
<td><img src="HelpFiles/doc1.h3.jpg" width="26" height="26"></td>
<td>TGSMAPDU</td>
<td>Implements a PCSC reader with a GSM 11.11 card -
basic commands for managing files, transmitting data and
managing security.</td>
</tr>
<tr>
<td> </td>
<td>TSmartcardReader</td>
<td>Implements a PCSC smartcard reader and a PCSC card.
It provides methods to perform more sophisticated
operations on the reader like controlling the driver or
setting/reading attributes.</td>
</tr>
<tr>
<td> </td>
<td>TSmartcardReaderGroup</td>
<td>Implements a PCSC group of readers. Provides methods
to manage a reader group- enumerate, add and remove
readers. </td>
</tr>
</table>
<h3>1.1.2 Other components</h3>
<table border="1">
<tr>
<td><img src="HelpFiles/doc1.h4.jpg"
width="26" height="26"></td>
<td>TRegistryUse</td>
<td>Implements some registry features.</td>
</tr>
<tr>
<td><img src="HelpFiles/doc1.h5.jpg"
width="26" height="26"></td>
<td>TFormatMemo</td>
<td>Presents some of formatting capabilities of
TRichEdit.</td>
</tr>
</table>
<h2>1.2 Code Samples</h2>
<table border="1">
<tr>
<td><a href="../samples/sample1.exe"><img
src="HelpFiles/doc1.h9.jpg" border="0"
width="32" height="32"></a></td>
<td>Sample1.dpr</td>
<td>Example of enumerating readergroups and readers
within readergroups</td>
</tr>
<tr>
<td><a href="../samples/sample3.exe"><img
src="HelpFiles/doc1.h9.jpg" border="0"
width="32" height="32"></a></td>
<td>Sample3.dpr</td>
<td>Example of determining PCSC readers present in the
system and monitoring state of multiple readers or single
reader</td>
</tr>
<tr>
<td><a href="../samples/sample4.exe"><img
src="HelpFiles/doc1.h9.jpg" border="0"
width="32" height="32"></a></td>
<td>Sample4.dpr</td>
<td>Example of reading reader attributes and using custom
"Select reader" dialog</td>
</tr>
<tr>
<td><a href="../samples/sample5.exe"><img
src="HelpFiles/doc1.h9.jpg" border="0"
width="32" height="32"></a></td>
<td>Sample5.dpr</td>
<td>Examples of operations on buffers</td>
</tr>
<tr>
<td><a href="../samples/sample6.exe"><img
src="HelpFiles/doc1.h9.jpg" border="0"
width="32" height="32"></a></td>
<td>Sample6.dpr</td>
<td>Example of performing transmissions using TSmartcard
and TBuffer</td>
</tr>
<tr>
<td><a href="../samples/sample8.exe"><img
src="HelpFiles/doc1.i3.jpg" border="0"
width="32" height="32"></a></td>
<td>Sample7.dpr</td>
<td>Example of performing transmissions using TAPDUCard
and TBuffer</td>
</tr>
<tr>
<td><a href="../samples/sample8.exe"><img
src="HelpFiles/doc1.i3.jpg" border="0"
width="32" height="32"></a></td>
<td>Sample8.dpr</td>
<td>Example of performing transmissions using TAPDUCard
and TAnswer/CommandAPDUBuffer</td>
</tr>
<tr>
<td><a href="../samples/sample9.exe"><img
src="HelpFiles/doc1.i3.jpg" border="0"
width="32" height="32"></a></td>
<td>Sample9.dpr</td>
<td>Example of using event handlers of TAPDUCard, the
AutoReset feature and different modes of connecting to
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -