Implementing IPSEC Protocol [closed]

2019-09-21 15:07发布

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.

2条回答
对你真心纯属浪费
2楼-- · 2019-09-21 15:26

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.

查看更多
聊天终结者
3楼-- · 2019-09-21 15:26

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

查看更多
登录 后发表回答