Hi,
1. How to use SSL to connect 2 c# console application clients ?
2. Ineroperability with Java :
How to use SSL to connect C# console application client and JAVA console
application client ?
Thanks. 3 5855
Yaron,
The answer to both would be to use Web Services over an HTTPS
connection.
Either that, or use an SSL socket connection with a custom protocol that
is understood by the java console and your app.
.NET 1.1 and before does not have support for SSL sockets. I think
there is something in the Indy project ( http://www.indyproject.org) which
handles this.
I believe that .NET 2.0 has support for SSL. You would create an
SslStream instance which would then wrap another stream that you want to
read/write data from/to.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com
"yaron" <ya***@discussions.microsoft.com> wrote in message
news:46**********************************@microsof t.com... Hi,
1. How to use SSL to connect 2 c# console application clients ?
2. Ineroperability with Java : How to use SSL to connect C# console application client and JAVA console application client ?
Thanks.
Hi Nicholas Paldino,
I am interested in a peer to peer communication using SSL without
WebServices and HTTPS when one peer is written in c# and the other is written
in java.
the java peer use keystore (PKCS#12) and keytool to generate this keystore
file and the ssl algorithem is sunx509.
I need to write the c# peer application.
as you say there is no direct support in C#.NET for SSL, can i do this using
P/Invoke ?
Thanks a lot.
"Nicholas Paldino [.NET/C# MVP]" wrote: Yaron,
The answer to both would be to use Web Services over an HTTPS connection.
Either that, or use an SSL socket connection with a custom protocol that is understood by the java console and your app.
.NET 1.1 and before does not have support for SSL sockets. I think there is something in the Indy project (http://www.indyproject.org) which handles this.
I believe that .NET 2.0 has support for SSL. You would create an SslStream instance which would then wrap another stream that you want to read/write data from/to.
Hope this helps.
-- - Nicholas Paldino [.NET/C# MVP] - mv*@spam.guard.caspershouse.com
"yaron" <ya***@discussions.microsoft.com> wrote in message news:46**********************************@microsof t.com... Hi,
1. How to use SSL to connect 2 c# console application clients ?
2. Ineroperability with Java : How to use SSL to connect C# console application client and JAVA console application client ?
Thanks. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Bill |
last post by:
When vb6 Winsock.RemoteHost is set to "127.0.0.1", c# socket listener cannot hear connect request (my old vb6 winsock listener could hear it...).
Why doesn't this work, and is there a work...
|
by: Kona |
last post by:
Hello,
Is it right to tell that DB2 Connect has the same function that Oracle
Net ?
If I have an ODBC application is it also right to tell that I have 2
possibilities on my client workstation to...
|
by: Zorba.GR |
last post by:
IBM DB2 Connect Enterprise Edition v8.2, other IBM DB2 (32 bit, 64
bit) (MULTiOS, Windows, Linux, Solaris), IBM iSoft Commerce Suite
Server Enterprise v3.2.01, IBM Tivoli Storage Resource Manager...
|
by: Bernard Dhooghe |
last post by:
Environment: DB2 UDB LUW (AIX) 8.2
Database instance: test migration to 64 bit
Clients: 32 bit, embedded sql, db2 clp
When PATH/LIBPATH point to the 32 lib environment
(/usr/opt/db2_08_01/bin...
|
by: Michi Henning |
last post by:
Hi,
I'm using a non-blocking connect to connect to a server.
Works fine -- the server gets and accepts the connection.
However, once the connection is established, I cannot
retrieve either the...
|
by: Emilio |
last post by:
Question about
Shared Sub Connect(server As , message As )
Why is in square brackets?
Is it like
Shared Sub Connect(server() As String, message() As String)
|
by: iwdu15 |
last post by:
hey, i was wondering if 1) anyone could tell me whats wrong with my code, i
did a little fixing to the msdn version fo this, or 2) how to make a simple
program that will connect and listen for...
|
by: DaTurk |
last post by:
I am makeing a Multicast server client setup and was wondering what the
difference is between Socket.Connect, and Socket.Bind.
It may be a stupid question, but I was just curious. Because I...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
| |