How to create a secure pipe?
for my bachelor thesis I want to develop a little application for secure network communication using JXTA . Instead of developing my own protocol for secure communication, I decided that i would be smart to use the JXTA secure pipes. But unfortunately i have no clue how to create such a secure pipe using TLS/SSL.
All the examples in my books ("mastering jxta" and "jxta in a nutshell") are completely outdated. They refer to JXTA 1.0 and I'm using 2.4.1. If I use the source code from these examples, i get an "Pipe is closed"-Exception when I send data to the secure input pipe.
Haven't found any up-to-date examples in the net either. Besides the code from here: http://forums.java.net/jive/thread.jspa?messageID=209645𳋭 (seems which i have the same problem as t0bis). But I don't understand which part in tra's example is needed to create a secure pipe and which parts are important for the other stuff...
The whole PSEMembershipService is still quite a mystery for me. I know how certificates work but the PSEMembershipService without up-to-date documentation is quite difficult to understand.
So I would appreciate it very much if someone could post or has a link to a short code example just about creating a secure input pipe and connecting to it.
greetings thomas :-)
ohh and I'm sorry for potential violation of the english language but second-language speaker ;-)