Uses of Class
javax.net.ssl.SSLContext
Packages that use SSLContext
Package
Description
Provides a simple high-level Http server API, which can be used to build
embedded HTTP servers.
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 com.sun.net.httpserver
Methods in com.sun.net.httpserver that return SSLContextModifier and TypeMethodDescriptionHttpsConfigurator.getSSLContext()
Returns theSSLContext
for thisHttpsConfigurator
.Constructors in com.sun.net.httpserver with parameters of type SSLContextModifierConstructorDescriptionHttpsConfigurator
(SSLContext context) Creates a Https configuration, with the givenSSLContext
. -
Uses of SSLContext in java.net.http
Methods in java.net.http that return SSLContextModifier and TypeMethodDescriptionabstract SSLContext
HttpClient.sslContext()
Returns this client'sSSLContext
.Methods in java.net.http with parameters of type SSLContextModifier and TypeMethodDescriptionHttpClient.Builder.sslContext
(SSLContext sslContext) Sets anSSLContext
. -
Uses of SSLContext in javax.net.ssl
Methods in javax.net.ssl that return SSLContextModifier 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.Methods in javax.net.ssl with parameters of type SSLContextModifier and TypeMethodDescriptionstatic void
SSLContext.setDefault
(SSLContext context) Sets the default SSL context. -
Uses of SSLContext in javax.rmi.ssl
Constructors in javax.rmi.ssl with parameters of type SSLContextModifierConstructorDescriptionSslRMIServerSocketFactory
(SSLContext context, String[] enabledCipherSuites, String[] enabledProtocols, boolean needClientAuth) Creates a newSslRMIServerSocketFactory
with the specifiedSSLContext
and SSL socket configuration.