I'm supposed to add asymmetric encryption to an application with Client <-> Server architecture using Java NIO.
I have read somewhere that I should go with SSL but I would have problems adapting the NIO Server to it.
Any thoughts and recommendations about it? Maybe an example? I would highly appreciate some enlightenment.
Cheers
EDIT:
Forgot to mention that the existing communication is between non-blocking client and non-blocking server through only one SocketChannel