Where to find Available Encryption Providers & Algorithms?

S

Stretchcoder

I have written Word automation code that sets:

Encryption Provider
Encryption Algoritm
Encryption Key Length
using the method _Document.SetPasswordEncryptionOptions.

It works great! Unfortunately, right now I have hard coded in the
information for each of the above. What I would like to do is get a list of
available providers, algorithms and key lengths on a user's machine, much
like the Tools/Options/Security/Advanced dialog does in Word.

Anyone know where this information is stored, or how to access it?
(I've looked all through _Application and _Document objects and it doesn't
seem to be there... perhaps it is stored in the registry somewhere?)

Thanks!

PS I'm working in Visual C++ 2005 and using late binding, not that it matters.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top