Integration of BankID C Server with merchant applications

When all files supplied by the BankID C Server distribution are installed properly, the merchant application has to integrate with the library. The following two sections describe how to do this on Windows and UNIX.

Integrating with BankID C Server for UNIX flavors

  • Include "serverkernel.h" and "structures.h" in the merchant application source code. These files contain declarations of all functions exposed by the BankID C Server API. For the merchant application code to locate the header files they have to be copied to an existing include directory or the merchant application code must add the directory where these header files are present to the include path.
  • Link the file "libbidcserver.so" for the chosen platform during make of the merchant application. This file contains all functions exposed by BankID C Server.


If the BankID C Server is properly installed and integrated, it is time to configure the BankID C Server for use with the merchant application. This is explained in section 4.

Integrating with BankID C Server for Windows

  • Link the file "BIDCSERVER.lib" during compilation of the merchant application. This file contains all functions exposed by the BankID C Server API and contains code to do proper communication between the merchant application and the dynamic link library. How to link the .lib file with the merchant application is beyond the scope of this document.
  • Include "BIDCSERVER.h" and "structures.h" in the merchant application source code. These files contain preprocessor definitions of all functions exposed by the BankID C Server API. For the merchant application code to locate the header files they have to be copied to an existing include directory or the merchant application code must add the directory where these header files are present to the include path.


BankID C Server can be integrated with other types of applications, for example Microsoft .NET implementations. The different frameworks have different solutions for integrating with native code.


When the BankID C Server is properly installed and integrated, it is time to configure the BankID C Server for use with the merchant application. This is explained in section Configuration of BankID C Server.