Vadym Stetsiak
2007-07-02 13:25:50 UTC
Hello, All!
My goal is to specify client certificate in HTTP request without calling
certificate select dialog via InternetErrorDialog.
I'm using InternetSetOption API with INTERNET_OPTION_CLIENT_CERT_CONTEXT.
GetLastError returns 2.
Certificate context is obtained correctly and specified in InternetSetOption
if ( InternetSetOption(hReq, INTERNET_OPTION_CLIENT_CERT_CONTEXT, (void *)
m_pContext, sizeof(CERT_CONTEXT)))
{
GetLastError();
}
I'm using WinInet under Windows Mobile 6.
--
With best regards, Vadym Stetsiak.
Blog: http://vadmyst.blogspot.com
My goal is to specify client certificate in HTTP request without calling
certificate select dialog via InternetErrorDialog.
I'm using InternetSetOption API with INTERNET_OPTION_CLIENT_CERT_CONTEXT.
GetLastError returns 2.
Certificate context is obtained correctly and specified in InternetSetOption
if ( InternetSetOption(hReq, INTERNET_OPTION_CLIENT_CERT_CONTEXT, (void *)
m_pContext, sizeof(CERT_CONTEXT)))
{
GetLastError();
}
I'm using WinInet under Windows Mobile 6.
--
With best regards, Vadym Stetsiak.
Blog: http://vadmyst.blogspot.com