Chapter 14. SSL and HTTPS

In this chapter, we will explore how the Java Secure Socket Extension ( JSSE) can be used to perform Secure Sockets Layer (SSL) encryption. SSL provides data encryption over TCP sockets and is the basis of the HTTPS protocol. JSSE provides a means to create and use SSL sockets as well as protocol handlers to support the HTTPS protocol. Because it is tightly coupled with TCP sockets, SSL is not a general-purpose encryption engine, but it is probably the most popular form of encryption used on the Internet. Its design has many advantages for network-based encryption as well.

Get Java Security, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.