netty实现SSL/TSL双向加密认证示例

上传者: zhangfls | 上传时间: 2021-09-17 17:17:58 | 文件大小: 39KB | 文件类型: ZIP
一个netty建立的SSL双向加密的服务器和客户端的简单示例。工程是IDEA创建的,直接导入即可,注意需要依赖的pom文件中的包。需要的证书文件示例也在压缩包内。

文件下载

资源详情

[{"title":"( 41 个子文件 39KB ) netty实现SSL/TSL双向加密认证示例","children":[{"title":"证书","children":[{"title":"client","children":[{"title":"client-req.csr <span style='color:#111;'> 619B </span>","children":null,"spread":false},{"title":"client-cert.pem <span style='color:#111;'> 790B </span>","children":null,"spread":false},{"title":"client-key.pem <span style='color:#111;'> 916B </span>","children":null,"spread":false},{"title":"client-key1.pem <span style='color:#111;'> 891B </span>","children":null,"spread":false}],"spread":true},{"title":"server","children":[{"title":"server-req.csr <span style='color:#111;'> 619B </span>","children":null,"spread":false},{"title":"server-key.pem <span style='color:#111;'> 916B </span>","children":null,"spread":false},{"title":"server-cert.pem <span style='color:#111;'> 790B </span>","children":null,"spread":false},{"title":"server-key1.pem <span style='color:#111;'> 887B </span>","children":null,"spread":false}],"spread":true},{"title":"ca","children":[{"title":"ca-cert.srl <span style='color:#111;'> 17B </span>","children":null,"spread":false},{"title":"ca-req.csr <span style='color:#111;'> 619B </span>","children":null,"spread":false},{"title":"ca-key.pem <span style='color:#111;'> 916B </span>","children":null,"spread":false},{"title":"ca-key1.pem <span style='color:#111;'> 887B </span>","children":null,"spread":false},{"title":"ca-cert.pem <span style='color:#111;'> 786B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"SSLTest","children":[{"title":"pom.xml <span style='color:#111;'> 2.08KB </span>","children":null,"spread":false},{"title":"target","children":[{"title":"maven-status","children":[{"title":"maven-compiler-plugin","children":[{"title":"compile","children":[{"title":"default-compile","children":[{"title":"inputFiles.lst <span style='color:#111;'> 494B </span>","children":null,"spread":false},{"title":"createdFiles.lst <span style='color:#111;'> 326B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"testCompile","children":[{"title":"default-testCompile","children":[{"title":"inputFiles.lst <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"classes","children":[{"title":"com","children":[{"title":"allytech","children":[{"title":"ssl","children":[{"title":"client","children":[{"title":"NettyClient.class <span style='color:#111;'> 3.36KB </span>","children":null,"spread":false},{"title":"MyClientHandler.class <span style='color:#111;'> 2.95KB </span>","children":null,"spread":false},{"title":"MyChannelInitializer.class <span style='color:#111;'> 1.76KB </span>","children":null,"spread":false}],"spread":true},{"title":"server","children":[{"title":"MyServerHandler$1.class <span style='color:#111;'> 3.60KB </span>","children":null,"spread":false},{"title":"MyServerHandler.class <span style='color:#111;'> 3.67KB </span>","children":null,"spread":false},{"title":"NettyServer.class <span style='color:#111;'> 3.70KB </span>","children":null,"spread":false},{"title":"MyChannelInitializer.class <span style='color:#111;'> 1.77KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"maven-archiver","children":[{"title":"pom.properties <span style='color:#111;'> 118B </span>","children":null,"spread":false}],"spread":true},{"title":"generated-sources","children":[{"title":"annotations","children":null,"spread":false}],"spread":true},{"title":"archive-tmp","children":null,"spread":false}],"spread":true},{"title":"SSLTest.iml <span style='color:#111;'> 1.13KB </span>","children":null,"spread":false},{"title":"src","children":[{"title":"main","children":[{"title":"resources","children":null,"spread":false},{"title":"java","children":[{"title":"META-INF","children":[{"title":"MANIFEST.MF <span style='color:#111;'> 74B </span>","children":null,"spread":false}],"spread":true},{"title":"com","children":[{"title":"allytech","children":[{"title":"ssl","children":[{"title":"client","children":[{"title":"MyClientHandler.java <span style='color:#111;'> 2.18KB </span>","children":null,"spread":false},{"title":"MyChannelInitializer.java <span style='color:#111;'> 939B </span>","children":null,"spread":false},{"title":"NettyClient.java <span style='color:#111;'> 1.89KB </span>","children":null,"spread":false}],"spread":true},{"title":"server","children":[{"title":"MyChannelInitializer.java <span style='color:#111;'> 1.06KB </span>","children":null,"spread":false},{"title":"MyServerHandler.java <span style='color:#111;'> 5.11KB </span>","children":null,"spread":false},{"title":"NettyServer.java <span style='color:#111;'> 1.96KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":".idea","children":[{"title":"$PRODUCT_WORKSPACE_FILE$ <span style='color:#111;'> 489B </span>","children":null,"spread":false},{"title":"misc.xml <span style='color:#111;'> 455B </span>","children":null,"spread":false},{"title":"modules.xml <span style='color:#111;'> 261B </span>","children":null,"spread":false},{"title":"encodings.xml <span style='color:#111;'> 177B </span>","children":null,"spread":false},{"title":"compiler.xml <span style='color:#111;'> 641B </span>","children":null,"spread":false},{"title":"workspace.xml <span style='color:#111;'> 1.90KB </span>","children":null,"spread":false},{"title":"libraries","children":[{"title":"Maven__org_projectlombok_lombok_1_16_20.xml <span style='color:#111;'> 531B </span>","children":null,"spread":false},{"title":"Maven__io_netty_netty_all_4_1_42_Final.xml <span style='color:#111;'> 551B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明