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 / Security / January 2006

Tip: Looking for answers? Try searching our database.

Extracting Public key

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Rajesh - 26 Jan 2006 08:19 GMT
Hi,

Here is the scenario  -

I have priavte key stored on a Smart Card device on the client end. On the
server end the corresponding certificate is stored in the AD.

How do I retrive the relevant public Key from the certificate stored in AD?
I am able to extract the certificate from AD (get the byte stream) using LDAP.

But I am not sure that how do I extract the public key and encrypt the
message to send to the client. Every time I am creating an instance of
RSACryptoServiceProvider. It gives me new key pair.

I am using .Net Framework 1.1 and C Sharp.

Thanks
Dominick Baier [DevelopMentor] - 26 Jan 2006 08:32 GMT
Hi,

there is no support for RSA with X509 certificates in 1.1

You have to use CAPICOM - the CryptoAPI COM wrapper[0]

2.0 has support for all that.

[0] http://www.microsoft.com/downloads/details.aspx?FamilyID=860EE43A-A843-462F-ABB5
-FF88EA5896F6&displaylang=en


---------------------------------------
Dominick Baier - DevelopMentor
http://www.leastprivilege.com

> Hi,
>
[quoted text clipped - 14 lines]
>
> Thanks

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.