Hello 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.
Hello 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.
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.