Implementing IPSEC Protocol [closed]

五迷三道 提交于 2019-12-14 03:28:51

问题


I want to implement a IPSEC protocol in java. I want to know how to create our own protocol. And how to embedded this protocol with packet.

Please provide some code example so that it is easy to understand.


回答1:


IPSec is a internet layer protocol, not an application layer protocol. It works by encrypting/securing each network packet and as such runs at the network card level, usually by an OS provided driver which makes its use transparent to any applications.

It is not something you implement in your own code, instead if you wanted application level security you'd look at TLS/SSL or something more specific to your communications protocol.




回答2:


IPSec can not be implemented in JAVA. Java needs VM. We need code which will run directly on machine.



来源:https://stackoverflow.com/questions/3960802/implementing-ipsec-protocol

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!