Answered 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