Chapter 11. CipherMail
CipherMail
is a
cryptographically enabled email client. It can send and receive
encrypted, authenticated messages over the Internet. Like
SafeTalk, CipherMail uses
classes presented elsewhere in this book.
The
KeyManagerclass, from Chapter 5, is used to keep track of all ofCipherMail’s keys.The ElGamal cipher and signature classes, presented in Chapter 9, are used to encrypt a session key and to provide authentication. You’ll also need the Jonathan cryptographic provider,
oreilly.jonathan.security.Provider.The base64 classes,
BASE64EncoderandBASE64Decoder, are used to create ASCII mail messages from binary data. These classes are presented in Appendix B, Base64, as part of theoreilly.jonathan.utilpackage. Alternately, if you wish, you can use the base64 classes with the same names from thesun.miscpackage, shipped as part of the JDK.
CipherMail uses its own cryptographic message
format in conjunction with standard Internet email transport
protocols. CipherMail’s use of standard
email protocols makes it a tool that is widely useful. This approach,
however, has some shortcomings. Specifically,
CipherMail encrypts only the body of messages, not
their headers. Even if you use CipherMail to encrypt your messages, other people can still find out quite a bit of information simply by examining the messages you send and receive. They’ll know whom you’re writing to, who writes to you, when you send and receive messages, and the subject lines of the messages. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access