Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   ASP .Net Security (http://www.velocityreviews.com/forums/f62-asp-net-security.html)
-   -   X509Certificate2 in .NET 1.1 (http://www.velocityreviews.com/forums/t768557-x509certificate2-in-net-1-1-a.html)

pseongho 05-05-2006 08:54 PM

X509Certificate2 in .NET 1.1
 
Is anyone knows how to get a certificate from the file direclty in .NET 1.1?
We found a way to do this in .NET 2.0;

X509Certificate2 cert = new X509Certificate2(certFilename, thePassword,
X509KeyStorageFlags.PersistKeySet);
proxy.ClientCertificates.Clear();
proxy.ClientCertificates.Add(cert);
proxy.CallTheWebService(args);

The new X509Certificate2 constructor accepts the certificate file name,
password and flag and with this, I don't have to install the certificate file
(*.pfx) into the store.

I'm looking for a way to grap PFX file and add to HttpWebConnect object to
make a connection to a server in .NET 1.1 frame work. Now, I only can find a
way to do this with *.cer file not with *.pfx in .Net 1.1. Anyone who can
help?


All times are GMT. The time now is 09:14 AM.

Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57