Copyright  2016 HID Global Corporation/ASSA ABLOY AB. All rights reserved.

===========================
HID Global BSI API C sample
===========================

This sample demonstrates how to use the BSI API version 2.1 provided with ActivID ActivClient 7.1 from a C program.
It implements the following scenarios:
-	How to use a private key to sign data.
-	How to read data items from the card.
-	How to send APDUs to an applet instance.

		----------------------------------------------------

1 - Required runtime environment

	- Microsoft Windows 7 SP1 or later (32 and 64-bit editions)
	- ActivID ActivClient 7.1

		----------------------------------------------------

2 - Recommended development environment

	- Microsoft Visual Studio 2015

	Headers and import libraries for the BSI DLL are located in the SDK\BSI\C\Headers and SDK\BSI\C\Libraries folders respectively.		
		
	Sample sources are located in the SDK\BSI\C\Sample folder.

	The C sample is provided together with a Visual Studio 2015 solution.
	Simply copy the SDK\BSI\C folder from the ActivClient distribution CD to a hard disk location, and open the Visual Studio solution file.

		----------------------------------------------------

3 - Sample description

	You must be familiar with the BSI specifications to use this sample.
	
	This command-line sample relies on acbsi21.dll implementing the BSI API.
	
	It demonstrates the following BSI functions:
gscBsiUtilGetVersion, 
gscBsiUtilConnect, 
gscBsiUtilDisconnect, 
gscBsiUtilAcquireContext, 
gscBsiUtilReleaseContext, 
gscBsiUtilBeginTransaction, 
gscBsiUtilEndTransaction, 
gscBsiUtilPassthru, 
gscBsiGcGetContainerProperties, 
gscBsiGcReadTagList, 
gscBsiGcReadValue,
gscBsiPkiCompute, 
gscBsiGetCryptoProperties, 
gscBsiUtilGetExtendedErrorText
