How to select programmatically the digital certificate for signing

H

Herve cadieu

Hi all,
I would like to know how to select programmatically (VBA) one specific
certificate to issue a word doc signature , the certificate could be either
in mystore or smartcard or LDAP
I would like to parse the available certificates properties like issuer ,
common name, etc.. to select the precise certificate I would like to use for
signing purposes.

When using the (addsign macro) set sig=activedocument.signatures.add
instruction it displays a listbox but I would like to avoid this listbox and
select programmatically the certificate instead.
Any suggestion with code snippet is very welcome
Best regards
Herve Cadieu
 

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