Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / October 2006

Tip: Looking for answers? Try searching our database.

RSA 1024 Bit Decryption with *.Pem Key

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ron - 21 Sep 2006 21:35 GMT
Hi guys,

We have created a key pair (privKey.pem, pubKey.pem) with OpenSSL as our
partner requested (they use this format).  They encrypted a string with our
public key and then base64 encoded the string.

We want to use Visual Studio.net 2003 to base64 decode the string, and then
decrypt the string with the private key (*.pem format).

It seems that VS.Net uses xml keys for this natively.  Is there a way to
work with the OpenSSL *.Pem key files with the RSACryptoProvider?

Any advice/help/guidance would be appreciated.

Thanks,

Ron
Ron - 21 Sep 2006 23:50 GMT
Maybe I should be asking is there a way to extract the modulus and exponent
from an OpenSSL RSA 1024 bit PEM file private key???

> Hi guys,
>
[quoted text clipped - 13 lines]
>
> Ron
Kris Sheglova - 10 Oct 2006 00:16 GMT
Not really answering your question however:
As far as I am aware the .Net framework uses a fixed exponent when
generating keys. I do not know if keys with different exponents can be
imported.

> Maybe I should be asking is there a way to extract the modulus and
> exponent
[quoted text clipped - 19 lines]
>>
>> Ron

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.