Re: HttpWebRequest encryption?
From: Mike Cronin via DotNetMonster.com (forum_at_DotNetMonster.com)
Date: 03/21/05
- Next message: idi_amin: "Re: How many .NET developers worldwide?"
- Previous message: idi_amin: "RE: 1,596 problems in .Net 1.1"
- In reply to: Nick Malik [Microsoft]: "Re: HttpWebRequest encryption?"
- Next in thread: Nick Malik [Microsoft]: "Re: HttpWebRequest encryption?"
- Reply: Nick Malik [Microsoft]: "Re: HttpWebRequest encryption?"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 21 Mar 2005 19:12:15 GMT
If a 128-bit encrypted client sends an HTTPS POST request to a server that
handles 128-bit encryption, does the client need to do anything more than
what follows...
String url = "https://securesite.com?user=xxx&password=yyy";
HttpWebRequest webRequest = (HttpWebRequest)WebRequest.Create(url);
webRequest.set_ContentType("application/x-www-form-urlencoded");
webRequest.set_ContentLength(query.length());
webRequest.set_Method("POST");
StreamWriter sw = new StreamWriter(webRequest.GetRequestStream());
sw.Write(query.ToString());
sw.Close();
Under the circumstances mentioned, will this simple request produce a 128-
bit encrypted POST?
Is there no need to use System.Security.Cryptography.X509Certificates?
I just need to be clear on the level of encryption.
Any assistance is most appreciated!
Mike Cronin
-- Message posted via http://www.dotnetmonster.com
- Next message: idi_amin: "Re: How many .NET developers worldwide?"
- Previous message: idi_amin: "RE: 1,596 problems in .Net 1.1"
- In reply to: Nick Malik [Microsoft]: "Re: HttpWebRequest encryption?"
- Next in thread: Nick Malik [Microsoft]: "Re: HttpWebRequest encryption?"
- Reply: Nick Malik [Microsoft]: "Re: HttpWebRequest encryption?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|