Boost logo

Boost Users :

Subject: [Boost-users] How to use a P12 container with Boost::Asio
From: Andi Clemens (andi.clemens_at_[hidden])
Date: 2010-12-13 01:36:19


Hi,

I need to connect to a server via SSL. The only thing I have is an P12
container, but I can not find any hint in the Boost::Asio examples and
documentation on how to use it.
Is it possible to use a P12 with Boost::Asio, as described in here with PEM:
http://www.boost.org/doc/libs/1_45_0/doc/html/boost_asio/example/ssl/client.cpp

Or can I use some kind of bytestream and just hardcode it for now, e.g. create
a bytearray, put the content of the P12 in there and use it with Bosst::Asio?
Is this possible?

Andi


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