Exchanging Keys

In the grand scheme of things, how you manage your encryption keys and certificates is just as important as your encryption algorithm. What good is it to have a really powerful encryption algorithm if you don't protect your keys?

When you want to perform encrypted communications between two programs on a network, key management becomes crucial. It's not easy to distribute new keys to potential clients, and no two clients should know each other's keys, so each client must have a separate key. Public keys make key distribution easier because you don't have to hide the public key, but public key encryption is far slower than symmetric private key encryption. It would be nice to have the key management of public key encryption combined ...

Get Special Edition Using Java™ 2 Enterprise Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.