By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,190 Members | 1,469 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,190 IT Pros & Developers. It's quick & easy.

Transport Layer Security using C# 2.0

P: n/a
Hi All,
I want to develop an web application using TLS (C# 2.0) to test our
server, which just installed the AT/TLS encryption on test system's
CICS Sockets. I here .NET 2.0 support TLS, but I can not find any
examples to do this. Is there some example out there I can take a
look.

Do I have to install x509 test certificate in my machine.
How do I make my application can get the Handshake with the server
using TLS.

Any help is really appreciate it. Thanks in advance.

Dec 13 '07 #1
Share this Question
Share on Google+
3 Replies


P: n/a
I believe what you want is the SslStream class in the
System.Net.Security namespace. It was introduced in .NET 2.0, so you have
access to it.

Also, there are a number of methods (as well as constructor overloads)
which allow for how you choose to select the x509 certificate to use with
the SSL stream.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

<nt******@yahoo.comwrote in message
news:bd**********************************@t1g2000p ra.googlegroups.com...
Hi All,
I want to develop an web application using TLS (C# 2.0) to test our
server, which just installed the AT/TLS encryption on test system's
CICS Sockets. I here .NET 2.0 support TLS, but I can not find any
examples to do this. Is there some example out there I can take a
look.

Do I have to install x509 test certificate in my machine.
How do I make my application can get the Handshake with the server
using TLS.

Any help is really appreciate it. Thanks in advance.
Dec 13 '07 #2

P: n/a
If you are doing a simple web app, check out the csharphttp sample. It can to
https easily.

http://support.microsoft.com/kb/303436

/steveA

nt******@yahoo.com wrote:
Hi All,
I want to develop an web application using TLS (C# 2.0) to test our
server, which just installed the AT/TLS encryption on test system's
CICS Sockets. I here .NET 2.0 support TLS, but I can not find any
examples to do this. Is there some example out there I can take a
look.

Do I have to install x509 test certificate in my machine.
How do I make my application can get the Handshake with the server
using TLS.

Any help is really appreciate it. Thanks in advance.
Dec 13 '07 #3

P: n/a
On Dec 13, 1:51 pm, "Nicholas Paldino [.NET/C# MVP]"
<m...@spam.guard.caspershouse.comwrote:
I believe what you want is the SslStream class in the
System.Net.Security namespace. It was introduced in .NET 2.0, so you have
access to it.

Also, there are a number of methods (as well as constructor overloads)
which allow for how you choose to select the x509 certificate to use with
the SSL stream.

--
- Nicholas Paldino [.NET/C# MVP]
- m...@spam.guard.caspershouse.com

<ntuye...@yahoo.comwrote in message

news:bd**********************************@t1g2000p ra.googlegroups.com...
Hi All,
I want to develop an web application using TLS (C# 2.0) to test our
server, which just installed the AT/TLS encryption on test system's
CICS Sockets. I here .NET 2.0 support TLS, but I can not find any
examples to do this. Is there some example out there I can take a
look.
Do I have to install x509 test certificate in my machine.
How do I make my application can get the Handshake with the server
using TLS.
Any help is really appreciate it. Thanks in advance.- Hide quoted text -

- Show quoted text -
Thanks for your help. I will look into it, meanwhile do you know are
there example I can take a look.

Again, Thanks for your help.
Dec 13 '07 #4

This discussion thread is closed

Replies have been disabled for this discussion.