Boost logo

Boost Users :

Subject: Re: [Boost-users] [asio] AES encryption/decryption
From: Adrien Panay (adrien.panay_at_[hidden])
Date: 2009-08-03 05:26:19


Hello,

> Does someone have an experience with the subj?
> In my application I need an AES-encrypted socket. I try to accomplish
> this by building a custom asio socket that performs all the needed
> encryption (with openssl) and delegates the i/o to its service.

I never built an encrypted socket, but here is an example describing
this kind of situation :
http://www.boost.org/doc/libs/1_39_0/doc/html/boost_asio/example/ssl/client.cpp
http://www.boost.org/doc/libs/1_39_0/doc/html/boost_asio/example/ssl/server.cpp
It refers to an asio ssl::stream
http://www.boost.org/doc/libs/1_39_0/doc/html/boost_asio/reference/ssl__stream.html
Did you use this documentation to write your connection class ?

Adrien


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net