I have need for an application to be able to decrypt messages public key
encrypted messages.

Instead of using a source file for the private key password,  it is
assembled inside the application. Normally you would use the load_key()
function to load the private key from a file. And if you supply the password
from a source file you would use app_passwd() to populate passin:

app_passwd(bio_err, passargin, NULL, &passin, NULL)
load_key(bio_err, keyfile, keyform, 0, passin, e, "Private Key");

So, if I have a function which returns the password as a char pointer, is
that what is expected for passin or do I need to do something else to
populate passin properly? Essentially, do I drop the app_passwd() call and
just use my char pointer as passin or do I need another call to populate
passin?

Thanks!
-- 
==============================================================================
                                John T. Cox
                          e-mail [EMAIL PROTECTED]
                    www http://members.iglou.com/vampire
==============================================================================

Reply via email to