Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > C# and C > C# 1.0 > C#
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
C# Programming questions specific to the Microsoft C# language. See also the forum Beginning Visual C# to discuss that specific Wrox book and code.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old April 5th, 2005, 07:18 AM
Registered User
 
Join Date: Mar 2005
Location: Bangalore, Karnataka, India.
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default prob with certificate's public/private key

I've installed certificate with private key on my machine. And tried to encrypt and decrypt a file using public/private key(Asymmetric), its happening.

Now when I exported the certificate with public key and encrypt it on different machine using the exported public key, its happening. But when the same encrypted file when tried to decrypt on my machine using associated public key's private key, its giving an error "Bad Data".

If anybody know how to resolve this issue then please share their knowledge.

What I basically want is..
*) Export the certificate onto some other machine, lets say machine 'B', from machine 'A', only with the public key.
*) Encrypt the file using the public key on machine 'B'
*) Decrypt the file using associated public key's private key on machine 'A'.

Thanks & Regards,
Shiby
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Access modifiers private and public markhh Java Basics 3 February 21st, 2008 04:56 AM
X509 public/private key signing and mmc ZeeKoei General .NET 1 January 23rd, 2008 03:52 AM
Private Key with Associated Certificate bdblhk3 BOOK: Beginning Cryptography with Java 1 October 22nd, 2007 04:32 PM
How to generate public and private keys using RSA mannuvashishta VS.NET 2002/2003 0 March 17th, 2007 10:52 AM
event handlers declared as private or public ACE2084 ASP.NET 1.0 and 1.1 Basics 3 January 24th, 2005 12:28 PM



All times are GMT -4. The time now is 06:25 AM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.