Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

According to Java API 1.4.2, the principal protections included in SSLSockets that are not provided by the Socket class are:

  • Integrity Protection. SSL protects against modification of messages by an active wiretapper.
  • Authentication. In most modes, SSL provides peer authentication. Servers are usually authenticated, and clients may be authenticated as requested by servers.
  • Confidentiality (Privacy Protection). In most modes, SSL encrypts data being sent between client and server. This protects the confidentiality of data, so that passive wiretappers won't see sensitive data such as financial information or personal information of many kinds.

Noncompliant code example

...