urgent help - sending requests to server

hello
till now i was using the following MFC calls to get a CA certificate from
the netscape CA server.
could you please tell me the corresponding calls in Libwww for that...
till now my sequence was:
// initialize the SSL connection
step 1 . pServer = GetHttpConnection(strServerName, ITERNET_FLAG_SECURE,
nSslPort);

step2 . pFile = pServer->OpenRequest(CHttpConnection::HTTP_VERB_POST,
strPage, NULL, 1, NULL, NULL, INTERNET_FLAG_EXISTING_CONNECT |
		 INTERNET_FLAG_NO_AUTO_REDIRECT |
		INTERNET_FLAG_RELOAD |
		INTERNET_FLAG_NO_CACHE_WRITE |
		INTERNET_FLAG_SECURE   |
		INTERNET_FLAG_IGNORE_CERT_DATE_INVALID |
		INTERNET_FLAG_IGNORE_CERT_CN_INVALID);

step 3.
pFile->QueryOption( INTERNET_OPTION_SECURITY_FLAGS, dwFlags );
			
dwFlags |= SECURITY_FLAG_IGNORE_UNKNOWN_CA;
// Set the new security flags
pFile->SetOption( INTERNET_OPTION_SECURITY_FLAGS, dwFlags );

step 4.
// send the HTTP headers (built by the constructor)
pFile->AddRequestHeaders(m_pszHeaders);

step5.
pFile->SendRequest(NULL, 0, (LPVOID) m_strRequest, strlen(m_strRequest));


thanx 
meenakshi

Received on Monday, 1 May 2000 22:01:55 UTC