29

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.

Aniket Prajapati
  • 373
  • 3
  • 19
eeknay
  • 453
  • 1
  • 4
  • 8
  • 1
    This question does not necessarily ask for an off-site resource, hence my reopen vote. –  Jun 09 '18 at 21:53

3 Answers3

12

You've run into the lack of documentation problem OpenSSL has. IBM DeveloperWorks does have an article about using OpenSSL.

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

Laurel
  • 5,965
  • 14
  • 31
  • 57
wkl
  • 77,184
  • 16
  • 165
  • 176
3

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

user917099
  • 231
  • 3
  • 11
1

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

the remail email client uses MailCore iOS email library wrapper, which in turn uses the multi-purpose libetpan email library, which in turn uses SASL, an authentication layer, which in turn uses your beloved 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.

abbood
  • 23,101
  • 16
  • 132
  • 246