Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.ruby > #3976

Re: Documentation about ruby-openssl

From Brian Candler <b.candler@pobox.com>
Newsgroups comp.lang.ruby
Subject Re: Documentation about ruby-openssl
Date 2011-05-05 03:22 -0500
Organization Service de news de lacave.net
Message-ID <182f894937db45c13c9bcdc822f1baec@ruby-forum.com> (permalink)
References <BANLkTi=7ofQ798rbyu0LFnU3ACGQ7XZ8HA@mail.gmail.com>

Show all headers | View raw


"Iñaki Baz Castillo" <ibc@aliax.net> wrote in post #996577:
> Hi, is there somewhere good documentation about ruby-openssl API? or
> any good tutorial? The RDOC is hard to read:
>
>   http://www.ruby-doc.org/stdlib/libdoc/openssl/rdoc/index.html

Probably best just to look at some code which uses it. Net::HTTPS would 
be a good start for a TLS client. For TLS server, I did some 
reverse-engineering to build ruby-ldapserver, and now I use that as my 
reference implementation :-)

> PD: Is there any other alternative to ruby-openssl?

Depends what you want to do.

ruby's ext/openssl is just a thin wrapper around the openssl library. If 
you want to do things like open and accept TLS sessions, it's your main 
option. I don't know if alternatives like GNU-TLS have been wrapped for 
ruby.

However, if you want to do things like symmetric encryption, there are 
quite a few other libraries.

-- 
Posted via http://www.ruby-forum.com/.

Back to comp.lang.ruby | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Documentation about ruby-openssl Iñaki Baz Castillo <ibc@aliax.net> - 2011-05-04 06:16 -0500
  Re: Documentation about ruby-openssl Brian Candler <b.candler@pobox.com> - 2011-05-05 03:22 -0500
    Re: Documentation about ruby-openssl Iñaki Baz Castillo <ibc@aliax.net> - 2011-05-05 05:36 -0500
  Re: Documentation about ruby-openssl "Javier H." <devcindario@gmail.com> - 2011-05-08 18:21 -0500

csiph-web