winsock的SSL api? [英] SSL api for winsock?

查看:65
本文介绍了winsock的SSL api?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有 Windows C++ 项目.需要在现有的 winsock 代码之上实现 ssl 客户端和服务器.

I have windows c++ project. Need to implement both ssl client and server on top of existing winsock code.

我尝试过使用 openssl 但它似乎太乱了.我认为有比 openssl 更好/更短/更干净/更快的方法来实现它.我感谢任何建议..

I tried with openssl but it seems too messy. I assume there is nicer/shorter/cleaner/faster way implementeing this than openssl.. Im thankful for any suggestions..

推荐答案

你可以使用 Windows 内置的 SSL 东西—— SChannel .在 Google 上搜索SChannel SSL"会为您提供大量信息(尽管 SChannel 本身记录不全且不易理解).

You can use Windows built-in SSL stuff -- SChannel . Searching Google fo "SChannel SSL" would give you plenty of information (though SChannel itself is poorly documented and not easy to comprehend).

另一方面,一旦你研究了一些使用 OpenSSL 的项目的源代码,OpenSSL 就不会乱七八糟.

On the other hand, OpenSSL is not messy once you study the source code of some project, that uses OpenSSL.

这篇关于winsock的SSL api?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆