<?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>Re: Sign Infopath 2007 Form Data with .NET Framework 2.0</title><link>https://www.infopathdev.com:443/forums/thread/35841.aspx</link><pubDate>Tue, 16 Dec 2008 17:56:19 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:35841</guid><dc:creator>aich02</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/35841.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=35841</wfw:commentRss><description>&lt;p&gt;I actually need something to this effect.&lt;/p&gt;
&lt;p&gt;I want the user to click a button and the form will be signed without opening up the wizard to select different certs and add comments etc.&lt;/p&gt;</description></item><item><title>Re: Sign Infopath 2007 Form Data with .NET Framework 2.0</title><link>https://www.infopathdev.com:443/forums/thread/28813.aspx</link><pubDate>Tue, 20 May 2008 12:50:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:28813</guid><dc:creator>melanie.gratzl</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/28813.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=28813</wfw:commentRss><description>&lt;p&gt;Does anybody have any idea!!! I&amp;#39;m happy about an hint!&lt;/p&gt;</description></item><item><title>Re: Sign Infopath 2007 Form Data with .NET Framework 2.0</title><link>https://www.infopathdev.com:443/forums/thread/28529.aspx</link><pubDate>Tue, 06 May 2008 07:40:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:28529</guid><dc:creator>melanie.gratzl</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/28529.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=28529</wfw:commentRss><description>&lt;p&gt;As I see my scenario I don&amp;#39;t need to force the signature via Infopath. The user starts the signing process in Infopath so that I can capture the signature template provided by the Signatures class. This template and the Infopath form is the input for my tool. And there i use the .NET Framework to sign the form according to the template i captured from Infopath. As stated in the article referenced in my original post, this should be possible. My code is doing a signature but when i open my signed form with infopath, infopath states the signature as invalid and the certificate used as ???.&lt;/p&gt;</description></item><item><title>Re: Sign Infopath 2007 Form Data with .NET Framework 2.0</title><link>https://www.infopathdev.com:443/forums/thread/28516.aspx</link><pubDate>Mon, 05 May 2008 22:39:05 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:28516</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/28516.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=28516</wfw:commentRss><description>&lt;p&gt;Someone else will probably have to jump in and help here.&lt;/p&gt;
&lt;p&gt;So far as I know you cannot force a signature programmatically because that would negate the &amp;quot;choice&amp;quot; of the user as to whether or not to sign the form. As I understand it you will not be able to do what you want.&lt;/p&gt;</description></item><item><title>Re: Sign Infopath 2007 Form Data with .NET Framework 2.0</title><link>https://www.infopathdev.com:443/forums/thread/28496.aspx</link><pubDate>Mon, 05 May 2008 07:15:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:28496</guid><dc:creator>melanie.gratzl</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/28496.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=28496</wfw:commentRss><description>&lt;p&gt;I&amp;#39;ve no troubles signing the form with the InfoPath editor UI with the certificate&amp;nbsp;I want to use for programatically signing as well.&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;br /&gt;&amp;nbsp;Melanie&lt;/p&gt;</description></item><item><title>Re: Sign Infopath 2007 Form Data with .NET Framework 2.0</title><link>https://www.infopathdev.com:443/forums/thread/28397.aspx</link><pubDate>Tue, 29 Apr 2008 20:32:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:28397</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/28397.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=28397</wfw:commentRss><description>&lt;p&gt;Maybe the issue is with the signing certificate itself? Have you tried using the InfoPath editor UI to sign a test form (rather than do it via code)? It might help identify an issue with the certificate.&lt;/p&gt;</description></item><item><title>Sign Infopath 2007 Form Data with .NET Framework 2.0</title><link>https://www.infopathdev.com:443/forums/thread/28280.aspx</link><pubDate>Fri, 25 Apr 2008 11:11:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:28280</guid><dc:creator>melanie.gratzl</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/28280.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=28280</wfw:commentRss><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;&amp;nbsp; I&amp;#39;m trying to sign a Infopath 2007 form with a specific certificate. So&amp;nbsp;I&amp;nbsp;use the Digital Signature Wizard just to select the parts of the document to be signed (currently whole document) and then try to sign the form according to the Signature template&amp;nbsp;I captured from Infopath&amp;nbsp;by .NET managed code.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;I obtain the signature template using the e.SignedDataBlock.Signatures.CreateSignature() Method in the Sign Event of Infopath. And then use this template to sign the form with the sample code found in &amp;quot;Adding Digital Signatures to Form Data in InfoPath 2003 Using MSXML 5.0 or .NET Framework Managed Code&amp;quot; at &lt;a href="http://msdn2.microsoft.com/en-us/library/bb608325(office.11).aspx"&gt;http://msdn2.microsoft.com/en-us/library/bb608325(office.11).aspx&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Now I&amp;#39;ve the problem, that the document signed, can&amp;#39;t be verified via Infopath. When I open the form in Infopath and verify the signature the Certificate information is set to ??? and the form status is invalid.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Does anybody know, which information is used to verify the document (the Signature is valid when verified with another tool). What might be the problem or which&amp;nbsp;differences&amp;nbsp;can be&amp;nbsp;to the signature processed with Infopath 2007 itself? Are there structural conditions that must be used met&amp;nbsp;(e.g. Infopath inserts the Signature value and KeyInfo in blocks of only 72 symbols in one line)?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thanks for any detail that may help.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Best Regards,&lt;br /&gt;&amp;nbsp; Melanie&lt;/p&gt;</description></item></channel></rss>