Uses of Class
javax.net.ssl.SSLContext
-
Packages that use SSLContext Package Description java.net.http HTTP Client and WebSocket APIsjavax.net.ssl Provides classes for the secure socket package.javax.rmi.ssl Provides implementations ofRMIClientSocketFactory
andRMIServerSocketFactory
over the Secure Sockets Layer (SSL) or Transport Layer Security (TLS) protocols. -
-
Uses of SSLContext in java.net.http
Methods in java.net.http that return SSLContext Modifier and Type Method Description abstract SSLContext
HttpClient. sslContext()
Returns this client'sSSLContext
.Methods in java.net.http with parameters of type SSLContext Modifier and Type Method Description HttpClient.Builder
HttpClient.Builder. sslContext(SSLContext sslContext)
Sets anSSLContext
. -
Uses of SSLContext in javax.net.ssl
Methods in javax.net.ssl that return SSLContext Modifier and Type Method Description static 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 SSLContext Modifier and Type Method Description static 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 SSLContext Constructor Description SslRMIServerSocketFactory(SSLContext context, String[] enabledCipherSuites, String[] enabledProtocols, boolean needClientAuth)
Creates a newSslRMIServerSocketFactory
with the specifiedSSLContext
and SSL socket configuration.
-