
11 Apr
2010
11 Apr
'10
11:25 p.m.
On 04/11/2010 10:53 AM, Chad Seibert wrote:
Here's an example of boostified code, from one of the examples on the site. It's not too different from the original code (it's just commented out); this is because I don't want it to be a chore to port from Botan to Boost.Botan. Also, it is intuitively designed and I see no reason to change it. Of course, if it needs redesigning, we can discuss that afterwards
...
//std::auto_ptr<PKCS8_PrivateKey> privkey(PKCS8::load_key(arg_ca_key, rng, arg_passphrase)); std::auto_ptr<boost::botan::pkcs8::private_key> privkey(pkcs8::load_key(arg_ca_key, rng, arg_passphrase));
Hi Chad, Would it make sense to have privkey() return the private key by value? Is it non-copyable? Rob