[botan-devel] store public key in aplication and use to verify signed file

Radiceski, Darko D.Radiceski at aamgroup.com
Tue Jan 10 01:06:06 EST 2012

Dear all,
I was wondering if it is possible to store the public key in my
application and then get:
      std::auto_ptr<X509_PublicKey> key(X509::load_key(argv[1])); 
      DSA_PublicKey* dsakey = dynamic_cast<DSA_PublicKey*>(key.get());
to use the string value rather then reading from a file.


Email Disclaimer Notice - This message is the property of AAM Pty Ltd. The information in this email is confidential and may be legally privileged.
It is intended solely for the
addressee. Access to this email by anyone else is unauthorised. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it is prohibited and may be unlawful.

If you have received this message in error please notify AAM Pty Ltd. immediately via email to mailadmin at aamgroup.com <mailto:mailadmin at aamgroup.com> 

This email has been scanned and cleared by NetIQ Mail Marshal, however AAM Pty Ltd does not guarantee this message free of viruses, or interference. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.randombit.net/pipermail/botan-devel/attachments/20120110/093ff7f8/attachment.html>

More information about the botan-devel mailing list