SSLSocketUtils
Date: 2016-06-23

org.apache.commons.net.util

## Class SSLSocketUtils

- java.lang.Object
- - org.apache.commons.net.util.SSLSocketUtils

-     public class SSLSocketUtils
      extends java.lang.Object

  General utilities for SSLSocket.
  Since:
    3.4

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static boolean` | `enableEndpointNameVerification(javax.net.ssl.SSLSocket socket)` Enable the HTTPS endpoint identification algorithm on an SSLSocket.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### enableEndpointNameVerification

          public static boolean enableEndpointNameVerification(javax.net.ssl.SSLSocket socket)

      Enable the HTTPS endpoint identification algorithm on an SSLSocket.
      Parameters:
        `socket` - the SSL socket
      Returns:
        `true` on success (this is only supported on Java 1.7+)