Uses of Class
javax.net.ssl.SSLContext
-
Packages that use SSLContext Package Description javax.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 javax.net.ssl
Methods in javax.net.ssl that return SSLContext Modifier and Type Method and 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, Provider provider)
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.Methods in javax.net.ssl with parameters of type SSLContext Modifier and Type Method and 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 and Description SslRMIServerSocketFactory(SSLContext context, String[] enabledCipherSuites, String[] enabledProtocols, boolean needClientAuth)
Creates a newSslRMIServerSocketFactory
with the specifiedSSLContext
and SSL socket configuration.
-
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, 2022, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.