SSL and SocketChannel

后端 未结 4 1396
猫巷女王i
猫巷女王i 2021-02-02 00:54

Ideally, I only need a simple SSLSocketChannel.

I already have a component that reads and writes message over ordinary SocketChannel, but for

4条回答
  •  南方客
    南方客 (楼主)
    2021-02-02 01:24

    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).

提交回复
热议问题