C++ native API for Viafirma

Althrough we already have support for .NET, Java and PHP, has been necessary to implement a native client for c++ for integration into an importan project of the banking sector.

You can download it from: http://code.google.com/p/viafirma-client-cpp/

//************************
// Configuration
//**************************
std::string urlViafirma(“http://services.viafirma.com/viafirma”);

// create instance of Viafirma client (dont share between threads)
viafirmaClient v(urlViafirma);

// Call to server
result=v.signByServer(nameFile,dataToSign,dataSize,alias,password,TYPE_FILE_BINARRY,TYPE_FORMAT_SIGN_BINARRY);
std::cout << “TEST Sign method. Id sign:”<