Smart Card Subsystem (Windows Embedded CE 6.0)
1/6/2010
The smart card subsystem consists of the following:
- Smart Card Service Providers
Smart card service providers are base service providers (DLLs) that enable access to specific services. The service providers access specific capabilities of their target smart cards. They are aware of the services that are provided within specific smart cards and ease access to these services by applications. The service providers can build on the services of other providers to accomplish their tasks. Examples of service providers that can be invoked by other providers are the ISO 7816-4 File System and APDU providers.
Note that Windows Embedded CE does not include a service provider. Typically, the same vendor that supplied the target smart card supplies its provider. - Smart Card Resource Manager
The Smart Card Resource Manager uses a Microsoft Win32 API to manage access to multiple readers and smart cards. The Smart Card Resource Manager coordinates application access to specific smart cards and provides the service providers with what appears to be a direct connection to the target smart card. For more information, see Smart Card Resource Manager. - Specific Smart Card Reader Driver
The specific drivers map the conceptual driver services to the specific hardware reader device. There may be hierarchies of specific drivers, too, such as generic serial port drivers that communicate with specific port drivers. The specific reader driver must communicate any card insertion and removal events to the smart card class driver for forwarding to the resource manager. The driver also must provide data-exchange capabilities to the card by using any or all of the raw, T=0, or T=1 protocols. - Smart Card Driver Library
The Smart Card Driver Library provides common smart card driver support routines and provides additional T=0 and T=1 protocol support to specific drivers as needed.
The following table shows the files that implement the smart card subsystem.
File | Description |
---|---|
Scard.dll |
Smart Card Resource Manager, uses the Win32 APIs to manage access to multiple readers and smart cards. |
Smclib.lib |
Smart Card Driver Library, provides common smart card driver support routines and additional T=0 and T=1 protocol support to specific drivers as needed. |
Winscard.dll |
Smart Card Resource Manager library, provides PC/SC services for using smart cards and smart card readers. User applications access Smart Card Resource Manager API functions from this library. |
See Also
Concepts
Other Resources
Smart Card Application Development
Smart Card Driver Library
Smart Card Drivers