need help for hooking the selectcert dialogbox

H

Herve cadieu

Hi all
I am looking for tweaking the current behavior of Word when it comes to
apply a digital signature.
Actually a dialogbox pops up showing available certificates in my store when
applying following code in a macro
dim sig as signature
set sig = activedocument.signatures.add
'here the dialog box pops up and we select manually a certificate
'then to save the signature attached we need :
activedocument.signatures.commit

I would need to pass a time stamp (date) as parameter to tweak the digital
signature , I would like to hook in the select_cert_struct used to build the
listbox showing the certificates (Article on MSDN about selectcert function
as well) only with filtered certificates (signer name, certificate issuer and
expiration date)

I can't figure out how to proceed...
Any of you can help me ?
looking forward to hear from you soon I remain
regards
 

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