Package org.apache.commons.net.util

# Class SSLSocketUtils

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

public class SSLSocketUtils extends Object
General utilities for SSLSocket.

Since:
  3.4

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static boolean`
  `enableEndpointNameVerification(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 Details

  - ### enableEndpointNameVerification

    public static boolean enableEndpointNameVerification(SSLSocket socket)
    Enable the HTTPS endpoint identification algorithm on an SSLSocket.
    Parameters:
      `socket` - the SSL socket
    Returns:
      Always returns `true`