java.lang.Object
org.miaixz.bus.socket.secure.ssl.SslService
TLS/SSL服务 keytool -genkey -validity 36000 -alias www.miaixz.org -keyalg RSA -keystore server.keystore
- Since:
- Java 17+
- Author:
- Kimi Liu
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddebug(boolean debug) voiddoHandshake(HandshakeModel handshakeModel) 纯异步实现的SSL握手, 在执行doHandshake期间必须保证当前通道无数据读写正在执行。
-
Constructor Details
-
SslService
-
-
Method Details
-
doHandshake
纯异步实现的SSL握手, 在执行doHandshake期间必须保证当前通道无数据读写正在执行。 若触发了数据读写,也应立马终止doHandshake方法- Parameters:
handshakeModel-
-
debug
public void debug(boolean debug)
-