| Package | Description | 
|---|---|
| javax.naming.ldap | Provides support for LDAPv3 extended operations and controls. | 
| javax.net.ssl | Provides classes for the secure socket package. | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract SSLSession | StartTlsResponse. negotiate(SSLSocketFactory factory)Negotiates a TLS session using an SSL socket factory. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected abstract SSLSocketFactory | SSLContextSpi. engineGetSocketFactory()Returns a  SocketFactoryobject for this
 context. | 
| static SSLSocketFactory | HttpsURLConnection. getDefaultSSLSocketFactory()Gets the default static  SSLSocketFactorythat is
 inherited by new instances of this class. | 
| SSLSocketFactory | SSLContext. getSocketFactory()Returns a  SocketFactoryobject for this
 context. | 
| SSLSocketFactory | HttpsURLConnection. getSSLSocketFactory()Gets the SSL socket factory to be used when creating sockets
 for secure https URL connections. | 
| Modifier and Type | Method and Description | 
|---|---|
| static void | HttpsURLConnection. setDefaultSSLSocketFactory(SSLSocketFactory sf)Sets the default  SSLSocketFactoryinherited by new
 instances of this class. | 
| void | HttpsURLConnection. setSSLSocketFactory(SSLSocketFactory sf)Sets the  SSLSocketFactoryto 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, 2017, Oracle and/or its affiliates.  All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.