Diffie Hellman with authentication

187 views Asked by At

in this link: http://docstore.mik.ua/orelly/java-ent/security/ch13_07.htm I found the implementation of Diffie Hellman exchange, but I don't undersand why it use X509EncodedKeySpec object; Morover, how can I modify the program to avoid the "man in the middle" attack? Thanks.

0

There are 0 answers