Search EggHeadCafe's Job Board
EggHeadCafe Silverlight WPF ASP.NET VB.NET C# Excel SQL Server SharePoint
search
MicrosoftArticlesForumsFAQs
C# .NET
VB.NET
Visual Studio .NET
ADO.NET
Xml / Xslt
VB 6.0
.NET CF
GDI+
LINQ
Deployment
Security
FoxPro
Silverlight / WPF
Entity Framework
RIA Services

WebArticlesForumsFAQs
JavaScript
ASP
ASP.NET
WCF

DatabasesArticlesForumsFAQs
SQL Server
Access
Oracle
MySQL
Other Databases

OfficeArticlesForumsFAQs
Excel
Word
Powerpoint
Outlook
Publisher
Money

Non-MicrosoftArticlesForumsFAQs
NHibernate
Perl
PHP
Ruby
Java
Linux / Unix
Apple
Open Source

Operating SysArticlesForumsFAQs
Windows 7
Windows Server
Windows Vista
Windows XP
Windows Update
MAC
Linux / UNIX

Server PlatformsArticlesForumsFAQs
BizTalk
Site Server
Exhange Server
IIS

Graphic DesignArticlesForumsFAQs
Macromedia Flash
Adobe PhotoShop
Expression Blend
Expression Design
Expression Web

OtherArticlesForumsFAQs
Lounge
Subversion / CVS
Ask Dr. Dotnetsky
Active Directory
Networking
Uninstall Virus
Job Openings
Product Reviews
Search Engines
Resumes

 

  View Other C# .NET Posts   Ask New Question  Ask New Question With Power Editor

Digital Signature Private Key
Meetu Choudhary posted at Tuesday, May 12, 2009 1:43 AM

I am createing an asp.net web application in which i want to use(i want to use a digital signature certificate which is already issued to the User with my application for every registerd user) a digitalsignature to the user and using that digital signature the user can encrypt and decypt the files and data and mail using combination of private key and public key 

the user will logon using this dsc in the application and using this dsc user can save his data in encypted format in the the   he can ecrpt a file and save on server he can send encrypted email msgs and can decypt the data using same dsc from the database or decypt the file using same dsc

here DSC means Digital Signature Certificate

My Basic Question is How can i Ge the Private Key Of Digital Signature?

Please Help...

Reply    Reply Using Power Editor
  Rank Winnings Points
November 0 $0.00 0
October 0 $0.00 0
RE:
Bill Look provided a rated reply to Meetu Choudhary on Tuesday, May 12, 2009 2:01 AM

Hi

To this you need use the Asymmetric algoritham with Crytography.

To get basic idea about secure your application data  see here

http://msdn.microsoft.com/en-us/library/aa302378.aspx\

to make digital signature with .net public and private key

http://www.codeproject.com/KB/vb/Digital_Signatures.aspx

http://www.c-sharpcorner.com/UploadFile/Gowri%20S%20Paramasivam/Cryptography211242005003308AM/Cryptography2.aspx

tnx
Reply    Reply Using Power Editor
My name is Bill Look, and my profession is software developing since 2006 (having more than 4 years experience) and holding MCTS,MCPD certifications and most of developments are based on MS technologies .Specifically ASP.NET ,Sharepoint and Widows Mobiles. I have worked on ERP systems also.
  Rank Winnings Points
November 7 $39.00 95
October 3 $71.00 241

Thanks for reply but
Meetu Choudhary replied to Bill Look on Tuesday, May 12, 2009 2:26 AM

Thanks for the reply...

but i need not to create the Digital Signature i do have signatures issued by the issuing authority i just need to get the private key of that signature can you please help me with some code samples...


Thanks and Regards,
Meetu Choudhary

Reply    Reply Using Power Editor
  Rank Winnings Points
November 0 $0.00 0
October 0 $0.00 0

Re:Digital Signature Private Key
egg egg replied to Meetu Choudhary on Tuesday, May 12, 2009 6:05 AM

Check this one explaining basic premise public-key cryptography and how it relates to XML Digital Signatures, detail the creation of a key pair, give examples for signing and verifying an XML document, and discuss different implementations to provide reliable application licensing...

http://www.codeproject.com/KB/security/xmldsiglic.aspx

For your exact problem of using Private key you can check here for some inputs...

http://dotnetslackers.com/articles/security/Hashing_MACs_and_Digital_Signatures_in_NET.aspx

http://www.eggheadcafe.com/conversation.aspx?messageid=29236387&threadid=29236365

Reply    Reply Using Power Editor
  Rank Winnings Points
November 9 $17.00 41
October 21 $0.00 11

re
Meetu Choudhary replied to egg egg on Tuesday, May 12, 2009 7:28 AM

I have already gone through these links

let me clarify my problem once again

I am developing a web application in asp.net 3.5 framework with C# and in that application i have a rich textbox or multi line text box which contains data of n length and i want to encrypt and decrypt the data using the digital signatures
please consider that the user using the web application is already having the digital signatures from a Gov. recognized body and my application will not create any Digital Signature it will only use the .pfx file or the installed signature I am able to open the certificate store and it is displaying all the certificates installed on the computer.
now what i need is i want to encrypt the data using the digital signature's public key and decrypt it using the private key of the same digital signature. I may save the public key in the DB for encryption but to decrypt the data we need the digital signature.
please Help me its really very urgent.

 


Thanks and Regards
Meetu Choudhary
Reply    Reply Using Power Editor
  Rank Winnings Points
November 0 $0.00 0
October 0 $0.00 0

check these...
egg egg replied to Meetu Choudhary on Tuesday, May 12, 2009 7:36 AM

this might help you in this regard...

http://www.4guysfromrolla.com/articles/022807-1.aspx

http://www.codeproject.com/KB/cpp/RsaSignatureAppendix.aspx

Reply    Reply Using Power Editor
  Rank Winnings Points
November 9 $17.00 41
October 21 $0.00 11

re
Meetu Choudhary replied to egg egg on Tuesday, May 12, 2009 7:40 AM

Sir  Thanks for your time devotion but

Please Understand i want to use digital signatures issued by 3rd party

here : http://www.codeproject.com/KB/cpp/RsaSignatureAppendix.aspx 

it is encrypting and decrypting the file.

and here

http://www.4guysfromrolla.com/articles/022807-1.aspx

it has used SQL server

Reply    Reply Using Power Editor
  Rank Winnings Points
November 0 $0.00 0
October 0 $0.00 0