<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Code</title><link>https://www.infopathdev.com:443/forums/45.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Digitally Sign InfoPath 2007 form programmatically</title><link>https://www.infopathdev.com:443/forums/thread/39536.aspx</link><pubDate>Sat, 14 Mar 2009 17:14:25 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:39536</guid><dc:creator>misahsoft</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/39536.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=39536</wfw:commentRss><description>Hi, &lt;br /&gt;
&lt;br /&gt;
I am trying to digitally sign InfoPath 2007 forms on the server side and make it possible for the user to validate the signature with InfoPath application. On the server side I would like to use the .NET  to create and process the documents (that means System.Xml and System.Security.Cryptography.Xml). &lt;br /&gt;
&lt;br /&gt;
I&amp;#39;ve found a few topics explaining how this could be achieved:&lt;br /&gt;
     http://msdn.microsoft.com/en-us/library/bb608325.aspx&lt;br /&gt;
     http://www.microsoft.com/belux/msdn/nl/community/columns/bouillon/signedinfopathforms.mspx&lt;br /&gt;
&lt;br /&gt;
No one of solutions proposed in topics above work for InfoPath 2007.&lt;br /&gt;
&lt;br /&gt;
Moreover, when I sign InfoPath form, following these topics, InfoPath application fails to recognize such signature.&lt;br /&gt;
When I try to verify signature created by InfoPath 2007 with my code, I get that the signature is invalid.&lt;br /&gt;
&lt;br /&gt;
I&amp;#39;ve spent a few weeks looking for the solution, but with no luck.&lt;br /&gt;
&lt;br /&gt;
Any ideas?&lt;br /&gt;
&lt;br /&gt;
Thanks in advance,
Michael.</description></item></channel></rss>