Uses of Class
javax.net.ssl.SSLContext
Package
Description
HTTP Client and WebSocket APIs
Provides classes for the secure socket package.
Provides implementations of
RMIClientSocketFactory
and RMIServerSocketFactory
over
the Secure Sockets Layer (SSL) or Transport Layer Security (TLS) protocols.-
Uses of SSLContext in java.net.http
Modifier and TypeMethodDescriptionabstract SSLContext
HttpClient.sslContext()
Returns this client'sSSLContext
.Modifier and TypeMethodDescriptionHttpClient.Builder.sslContext(SSLContext sslContext)
Sets anSSLContext
. -
Uses of SSLContext in javax.net.ssl
Modifier and TypeMethodDescriptionstatic SSLContext
SSLContext.getDefault()
Returns the default SSL context.static SSLContext
SSLContext.getInstance(String protocol)
Returns aSSLContext
object that implements the specified secure socket protocol.static SSLContext
SSLContext.getInstance(String protocol, String provider)
Returns aSSLContext
object that implements the specified secure socket protocol.static SSLContext
SSLContext.getInstance(String protocol, Provider provider)
Returns aSSLContext
object that implements the specified secure socket protocol.Modifier and TypeMethodDescriptionstatic void
SSLContext.setDefault(SSLContext context)
Sets the default SSL context. -
Uses of SSLContext in javax.rmi.ssl
ModifierConstructorDescriptionSslRMIServerSocketFactory(SSLContext context, String[] enabledCipherSuites, String[] enabledProtocols, boolean needClientAuth)
Creates a newSslRMIServerSocketFactory
with the specifiedSSLContext
and SSL socket configuration.