C语言 关于使用 libssl 进行编程的任何好例子?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/5009271/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-02 07:49:08  来源:igfitidea点击:

Any good examples on programming using libssl?

csslopenssllibssl

提问by eeknay

I was wondering whether someone knows any good examples of using libssl as a programming library. Its kind of annoying only digging through the code of libssl trying to make sense of it.

我想知道是否有人知道使用 libssl 作为编程库的任何好例子。它有点烦人,只是挖掘 libssl 的代码试图理解它。

回答by wkl

You've run into the lack of documentation problem OpenSSL has. IBM DeveloperWorks does have a couple articles about using OpenSSL:

您遇到了 OpenSSL 缺乏文档的问题。IBM DeveloperWorks 确实有几篇关于使用 OpenSSL 的文章:

If you want to utilize a better documented library, you can take a look at Mozilla NSS:

如果你想使用一个更好的文档库,你可以看看 Mozilla NSS:

回答by user917099

Just that I'm using Openssl too and think their wiki page also has some good info: http://wiki.openssl.org/index.php/Main_Page

只是我也在使用 Openssl 并且认为他们的 wiki 页面也有一些很好的信息:http: //wiki.openssl.org/index.php/Main_Page

回答by abbood

Here is a good working example that's especially useful for iOS developers:

这是一个很好的工作示例,对 iOS 开发人员特别有用:

the remailemail client uses MailCoreiOS email library wrapper, which in turn uses the multi-purpose libetpanemail library, which in turn uses SASL, an authentication layer, which in turn uses your beloved openSSL.

remail电子邮件客户端使用MailCore的iOS电子邮件库包装,又使用多功能libetpan电子邮件库,又使用SASL,认证层,又使用你心爱的OpenSSL的

So if you're a believer in the learn-by-example methodology, the above gives you a lot to work with and practice on.

因此,如果您相信通过示例学习的方法,上面的内容为您提供了很多工作和练习。