Digitally Sign word document with a certificate
-
Sunday, May 06, 2012 6:38 AM
I need to programmatically sign a word document.
I tried to find something like this in VSTO, but there is only Signatures.Add/Signatures.AddNonVisibleSignature which just shows a dialog to choose a certificate.
I have to achieve this in a ribbon. Office.Signature objSignature = signatureSet.AddNonVisibleSignature(); this is showing the user to select a certificate from the user store, rather i should be able to pass the certificate object to the sign API.
Is this possible ?
All Replies
-
Monday, May 07, 2012 3:10 AMModerator
Hi vinaykumar.t,
Thanks for posting in the MSDN Forum.
I will involve some experts into this thread to see whether they can help you out. There might be some time delay, appreciate for your patience.
Have a good day,
Tom
Tom Xu [MSFT]
MSDN Community Support | Feedback to us
-
Monday, May 07, 2012 12:33 PMModerator
Hi,
best regards,
Check sample code in this document to see if it helps. It used signature provider ID.
http://office.microsoft.com/client/helppreview14.aspx?AssetId=HV080060775&lcid=1033&NS=WINWORD%2EDEV&Version=14&tl=2&queryid=&respos=1&HelpID=vbaof11%2Echm247006Forrest Guo | MSDN Community Support | Feedback to manager
- Proposed As Answer by Forrest GuoMicrosoft Employee, Moderator Friday, May 11, 2012 2:26 PM
- Marked As Answer by Forrest GuoMicrosoft Employee, Moderator Wednesday, May 16, 2012 2:15 PM

