how to support Server authentication using the webservice.h win32 lib header

Harsha 0 Reputation points
2024-04-02T06:10:52.3766667+00:00

For the SSL communication, for the sample code which it was developed on Windows win32 – webservice.h library.

with the code changes for SSL communication, we are able to establish a SSL communication(we can see SSL handshake is happening) successfully.

Sample windows code example from the internet which we are referring for this Windows win32 – webservice.h library : sample_code

To do Server authentication in client Side, which is the exact API or function to load the certificate to the SSL bindings for the Server Authentication(server certificate validation), how it can be done.

what are the code changes for the above example in C/C++ to support Server Authentication (Server certificate validation in client side) using the  Windows-Win32 webservices.h header.

Thanks

Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,425 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,535 questions
{count} votes