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
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.
|
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, 2024, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.