On Wed, 11 Dec 2002 15:56:56 +0100 Xavier Nodet <[EMAIL PROTECTED]> wrote:

XN> On Thu, 5 Dec 2002 12:53:08 +0100 Xavier Nodet <[EMAIL PROTECTED]> wrote:
XN> 
XN> > Here are some information I gathered about PGP-Mime.
XN> 
XN> I started something to implement PGP/Mime signature verifications. The
XN> two strings (signature, and signed text) are ready to be used.

 Nice, thanks!

XN> I did not go further (yet) because I was not sure how do do the actual
XN> work: we need an instance of MCryptoEngine at this point (that is,
XN> during MIME parsing). We will also need one in the future to
XN> sign/encrypt messages. So I guess we need to store this engine globally
XN> and reuse it each time it is needed. Where should we store it? In
XN> MAppBase, with the creation in MAppBase::ContinueStartup?

 One point I'm absolutely sure about is that it should be created on demand
only (i.e. there should be GetPGPEngine() somewhere which would create it
when it's called for the first time). Second point is that PGPEngine is
actually a module so we can always get it "by name" (as PGPFilter ctor
does). Finally, there should be a way to disable this which should probably
be done by unchecking PGPEngine entry in the modules dialog -- and so we
should test if READ_APPCONFIG_TEXT(MP_MODULES) contains this module name.
The only problem I see is that I don't know when should it be deleted...

 Regards,
VZ



-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility 
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
_______________________________________________
Mahogany-Developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-developers

Reply via email to