.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan
Santhakumar Munuswamy
Asad Ali
Fauzul Azmi
Post New Web Links

apply digital signature from code

Posted By:      Posted Date: September 27, 2010    Points: 0   Category :SharePoint
 

I have an infopath form that uses digital signatures. The current process for the user is to:

1. click the "click here to sign this section" link.

2. click "select image", and browse to their image

3. click ok.

I've been requested to shorten the above to one click. So, it should sign the section (with their image) without prompting the user with the digital signature dialog.

Any suggestions? Is this even possible? As the capability to digitally sign a doc without the user knowing would seem to violate the idea of digital signatures...

This is for the InfoPath 07 client (which may mean that this is not in the correct forum(?))

Thanks,

Mike




View Complete Post


More Related Resource Links

Digital Signatures: Application Guidelines on Digital Signature Practices for Common Criteria Securi

  

This article is an overview of digital signature practices and user considerations necessary to write applications in compliance with ISO/IEC 15408 Common Criteria security. Signing categories are described, including those that are a potential risk to the implied trust association that goes with a digital signature.

Jack Davis

MSDN Magazine November 2009


SharePoint read/recognize a Digital Signature in Word (XML Content Control Mapping)?

  
I am using Content Control Mapping to pull certain fields from a Word Document and include it as columns when a document is uploaded into a Document Library. We're using MOSS 2007 and Word 2007. It is required that the user digitally signs the document before uploading.  Is there a way to get the signature to appear as a column in a similar fashion?  I'm new to this mapping business, and Google hasn't been much help. I realize I could use the Collect Signatures workflow, but that seems cumbersome to 1) have the user submit it, 2) have an admin open each document and start the workflow and 3) have the user THEN sign the document.  That's more steps than simply manually opening and verifying digital signatures. I figure I'm missing something obvious here.  Any help or ideas would be appreciated.

Digital Signature

  

I have problem to create digital signature. I created console application and it works there but when I want to run it at server there is exception. It looks like I have problem with reference to the file. Any idea please?


// Generate a signing key.
        RSACryptoServiceProvider Key = new RSACryptoServiceProvider();
        // Create a SignedXml object.
        SignedXml signedXml = new SignedXml();

Digital Signature under MOSS

  

I have asp.net page running under MOSS2007 and there is Access Denied error at signing (signedXml.ComputeSignature()). The code works as normal .net web application but it does not work under MOSS. 


Access is denied. 
   at System.Security.Cryptography.CryptographicException.ThrowCryptogaphicException(Int32 hr) 
   at System.Security.Cryptography.Utils._CreateCSP(CspParameters param, Boolean randomKeyContainer, SafeProvHandle& hProv) 
   at System.Security.Cryptography.Utils.CreateProvHandle(CspParameters parameters, Boolean randomKeyContainer) 
   at System.Security.Cryptography.Utils.GetKeyPairHelper(CspAlgorithmType keyType, CspParameters p

Digital Signature - Access Denied

  

I have asp.net page running under MOSS2007 and there is Access Denied error at signing (signedXml.ComputeSignature()). The code works as normal .net web application but it does not work under MOSS. Is there any security setting whitch does not allow MOSS to ready certificate? Thanks

 

Access is denied. 

   at System.Security.Cryptography.CryptographicException.ThrowCryptogaphicException(Int32 hr) 

   at System.Security.Cryptography.Utils._CreateCSP(CspParameters param, Boolean randomKeyContainer, SafeProvHandle& hProv) 

   at System.Security.Cryptography.Utils.CreateProvHandle(CspParameters parameters, Boolean randomKeyContainer) 

   at System.Security.Cryptography.Utils.GetKeyPairHelper(CspAlgorithmType keyType, CspParameters parameters, Boolean randomKeyContainer, Int32 dwKeySize, SafeProvHandle& safeProvHandle, SafeKeyHandle& safeKeyHandle) 

   at System.Security.Cryptography.RSACryptoServiceProvider.GetKeyPair() 

   at System.Security.Cryptography.RSACryptoServiceProvider.get_Publ

Export .rdlc report to PDF with Security Options or Digital Signature

  

Hi!

I have a web app that uses .rdlc reports to create and export documents in PDF format. Everything works nice, but what i would like to do now is add some security options or digital signature to the PDF files.

How can i do this?


Does anyone have a code sample (c#) of how to apply thousand separators to text in a textbox?

  

Hi all


Does anyone have a code sample (c#) of how to apply thousand separators to text in a textbox?


Thanks!

Gord


Infopath browser form - Digital Signature resized in print view

  

Hi,

I have an Infopath browser based form that I have a digital sig on.  When the user signs it (Valid Signature - Signed by) the font size is small and is acceptable for use in the form.  Howvever, when I go to "Print View" it resizes to a larger font.  I do not want this as I am trying to fit the form to one page.  I altered the font in the signing section in the Print View in Infopath to no avail.  Looking at the Manifest file, I cannot locate the code where it determines the font size.  Anyone have any ideas?

Thanks,
Aaron


How to hide a digital signature in Infopath 2010 form

  

In Infopath 2010 I am using digital signature in section.

I am hiding that section but I cannot able hide digital signature.


leena

Code Optimized Web Development Profile (VS 2010 and .NET 4.0 Series)

  
When you first run VS 2010 it prompts you to select an IDE profile to use. The profile you select will configure how tool windows are displayed/docked in the IDE by default and set the default keyboard shortcuts. You can then customize any of these settings by using the Tools->Options menu within the IDE and then override/change them. You can also later reset your profile and pick a different one by choosing the Tools->Import and Export Settings menu command.

Free Code Snippets - ASP.NET

  
You Can Find Useful ASP.NET Related Posts on the above link.

Free Code Snippets - C#

  
Free C# Code Snippets

call JavaScript - jQuery code from ASP.NET Server-Side

  
jQuery got so close to me lately that I can see myself adding the scripts to my project almost unconsciously. The thing is, jQuery is very useful for me, in almost all situations and it has been a do or die enhancement for all my project since I first put my hands on it.

Of course while using it, you encounter few situations which need a bit of research to solve, mostly when you are trying to combine it with some other technologies like: UpdatePanels and ASP.NET Ajax. For instance there are many situations when I would like to run some jQuery magic based on some decision that I make on the server side.

call JavaScript - jQuery code from ASP.NET Server-Side

  
jQuery got so close to me lately that I can see myself adding the scripts to my project almost unconsciously. The thing is, jQuery is very useful for me, in almost all situations and it has been a do or die enhancement for all my project since I first put my hands on it.

Of course while using it, you encounter few situations which need a bit of research to solve, mostly when you are trying to combine it with some other technologies like: UpdatePanels and ASP.NET Ajax. For instance there are many situations when I would like to run some jQuery magic based on some decision that I make on the server side

Microsoft StyleCop: Source Code Analyzer for C#

  
StyleCop is similar in many ways to Microsoft Code Analysis (specifically FxCop), but there are some important distinctions. FxCop performs its analysis on compiled binaries, while StyleCop analyzes the source code directly. For this reason, FxCop focuses more on the design of the code, while StyleCop focuses on layout, readability and documentation. Most of that information is stripped away during the compilation process, and thus cannot be analyzed by FxCop.

Code spelling checker extension for visual studio 2010

  
Building a spelling checker for source code as an extension for visual studio 2010.

C# and XML Source Code Documentation

  
Through many years of enterprise level software development and consulting, I became critically aware of the importance of good source code documentation, and several years ago when I began working with the first release of Visual Studio .NET beta 1 and found C# provided built-in support for inline XML code documentation, I was thrilled.
Categories: 
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend