|
globalplatform
|
This library provides C APIs for managing OpenPlatform 2.0.1' and GlobalPlatform smart cards. It implements GlobalPlatform 2.1.1 APIs and supports SCP01, SCP02, SCP03, and SCP11a secure channels, delegated management, DAP verification, and PC/SC connection plugins.
Before you call a card related command make sure that the Issuer Security Domain (CardManager for Open Platform 2.0.1') or Security Domain you want to use for the command is selected by OPGP_select_application().
Obey that this library supports Unicode. If you develop an application you should use Unicode strings. OPGP_STRING and OPGP_CSTRING are wrapping this for you. Use the LPTSTR, TCHAR and the _T() macro, use Unicode functions and compile your application with the switches UNICODE and _UNICODE in your own code. Under Unixes only ASCII is supported for now but to be portable use the mappings in globalplatform/unicode.h