boost::asio::ssl::context only methods with file arguments

I would like to use boost::asio::ssl::context and having the certificate embedded in the application, in other words not existing in a file. But all methods in boost::asio::ssl::context that takes certificate data are pointing to a file with certificate data.

Anyone who have solved this?

Answers


Need Your Help

Scala Large Text file

string scala nlp

I'm a newbie with Scala programming.

Is it ok to use .NET MembershipProvider to have multiple virtual “applications” on one web application?

asp.net membership-provider portal-system

I want to build portal-like asp.net web application from scratch and was looking at asp.net MembershipProvider as a standard way for user's management. I created my provider inheriting from

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.