Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
DotNet
acad.assignment.mngr
academic
adonet
aspnet
aspnet.announcements
aspnet.build.controls
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
clr
compactframework
component_services
datatools
distributed_apps
drawing
faqs
framework
framework.wmi
general
internationalization
interop
languages.csharp
languages.jscript
languages.vb
languages.vb.controls
languages.vb.data
languages.vb.upgrade
languages.vc
languages.vc.libraries
myservices
odbcnet
performance
remoting
scripting
sdk
security
setup
vjsharp
vsa
webservi.enhancements
webservices
windowsforms
windowsforms.controls
winforms.databinding
winforms.designtime
xml
  
 
date: Thu, 07 Feb 2008 14:28:37 -0800,    group: microsoft.public.dotnet.security        back       


Storing RSA Private Key to Smart Card   
Hello,

I have an application that needs to write a private RSA key onto a 
SmartCard.  I am using 128 byte keys.   I noticed that if I export the 
RSAParameters from the RSACryptoServiceProvider and only save the D, I am 
unable to Import it later and use it as a private key.  It is also not 
feasable to write to the smar card all of the members of RSAParameter since 
this would take about 500 bytes and I don't see why it would be needed.  
The options I see are saving the P, Q and Exponent but I don't see any 
functions in RSACryptoServiceProvider that will recalculate the keys using 
these, or save only D and be able to use it.

Any advice on this?   

Thanks,

Jeronimo
date: Thu, 07 Feb 2008 14:28:37 -0800   author:   Jeronimo Bertran am

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us