关于https or ss

solohac 2011-04-06 03:45:42
在用IE浏览器登陆https的网站的时候,SSL的加密过程函数是不是已经写在IE浏览器里面了呢?
如果是的话,我可以写程序调用这些函数,然后进行ssl连接吗?(接口公开吗)
能给些例子或者相关资料吗?例如连接hotmail

【不使用openssl】
...全文
183 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
solohac 2011-04-06
  • 打赏
  • 举报
回复
[Quote=引用 2 楼 delphiwcdj 的回复:]

或者ACE
build ACE-5.4\ACE_wrappers\tests\SSL sample with VC++2003
download and build openssl-0.9.7g
download and unzip ACE-5.4
rename D:\3rd\ACE-5.4\ACE_wrappers\ace\config-wi……
[/Quote]
OPENSSL好用,但是比较大,ACE研究一下,看看体积
谢谢大家的回答
delphiwcdj 2011-04-06
  • 打赏
  • 举报
回复
或者ACE
build ACE-5.4\ACE_wrappers\tests\SSL sample with VC++2003
download and build openssl-0.9.7g
download and unzip ACE-5.4
rename D:\3rd\ACE-5.4\ACE_wrappers\ace\config-win32.h to config.h
build D:\3rd\ACE-5.4\ACE_wrappers\ace\ace.sln
build D:\3rd\ACE-5.4\ACE_wrappers\ace\SSL\ACE_SSL.sln(convert from ACE_SSL.dsw)
build D:\3rd\ACE-5.4\ACE_wrappers\tests\Test_Output.vcproj
create an empty windows 32 project D:\3rd\ACE-5.4\ACE_wrappers\tests\SSL\ace_ssl_test.vcproj
add Thread_Pool_Reactor_SSL_Test.cpp and Main.cpp to above project
add the following lines to Main.cpp (before the line int run_main (int argc, ACE_TCHAR *argv[]);)
#pragma comment(lib, "libeay32.lib ")
//ssleay32.dll
//libeay32.dll
#ifdef _DEBUG
#pragma comment(lib, "aced.lib ")
#pragma comment(lib, "ACE_SSLd.lib ")
#pragma comment(lib, "Test_Outputd.lib ")
//ACEd.dll
//Test_Outputd.dll
//ACE_SSLd.dll
#endif

copy ACE_SSLd.dll,ACEd.dll,libeay32.dll,ssleay32.dll,Test_Outputd.dll,key.pem, dummy.pem to D:\3rd\ACE-5.4\ACE_wrappers\tests\SSL\Debug

run D:\3rd\ACE-5.4\ACE_wrappers\tests\SSL\Debug\ace_ssl_test.exe
then log file is available at D:\3rd\ACE-5.4\ACE_wrappers\tests\SSL\Debug\log\Thread_Pool_Reactor_SSL_Test.log
delphiwcdj 2011-04-06
  • 打赏
  • 举报
回复
这个不清楚,一般都是用openssl

64,680

社区成员

发帖
与我相关
我的任务
社区描述
C++ 语言相关问题讨论,技术干货分享,前沿动态等
c++ 技术论坛(原bbs)
社区管理员
  • C++ 语言社区
  • encoderlee
  • paschen
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
  1. 请不要发布与C++技术无关的贴子
  2. 请不要发布与技术无关的招聘、广告的帖子
  3. 请尽可能的描述清楚你的问题,如果涉及到代码请尽可能的格式化一下

试试用AI创作助手写篇文章吧