Add digital certificate via code - InfoPath Dev
in

InfoPath Dev

Add digital certificate via code

Last post 09-07-2011 01:00 PM by Nash23. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 09-07-2011 01:00 PM

    • Nash23
    • Not Ranked
    • Joined on 08-22-2011
    • Posts 3

    Add digital certificate via code

    I have an InfoPath template that contains managed code, and therefore I believe needs to be set to Full Trust and have a certificate selected. I've done all of this, but I need to now create process where I can unpack the template and replace the XML file (secondary data connection) for the various datasets to be sent to individual clients. The form structure and XML will be the same just the data within them will be different. Now when I used the process detailed on this Forum to unpack the XSN via the CAB process, change the XML and repacked the files, the form seems to have lost its certificate. From my research i Found that Microsoft removes it as it the integrity of the form has changed and it needs to be re-signed after modifications. My question is, is there a way to sign these new forms with a certificate through code as there could potentially be 300+ files a user would need to go through and sign every time the process runs?
Page 1 of 1 (1 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.