摘要: package sslSocket; import javax.crypto.Cipher; import java.io.FileInputStream; import java.security.*; import java.security.cert.Certificate; import j 阅读全文
posted @ 2020-07-24 16:56 Small丶 阅读(612) 评论(0) 推荐(0) 编辑
摘要: #服务端代码 public class SSLServer { public static void main(String[] args) throws Exception { //自己的证书,公钥和私钥,PKCS12是证书密码学标准 KeyStore keyStore=KeyStore.getI 阅读全文
posted @ 2020-07-24 16:52 Small丶 阅读(306) 评论(0) 推荐(0) 编辑
摘要: #一.SSL基础理论知识 ##1.什么是SSL? SSL(Secure Sockets Layer 安全套接字协议),及其继任者传输层安全(Transport Layer Security,TLS)是为网络通信提供安全及数据完整性的一种安全协议。TLS与SSL在传输层与应用层之间对网络连接进行加密。 阅读全文
posted @ 2020-07-24 16:25 Small丶 阅读(791) 评论(0) 推荐(0) 编辑