摘要: 1. 首先要初始化ssl context SSLContext context = SSLContext.getDefault(); socket = (SSLSocket) context.getSocketFactory().createSocket(); socket.setHandshake 阅读全文
posted @ 2022-06-08 16:18 tomj2ee 阅读(864) 评论(0) 推荐(0) 编辑
摘要: 1. 首先要初始化ssl context SSLContext context = SSLContext.getDefault(); socket = (SSLSocket) context.getSocketFactory().createSocket(); socket.setHandshake 阅读全文
posted @ 2022-06-08 16:12 tomj2ee 阅读(613) 评论(0) 推荐(0) 编辑