Ideally, I only need a simple SSLSocketChannel.
SSLSocketChannel
I already have a component that reads and writes message over ordinary SocketChannel, but for
SocketChannel
TLS Channel is a simple library that does exactly that: wrapping a SSLContext (or SSLEngine) and exposing a ByteChannel interface, doing the heavy lifting internally.
(Disclaimer: I am the library's main author).