Okey,

This (SSLServerSocketChannel) actually looks promising starting point… Appears to be part of larger API/framework called Tammi.

However, I’m not so sure that all points mentioned on this FAQ are really covered.

As summary: Making NIO to work with SSL (in server side sockets) is big-pain-in-the-ass.

Some references:
SSLEngine
Using SSL with Non-Blocking IO
Tricks and Tips with NIO part V: SSL and NIO, friend or foe?
Bug ID: 4495742 – Add non-blocking SSL/TLS functionality, usable with any I/O abstraction
Scalable SSL for Java FAQ

Misc:
Tricks and Tips with NIO part III: To Thread or Not to Thread
Concurrent Programming in Java: Creating Threads

/ java

Vastaa

Sähköpostiosoitettasi ei julkaista. Pakolliset kentät on merkitty *

This site uses Akismet to reduce spam. Learn how your comment data is processed.