Uses of Class javax.net.ssl.SSLSocketFactory (Java Platform SE 8 )
Date: 2015-05-24

## Uses of Class
javax.net.ssl.SSLSocketFactory

- Packages that use SSLSocketFactory
  Package | Description
  --- | ---
  javax.naming.ldap | Provides support for LDAPv3 extended operations and controls.
  javax.net.ssl | Provides classes for the secure socket package.

- - ### Uses of SSLSocketFactory in javax.naming.ldap

    Methods in javax.naming.ldap with parameters of type SSLSocketFactory
    Modifier and Type | Method and Description
    --- | ---
    `abstract SSLSession` | StartTlsResponse.`negotiate(SSLSocketFactory factory)` Negotiates a TLS session using an SSL socket factory.

  - ### Uses of SSLSocketFactory in javax.net.ssl

    Methods in javax.net.ssl that return SSLSocketFactory
    Modifier and Type | Method and Description
    --- | ---
    `protected abstract SSLSocketFactory` | SSLContextSpi.`engineGetSocketFactory()` Returns a `SocketFactory` object for this context.
    `static SSLSocketFactory` | HttpsURLConnection.`getDefaultSSLSocketFactory()` Gets the default static `SSLSocketFactory` that is inherited by new instances of this class.
    `SSLSocketFactory` | SSLContext.`getSocketFactory()` Returns a `SocketFactory` object for this context.
    `SSLSocketFactory` | HttpsURLConnection.`getSSLSocketFactory()` Gets the SSL socket factory to be used when creating sockets for secure https URL connections.

    Methods in javax.net.ssl with parameters of type SSLSocketFactory
    Modifier and Type | Method and Description
    --- | ---
    `static void` | HttpsURLConnection.`setDefaultSSLSocketFactory(SSLSocketFactory sf)` Sets the default `SSLSocketFactory` inherited by new instances of this class.
    `void` | HttpsURLConnection.`setSSLSocketFactory(SSLSocketFactory sf)` Sets the `SSLSocketFactory` to be used when this instance creates sockets for secure https URL connections.

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2015, Oracle and/or its affiliates. All rights reserved.