O'Reilly logo

Inside Java™ 2 Platform Security: Architecture, API Design, and Implementation, Second Edition by Mary Dageforde, Gary Ellison, Li Gong

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

11.2. JSSE

In Section 8.5.3, we described the mechanics of authentication supported by JSSE. This section provides API details and explains how to leverage the authentication and use it to provide confidentiality and integrity controls so that data passing between communicating peers is protected from unauthorized disclosure and is resistant to tampering. If the data is tampered with, the integrity controls will indicate that the data has been corrupted. The core JSSE classes are in the javax.net and javax.net.ssl packages.

11.2.1. Establishing an SSL Context

An SSLSocket is created either by an SSLSocketFactory or by an SSLServerSocket accepting an in-bound connection. (In turn, an SSLServerSocket is created by an SSLServerSocketFactory.) ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required